From nobody Tue Mar 21 19:29:16 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 4Ph1rH1MDdz40hvG; Tue, 21 Mar 2023 19:29:19 +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 4Ph1rF6R96z4SGv; Tue, 21 Mar 2023 19:29:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426957; 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=0859qCoyP7NRMVb2kGI7nY5tu7ZvUvOP/s2K3l3Davw=; b=IRaR35q9h9jjpZogVT80iv0+FX5eEno/O1vgz6gEPMzULuJfMZmf2g/m25h4cNHse9inXM GUWzONyWXbxx3rKYyjHbjklIHZPG/J0NThVB56oK5a8WaOuSlhPhwtUc/EW/+x1w/ogZzT FBsH3Q8BVxYwedLVxruyEhxfadOR6IEMW+Qtk0GubyMmjh2kpW/zj2sUpE+nfFqQqDWmnf hyAjDMZ94ihWk8sTd2mSha101WiBQm+aNzt3a7BpnAdS4xvawn/asNRG2BywX2VTToZv9j 7/K1DEoMu4mAMZsGyU20HeOJ/T47fAcEIYs/q4xIJ3d4JfTbwjFIFdYSeiYpjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426957; 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=0859qCoyP7NRMVb2kGI7nY5tu7ZvUvOP/s2K3l3Davw=; b=DVvYClJuhHmQhtJnRur1Vqu7+zw01454bGtVR1fpgo7a6cwp+sLH1PxpTLBKI0FsMoHhA0 HZ/D6kwAwR+XaAnkcyApfSSCB6XpPlq9Rl4Kcz8E9rSbV+lR6JB6t4exj3j7NrkWdvzUan 0O0Nbpq/wq9HieufNqRJh5gi1vW0P5YIK/K8xchj804ZREFuFqz3QCqMzppdvZEgaNOwWj 5O3eaC+Wxy519/xYxUxR22LsnMuqQS7GynlwzxHvXEce8z4jdKfSgWs5t97MM31MV9ARB7 I9K776dcdUjNm6NtHVcsjVxkhb86CbxPkA/0rg21job6pyDabUI22lj8YwDgOA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679426957; a=rsa-sha256; cv=none; b=Rc37S97/A/hUR05L5XS+E7qTp6JXyt82L1W/sFNOYr6SubZIwgCL2SBV2MNEvwJFGu/PwZ fHMoQnNcsX4KX8hptojs/R2W8cmUaXxid6zNsoxdGaT7swY60DTJjlCEtdw3qsRv2AYsKY kv/HwVOGfMaMEszYSa9Fobp6rdhPBEICuLjJn3Xe3TvEvCkUDBmhGf0f6X5CvTaz7FpbAZ wl9FuAJbwTgxCHIbvDoV0gcIIysEynl1I8ay60ccjiM4UfEEPIH6XYFZ7/Lspnd1VHy95B TRoyez3pHUtXH3ncCJ1LsQODi6OJoDCeIwUkr070/31mjcPNvB6NZou7fK2OLg== 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 4Ph1rF0JWWzPh8; Tue, 21 Mar 2023 19:29:17 +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 32LJTGcO033005; Tue, 21 Mar 2023 19:29:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJTGnh033004; Tue, 21 Mar 2023 19:29:16 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:29:16 GMT Message-Id: <202303211929.32LJTGnh033004@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: b28ce2b070b5 - main - devel/py-unearth: 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: b28ce2b070b5d87efee192c2c7bf641ddcef0d76 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b28ce2b070b5d87efee192c2c7bf641ddcef0d76 commit b28ce2b070b5d87efee192c2c7bf641ddcef0d76 Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:45:45 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:21:07 +0000 devel/py-unearth: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-unearth/Makefile | 7 +++-- devel/py-unearth/files/setup.py | 59 ----------------------------------------- 2 files changed, 3 insertions(+), 63 deletions(-) diff --git a/devel/py-unearth/Makefile b/devel/py-unearth/Makefile index 399cb32cb47c..54c5cf3f7527 100644 --- a/devel/py-unearth/Makefile +++ b/devel/py-unearth/Makefile @@ -1,5 +1,6 @@ PORTNAME= unearth PORTVERSION= 0.7.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,6 +12,7 @@ WWW= https://github.com/frostming/unearth LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-pep517>=0:devel/py-pdm-pep517@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=20:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.25:www/py-requests@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=2.1.2:www/py-flask@${PY_FLAVOR} \ @@ -19,7 +21,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=2.1.2:www/py-flask@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}trustme>=0.9.0:security/py-trustme@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils pytest +USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes @@ -29,7 +31,4 @@ NO_ARCH= yes RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cached-property>=1.5.2:devel/py-cached-property@${PY_FLAVOR} .endif -post-patch: - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py - .include diff --git a/devel/py-unearth/files/setup.py b/devel/py-unearth/files/setup.py deleted file mode 100644 index 0b7bc64588f8..000000000000 --- a/devel/py-unearth/files/setup.py +++ /dev/null @@ -1,59 +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_REQUIRE = [ - 'packaging>=20', - 'requests>=2.25', - 'cached-property>=1.5.2; python_version < "3.8"', -] -EXTRAS_REQUIRE = { - 'keyring': [ - 'keyring', - ], -} -ENTRY_POINTS = { - 'console_scripts': [ - 'unearth = unearth.__main__:cli', - ], -} - -setup_kwargs = { - 'name': 'unearth', - 'version': '%%PORTVERSION%%', - 'description': 'A utility to fetch and download python packages', - 'long_description': long_description, - 'license': 'MIT', - 'author': '', - 'author_email': 'Frost Ming ', - 'maintainer': None, - 'maintainer_email': None, - 'url': '', - 'packages': [ - 'unearth', - 'unearth.vcs', - ], - 'package_dir': {'': 'src'}, - 'package_data': {'': ['*']}, - 'long_description_content_type': 'text/markdown', - 'classifiers': [ - 'Development Status :: 3 - Alpha', - 'Intended Audience :: Developers', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3.11', - ], - 'install_requires': INSTALL_REQUIRE, - 'extras_require': EXTRAS_REQUIRE, - 'python_requires': '>=3.7', - 'entry_points': ENTRY_POINTS, -} - -setup(**setup_kwargs)