diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-03-21 18:44:17 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-03-21 19:20:44 +0000 |
commit | dac5e30be39cab021207477d3efd4e934996c751 (patch) | |
tree | e606c5f138d898aa354786ba8796dc8392c440fb | |
parent | 11cfb17f763beada1886c28b57054aedbfebf177 (diff) | |
download | ports-dac5e30be39cab021207477d3efd4e934996c751.tar.gz ports-dac5e30be39cab021207477d3efd4e934996c751.zip |
devel/py-jeepney: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for dependency and package change
-rw-r--r-- | devel/py-jeepney/Makefile | 8 | ||||
-rw-r--r-- | devel/py-jeepney/files/setup.py | 32 |
2 files changed, 4 insertions, 36 deletions
diff --git a/devel/py-jeepney/Makefile b/devel/py-jeepney/Makefile index 3d2cbd256433..b9ccf7a5a851 100644 --- a/devel/py-jeepney/Makefile +++ b/devel/py-jeepney/Makefile @@ -1,5 +1,6 @@ PORTNAME= jeepney PORTVERSION= 0.8.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,12 +12,11 @@ WWW= https://gitlab.com/takluyver/jeepney LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=2<4:devel/py-flit-core@${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 <bsd.port.mk> diff --git a/devel/py-jeepney/files/setup.py b/devel/py-jeepney/files/setup.py deleted file mode 100644 index 28b4a1ec913e..000000000000 --- a/devel/py-jeepney/files/setup.py +++ /dev/null @@ -1,32 +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 = \ -['jeepney', 'jeepney.io', 'jeepney.io.tests', 'jeepney.tests'] - -package_data = \ -{'': ['*']} - -extras_require = \ -{'test': ['pytest', - 'pytest-trio', - 'pytest-asyncio >=0.17', - 'testpath', - 'trio', - 'async-timeout'], - 'trio': ['trio'], - "trio:python_version == '3.6'": ['async_generator']} - -setup(name='jeepney', - version='%%PORTVERSION%%', - description='Low-level, pure Python DBus protocol wrapper.', - author='Thomas Kluyver', - author_email='thomas@kluyver.me.uk', - url='https://gitlab.com/takluyver/jeepney', - packages=packages, - package_data=package_data, - extras_require=extras_require, - python_requires='>=3.7', - ) |