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

devel/py-amalgamate: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
parent 8d2e3eaa
No related branches found
No related tags found
No related merge requests found
PORTNAME= amalgamate PORTNAME= amalgamate
PORTVERSION= 0.1.3 PORTVERSION= 0.1.3
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= devel python CATEGORIES= devel python
MASTER_SITES= PYPI MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
...@@ -12,12 +12,12 @@ WWW= https://github.com/xonsh/amalgamate ...@@ -12,12 +12,12 @@ WWW= https://github.com/xonsh/amalgamate
LICENSE= BSD3CLAUSE LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python USES= python
USE_PYTHON= autoplist distutils concurrent USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|' ${WRKSRC}/setup.py
.include <bsd.port.mk> .include <bsd.port.mk>
--- setup.py.orig 2022-01-18 11:48:00 UTC --- setup.py.orig 2022-01-18 11:48:00 UTC
+++ setup.py +++ setup.py
@@ -26,7 +26,7 @@ setup_kwargs = { @@ -26,7 +26,6 @@ setup_kwargs = {
], ],
"zip_safe": False, "zip_safe": False,
"scripts": ['amalgamate.py'], "scripts": ['amalgamate.py'],
- "data_files": [("", ['LICENSE', 'README.rst']),], - "data_files": [("", ['LICENSE', 'README.rst']),],
+ "data_files": [("%%DOCSDIR%%", ['LICENSE', 'README.rst']),],
} }
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