aboutsummaryrefslogtreecommitdiff
path: root/databases/py-asyncmy
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-05 17:15:38 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-05 17:30:10 +0000
commitcf0d93353d5ef4eb8abac622c0fffc75b4d843a1 (patch)
tree20bb2b220d0a7cedbf703009012f588fc336af25 /databases/py-asyncmy
parent994eaf68af4fcc07d0c9a8ac93290eb1acaadb3f (diff)
downloadports-cf0d93353d5ef4eb8abac622c0fffc75b4d843a1.tar.gz
ports-cf0d93353d5ef4eb8abac622c0fffc75b4d843a1.zip
databases/py-asyncmy: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
Diffstat (limited to 'databases/py-asyncmy')
-rw-r--r--databases/py-asyncmy/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/py-asyncmy/Makefile b/databases/py-asyncmy/Makefile
index 9f4646a48df0..67906409b9a7 100644
--- a/databases/py-asyncmy/Makefile
+++ b/databases/py-asyncmy/Makefile
@@ -1,5 +1,6 @@
PORTNAME= asyncmy
PORTVERSION= 0.2.7
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW= https://github.com/long2ice/asyncmy
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR}
+
USES= python:3.7+
-USE_PYTHON= autoplist concurrent cython distutils
+USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +