summaryrefslogtreecommitdiff
path: root/databases/py-cymysql/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-cymysql/Makefile')
-rw-r--r--databases/py-cymysql/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/databases/py-cymysql/Makefile b/databases/py-cymysql/Makefile
new file mode 100644
index 000000000000..70295681169d
--- /dev/null
+++ b/databases/py-cymysql/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= cymysql
+PORTVERSION= 1.0.3
+CATEGORIES= databases python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Python MySQL Driver using Cython
+WWW= https://github.com/nakagami/CyMySQL
+
+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}
+
+USES= python
+USE_PYTHON= autoplist concurrent cython pep517
+
+post-install:
+ ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
+.include <bsd.port.mk>