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

devel/py-pyicu: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
parent 7895e615
No related branches found
No related tags found
No related merge requests found
PORTNAME= pyicu
PORTVERSION= 2.12
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
......@@ -13,10 +13,12 @@ WWW= https://gitlab.pyicu.org/main/pyicu
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
LIB_DEPENDS= libicudata.so:devel/icu
USES= compiler:c++11-lang pkgconfig python
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
......
--- setup.py.orig 2023-11-01 20:05:58 UTC
+++ setup.py
@@ -250,7 +250,7 @@ if sys.version_info < (2, 4):
return iterable
-setup(name="PyICU",
+setup(name="pyicu",
description='Python extension wrapping the ICU C++ API',
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
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