aboutsummaryrefslogtreecommitdiff
path: root/sysutils/py-greaseweazle/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/py-greaseweazle/Makefile')
-rw-r--r--sysutils/py-greaseweazle/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/sysutils/py-greaseweazle/Makefile b/sysutils/py-greaseweazle/Makefile
new file mode 100644
index 000000000000..cab85537de15
--- /dev/null
+++ b/sysutils/py-greaseweazle/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= greaseweazle
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.23
+CATEGORIES= sysutils python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= kbowling@FreeBSD.org
+COMMENT= Tools for accessing a floppy drive at the raw flux level
+WWW= https://github.com/keirf/greaseweazle
+
+LICENSE= UNLICENSE
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bitarray>=3:devel/py-bitarray@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}crcmod>0:devel/py-crcmod@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyserial>0:comms/py-pyserial@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
+
+USES= python
+
+USE_GITHUB= yes
+GH_ACCOUNT= keirf
+USE_PYTHON= autoplist concurrent pep517
+
+MAKE_ENV= SETUPTOOLS_SCM_PRETEND_VERSION=${PORTVERSION}
+
+.include <bsd.port.mk>