diff options
Diffstat (limited to 'devel/py-typecode/Makefile')
-rw-r--r-- | devel/py-typecode/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/devel/py-typecode/Makefile b/devel/py-typecode/Makefile new file mode 100644 index 000000000000..7239c3d9b521 --- /dev/null +++ b/devel/py-typecode/Makefile @@ -0,0 +1,27 @@ +PORTNAME= typecode +DISTVERSION= 30.0.2 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= tuukka.pasanen@ilmi.fi +COMMENT= Comprehensive filetype and mimetype detection using libmagic and Pygments. +WWW= https://github.com/nexB/plugincode + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/apache-2.0.LICENSE + +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}commoncode>=30.2.0:devel/py-commoncode@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pdfminer.six>=20200101:textproc/py-pdfminer.six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pygments>=2.19:textproc/py-pygments@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 pytest +PYTEST_BROKEN_TESTS= test_skeleton_codestyle + +NO_ARCH= yes + +.include <bsd.port.mk> |