Date: Mon, 8 Apr 2024 20:20:07 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1ec80ff00833 - main - devel/py-opencensus-context: Convert to USE_PYTHON=pep517 Message-ID: <202404082020.438KK7fT023915@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=1ec80ff00833a81136810dd9a712532d69edd5d5 commit 1ec80ff00833a81136810dd9a712532d69edd5d5 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-04-08 20:14:49 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-04-08 20:17:16 +0000 devel/py-opencensus-context: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- devel/py-opencensus-context/Makefile | 10 +++++----- devel/py-opencensus-context/files/patch-setup.py | 11 +++++++++++ 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/devel/py-opencensus-context/Makefile b/devel/py-opencensus-context/Makefile index 9a956d6b0d3a..6487894e27dd 100644 --- a/devel/py-opencensus-context/Makefile +++ b/devel/py-opencensus-context/Makefile @@ -1,5 +1,6 @@ PORTNAME= opencensus-context PORTVERSION= 0.1.3 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,14 +11,13 @@ WWW= https://github.com/census-instrumentation/opencensus-python/tree/master/co LICENSE= APACHE20 -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} USES= dos2unix python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -post-patch: - @${RM} ${WRKSRC}/opencensus/__init__.py - .include <bsd.port.mk> diff --git a/devel/py-opencensus-context/files/patch-setup.py b/devel/py-opencensus-context/files/patch-setup.py new file mode 100644 index 000000000000..086beb4e42a7 --- /dev/null +++ b/devel/py-opencensus-context/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2022-08-03 21:31:16 UTC ++++ setup.py +@@ -54,7 +54,7 @@ setup( + ], + extras_require={}, + license='Apache-2.0', +- packages=find_packages(exclude=('examples', 'tests',)), ++ packages=['opencensus.common.runtime_context'], + namespace_packages=[], + url='https://github.com/census-instrumentation/opencensus-python/tree/master/context/opencensus-context', # noqa: E501 + zip_safe=False,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404082020.438KK7fT023915>