aboutsummaryrefslogtreecommitdiff
path: root/sysutils/py-qmk/Makefile
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2022-02-16 10:18:16 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2022-02-16 10:18:16 +0000
commit57b9ebfa746f1821b1817ed61a8267457b52cc79 (patch)
treea5528c19c96466222feabff752f63f85a9e910fd /sysutils/py-qmk/Makefile
parent544237f01812247bfabb764d48b64b1aa06ed41e (diff)
downloadports-57b9ebfa746f1821b1817ed61a8267457b52cc79.tar.gz
ports-57b9ebfa746f1821b1817ed61a8267457b52cc79.zip
sysutils/py-qmk: Upgrade to 1.0.0
Differential Revision: https://reviews.freebsd.org/D33655
Diffstat (limited to 'sysutils/py-qmk/Makefile')
-rw-r--r--sysutils/py-qmk/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/py-qmk/Makefile b/sysutils/py-qmk/Makefile
index 5c39dcef8649..42830e82bf61 100644
--- a/sysutils/py-qmk/Makefile
+++ b/sysutils/py-qmk/Makefile
@@ -1,5 +1,5 @@
PORTNAME= qmk
-DISTVERSION= 0.1.1
+DISTVERSION= 1.0.0
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -33,6 +33,10 @@ USES= python shebangfix
USE_PYTHON= autoplist concurrent distutils
SHEBANG_GLOB= *.py
+# Upstream stopped providing a setup.py
+post-patch:
+ @${ECHO_CMD} 'import setuptools; setuptools.setup()' > ${WRKSRC}/setup.py
+
TEST_ENV= PYTHONPATH="${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}"
TEST_TARGET= config
DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${STAGEDIR}${PREFIX}/bin/qmk >/dev/null