Skip to content
Snippets Groups Projects
Verified Commit 1ec80ff0 authored by sunpoet's avatar sunpoet
Browse files

devel/py-opencensus-context: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
parent cfc250f6
No related branches found
No related tags found
No related merge requests found
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>
--- 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,
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment