Skip to content

Commit

Permalink
devel/py-google-re2: Convert to USE_PYTHON=pep517
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Mar 23, 2024
1 parent b7eb234 commit 52c965a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions devel/py-google-re2/Makefile
@@ -1,5 +1,6 @@
PORTNAME= google-re2
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -11,11 +12,13 @@ WWW= https://github.com/google/re2/tree/main/python
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>=0:devel/py-pybind11@${PY_FLAVOR}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>=0:devel/py-pybind11@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
LIB_DEPENDS= libre2.so:devel/re2

USES= compiler:c++17-lang localbase python
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517

post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
Expand Down

0 comments on commit 52c965a

Please sign in to comment.