From nobody Tue Mar 21 19:26:34 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 4Ph1n71LQWz40h4l; Tue, 21 Mar 2023 19:26:35 +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 4Ph1n70s4Fz4KCq; Tue, 21 Mar 2023 19:26:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426795; 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=SIvCDJVy3GNpIRN3x69BtChSr2VcHVzPoHGDzH70d90=; b=a67++FaTVYqasrpxE3LuXwh06j7zmLpR1LIQVKZacExTs582VW0nprSgui0lhHBDqW+NjD Nek5k7bgHTXM24Nc4ItBYzotm1XymqyPu5TVsMLBnQSK90uKHKDEJQXZllpfMYejjg6+sR uoHxWwhHNYzRKKC39hoXppxnBX02Vj6XkqL+JnTC0sOmjv2h20Mwx4sUygoX0Bc88oLE+l ebhNjXk9LlXSgKR3KXRyAwLvleGRKH4koYdrWg+CYGWt7C9g9BudzlhdAr2qx+FruIwARu Q7hAhfI2UPP8Uc5ZpA3+4Cvwc6+OVPzwmEY1g7Bip8T6FS4zVjb7yMPPTMTAoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426795; 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=SIvCDJVy3GNpIRN3x69BtChSr2VcHVzPoHGDzH70d90=; b=Aw7wrWumERcg7kmw5zqiHtyq/x8k/xqu0rls0lZNRnbdMR2NoBTlfmy+yCBCPjlb27nyoi NGnBe5/iqNYazG4Aczjr0VwT+rg//38BfByFRCFKm+66/lygLHbpGRac2h/47ya2Ulx/s+ KtnGELZIc7CHFI7uMERixFOkrAQSLg9IxubsN4rgo44WQzRgw0D/DIGuC+hwAYJ7rr6wRF /bMxyokJVhi1q8EaJhGVEBrvGg4HW9K3uC6+dp6+/T++iWaEMLSVVu3HcmpSXexe8QCgS6 BJu/8vcREhN25ZKHACb7vXdsAReFPT7mp0oOBPjYGBQj/aA0deo5MO/5KUHyog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679426795; a=rsa-sha256; cv=none; b=gnq2Q0ATbnlgxFoOiavvppNSvjsgbkn5CEg/hYxV2cjhOgZWAzP4db6IiCiq5e3DVN2pul rgVNov3ElO9ulXmtvi3RbIqzZKqHfAyUqPRnjUtwc7kt5mCW7xBKLH6oLJIqwjNVSeD43S IlxBjfxNWstlgYBYqIzKM+BSKCvzPYCg6vRRJc61SUhiD2zG7K5UXGTsBZ74h5uprfiHZt 3UhQzZJgIrsDnwFsinqhz2Q8cXI8rEM1uaDWigghZ+9QATxy4Of1rWpXOG5+++mBWmmGFj Lad++yK5eZOE6W3ywMRyzj3CZdFVp1rVU74Qj2I9qetISqeqahl3mSUDChoCDA== 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 4Ph1n671CWzPKG; Tue, 21 Mar 2023 19:26:34 +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 32LJQYsx030012; Tue, 21 Mar 2023 19:26:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJQY8Z030011; Tue, 21 Mar 2023 19:26:34 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:26:34 GMT Message-Id: <202303211926.32LJQY8Z030011@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: 58847ae98162 - main - devel/py-pycomplete: 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: 58847ae981628ee8149cf5e372906a03311a9e97 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=58847ae981628ee8149cf5e372906a03311a9e97 commit 58847ae981628ee8149cf5e372906a03311a9e97 Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:42:23 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:20:28 +0000 devel/py-pycomplete: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-pycomplete/Makefile | 9 +++-- devel/py-pycomplete/files/patch-pyproject.toml | 18 ++++++++++ devel/py-pycomplete/files/setup.py | 49 -------------------------- 3 files changed, 22 insertions(+), 54 deletions(-) diff --git a/devel/py-pycomplete/Makefile b/devel/py-pycomplete/Makefile index 12707fdc9335..ef75c18b5945 100644 --- a/devel/py-pycomplete/Makefile +++ b/devel/py-pycomplete/Makefile @@ -1,5 +1,6 @@ PORTNAME= pycomplete PORTVERSION= 0.3.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,13 +12,11 @@ WWW= https://github.com/frostming/pycomplete LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-pep517>=0:devel/py-pdm-pep517@${PY_FLAVOR} + USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -post-patch: - @${RM} ${WRKSRC}/pyproject.toml - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py - .include diff --git a/devel/py-pycomplete/files/patch-pyproject.toml b/devel/py-pycomplete/files/patch-pyproject.toml new file mode 100644 index 000000000000..f770a0ae7e6a --- /dev/null +++ b/devel/py-pycomplete/files/patch-pyproject.toml @@ -0,0 +1,18 @@ +--- pyproject.toml.orig 2020-12-25 01:46:37 UTC ++++ pyproject.toml +@@ -8,15 +8,10 @@ build-backend = "pdm.pep517.api" + authors = [ + {name = "Frost Ming", email = "mianghong@gmail.com"}, + ] +-dynamic = ["version", "classifiers"] + version = "0.3.2" + requires-python = ">=3.6" + license = {text = "BSD-3-Clause"} + dependencies = [] +-dev-dependencies = [ +- "pytest<7.0.0,>=6.1.1", +- "click<8.0.0,>=7.1.2", +-] + name = "pycomplete" + description = "A Python library to generate static completion scripts for your CLI app" + readme = "README.md" diff --git a/devel/py-pycomplete/files/setup.py b/devel/py-pycomplete/files/setup.py deleted file mode 100644 index 16ebe8808b52..000000000000 --- a/devel/py-pycomplete/files/setup.py +++ /dev/null @@ -1,49 +0,0 @@ -# -*- coding: utf-8 -*- -from setuptools import setup - -import codecs - -with codecs.open('README.md', encoding="utf-8") as fp: - long_description = fp.read() -INSTALL_REQUIRES = [ -] -EXTRAS_REQUIRE = { - 'dev': [ - 'pytest<7.0.0,>=6.1.1', - 'click<8.0.0,>=7.1.2', - ], -} -ENTRY_POINTS = { - 'console_scripts': [ - 'pycomplete = pycomplete.__main__:main', - ], -} - -setup_kwargs = { - 'name': 'pycomplete', - 'version': '%%PORTVERSION%%', - 'description': 'A Python library to generate static completion scripts for your CLI app', - 'long_description': long_description, - 'license': 'BSD-3-Clause', - 'author': '', - 'author_email': 'Frost Ming ', - 'maintainer': None, - 'maintainer_email': None, - 'url': '', - 'packages': [ - 'pycomplete', - 'pycomplete.templates', - ], - 'package_data': {'': ['*']}, - 'long_description_content_type': 'text/markdown', - 'keywords': ['cli', 'shell'], - 'classifiers': [ - 'Development Status :: 3 - Alpha', - ], - 'install_requires': INSTALL_REQUIRES, - 'extras_require': EXTRAS_REQUIRE, - 'python_requires': '>=3.6', - 'entry_points': ENTRY_POINTS, -} - -setup(**setup_kwargs)