From nobody Sun Feb 12 18:46:25 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PFGds4DhBz3qYCr; Sun, 12 Feb 2023 18:46:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PFGds2r80z3rTC; Sun, 12 Feb 2023 18:46:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676227585; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0/zbnfeSqpjZiqMEGE9MnAsuP8/RLlI/8J7NDiRHRjU=; b=TtYRJGUHJejmb7E2rDDZ/0/faOTDrQCP5UX7bvh0b+E4XVSGvOmzNiJsFf+tDOihYHgUeN gsyEbq83FbhVFZDNJAwFOkNn1dho6cL+p2gghGRfhnpfW87cJCyU30Pf0b7S8Ygzlwzm+v JI2JOdo7gTJun4lkKHO1aB4GtCUSGhb/SxDlnjatQSsGu7ZudlTcsmL3Xz21i4WbtSTPXN czrBXf+Q86Fdwfrjj3Ex/vKMpN9gU8f83mCmxReKX3y/3yMcVeY7vR6BtOiF9tZZmS1nRU O7k5H6XzzXAXa8c7lL1vXMccGROGne1FkK7ncnpnDifi5fj/TJJE25ef6yKL4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676227585; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0/zbnfeSqpjZiqMEGE9MnAsuP8/RLlI/8J7NDiRHRjU=; b=aUxCQu1XRmloFH+ogSh/DqW31oLdNuQ87uu+93mPKxwc5zj6wFinA/2/T302yGAD3uA/X8 mf+gtjF1+HlJXZdwuRKVaG5o5nrDFFUpDKfv5N5fTUDmFaMSpyUV3aGNQUhHeRtdk93iJs ov0ojiMy3wNZ0xU3jA8OTxH0YPOFi08EO3CD59YGFSewCWr8eFWNlEVmCZwSTtP6BiNixZ PVFhXszJiWKJ5YGloBvLuo7Uru0f0c+65tDqWqMLvekSNGI4Q5y4zgYJMOQX5+ZbVgDzlp 1eFSzY72RT/BVuopVKL5ObdezBOAbh0vh1INT2CiSShgU3UIx22TYSuPwdJ78w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676227585; a=rsa-sha256; cv=none; b=MFRtFRQOq/M5cIzhG0VcI++3gy90z+hqydzml2wVdQAK9livr/7Ft4ohdSjJEkXnemfyNH +JEF1xD6o174CQS38MvaL4JMao0R+27Nn8fQ3jvBsHjS4lVdoZ0Ekv+rizKdgpbuu2pYBH 4H3NngfzSf5IkTOmbhNnUoQ4L0N0k6iWTrYFENrWwTOAcL3w2TKNxHdgAyt3j+NZRXV4NL xZTkUC0TgyD6QZEndZY2U6B8/5ty9skrxMLeme6LBuG1YiqexZp92bNfUOZ6mVcRTTkR1Y rShedvXrIecN/cNTKkVqPXMPkUdO0Xe1KbFBCm2Yvf8Ea2oW5QD5g2M/Hx1klw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PFGds0cL9zpCL; Sun, 12 Feb 2023 18:46:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31CIkP0b097694; Sun, 12 Feb 2023 18:46:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31CIkP5h097693; Sun, 12 Feb 2023 18:46:25 GMT (envelope-from git) Date: Sun, 12 Feb 2023 18:46:25 GMT Message-Id: <202302121846.31CIkP5h097693@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 550a2e575500 - main - devel/py-flit: Convert to USE_PYTHON=pep517 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 550a2e5755008e68ac414cd7ca0e8011a6df914d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=550a2e5755008e68ac414cd7ca0e8011a6df914d commit 550a2e5755008e68ac414cd7ca0e8011a6df914d Author: Po-Chuan Hsieh AuthorDate: 2023-02-12 18:36:49 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-02-12 18:36:49 +0000 devel/py-flit: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-flit/Makefile | 7 +++---- devel/py-flit/files/setup.py | 34 ---------------------------------- 2 files changed, 3 insertions(+), 38 deletions(-) diff --git a/devel/py-flit/Makefile b/devel/py-flit/Makefile index f958083b415a..c8b2b4ff3722 100644 --- a/devel/py-flit/Makefile +++ b/devel/py-flit/Makefile @@ -1,5 +1,6 @@ PORTNAME= flit PORTVERSION= 3.8.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,6 +12,7 @@ WWW= https://github.com/pypa/flit LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=${PORTVERSION}<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0,1:textproc/py-docutils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flit-core>=${PORTVERSION}:devel/py-flit-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ @@ -18,11 +20,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0,1:textproc/py-docutils@${PY_FLAV ${PYTHON_PKGNAMEPREFIX}tomli-w>=0:textproc/py-tomli-w@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -post-patch: - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py - .include diff --git a/devel/py-flit/files/setup.py b/devel/py-flit/files/setup.py deleted file mode 100644 index a9b2761d8aeb..000000000000 --- a/devel/py-flit/files/setup.py +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env python -# setup.py generated by flit for tools that don't yet use PEP 517 - -from distutils.core import setup - -packages = \ -['flit', 'flit.vcs', 'flit.vendorized', 'flit.vendorized.readme'] - -package_data = \ -{'': ['*'], 'flit': ['license_templates/*']} - -install_requires = \ -['flit_core >= %%PORTVERSION%%', 'requests', 'docutils', 'tomli-w'] - -extras_require = \ -{'doc': ['sphinx', 'sphinxcontrib_github_alt', 'pygments-github-lexers'], - 'test': ['testpath', 'responses', 'pytest>=2.7.3', 'pytest-cov', 'tomli']} - -entry_points = \ -{'console_scripts': ['flit = flit:main']} - -setup(name='flit', - version='%%PORTVERSION%%', - description='A simple packaging tool for simple packages.', - author=None, - author_email='Thomas Kluyver ', - url=None, - packages=packages, - package_data=package_data, - install_requires=install_requires, - extras_require=extras_require, - entry_points=entry_points, - python_requires='>=3.6', - )