Skip to content

Commit

Permalink
databases/py-leveldb: 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 88316fb commit 78b1505
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion databases/py-leveldb/Makefile
@@ -1,5 +1,6 @@
PORTNAME= leveldb
PORTVERSION= 0.201
PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -11,10 +12,12 @@ WWW= https://github.com/rjpower/py-leveldb
LICENSE= BSD3CLAUSE
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= libleveldb.so:databases/leveldb

USES= compiler:c11 localbase python
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517

post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/setup.py
Expand Down

0 comments on commit 78b1505

Please sign in to comment.