diff --git a/textproc/Makefile b/textproc/Makefile index ec4a4f99152c..7ca46552b5cf 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1405,6 +1405,7 @@ SUBDIR += py-ocrmypdf SUBDIR += py-openpyxl SUBDIR += py-openstackdocstheme + SUBDIR += py-openstep-plist SUBDIR += py-orange3-text SUBDIR += py-os-api-ref SUBDIR += py-packageurl-python diff --git a/textproc/py-openstep-plist/Makefile b/textproc/py-openstep-plist/Makefile new file mode 100644 index 000000000000..a2f926f91435 --- /dev/null +++ b/textproc/py-openstep-plist/Makefile @@ -0,0 +1,24 @@ +PORTNAME= openstep-plist +PORTVERSION= 0.3.0 +DISTVERSIONSUFFIX= .post1 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= openstep_plist-${DISTVERSIONFULL} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= ASCII plist parser written in Cython +WWW= https://github.com/fonttools/openstep-plist + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} + +USES= python:3.7+ zip +USE_PYTHON= autoplist concurrent cython distutils + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +.include diff --git a/textproc/py-openstep-plist/distinfo b/textproc/py-openstep-plist/distinfo new file mode 100644 index 000000000000..090945b13601 --- /dev/null +++ b/textproc/py-openstep-plist/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1669057515 +SHA256 (openstep_plist-0.3.0.post1.zip) = 18aff3d5eded9ebfbedfeba444a3c048324697bf8a39bb04361c0dd53bfeab0b +SIZE (openstep_plist-0.3.0.post1.zip) = 215537 diff --git a/textproc/py-openstep-plist/pkg-descr b/textproc/py-openstep-plist/pkg-descr new file mode 100644 index 000000000000..cdb3e77ef687 --- /dev/null +++ b/textproc/py-openstep-plist/pkg-descr @@ -0,0 +1,2 @@ +A parser for the "old style" OpenStep property list format (also known as ASCII +plist), written in Cython. Largely based on the CoreFoundation implementation.