git: f5b4e30c5ea8 - main - textproc/py-openstep-plist: Add py-openstep-plist 0.3.0.post1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 30 Dec 2022 09:07:56 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f5b4e30c5ea833239a491db0abc0b0977dce9efc

commit f5b4e30c5ea833239a491db0abc0b0977dce9efc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-12-30 08:36:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-12-30 09:04:01 +0000

    textproc/py-openstep-plist: Add py-openstep-plist 0.3.0.post1
    
    A parser for the "old style" OpenStep property list format (also known as ASCII
    plist), written in Cython. Largely based on the CoreFoundation implementation.
---
 textproc/Makefile                    |  1 +
 textproc/py-openstep-plist/Makefile  | 24 ++++++++++++++++++++++++
 textproc/py-openstep-plist/distinfo  |  3 +++
 textproc/py-openstep-plist/pkg-descr |  2 ++
 4 files changed, 30 insertions(+)

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 <bsd.port.mk>
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.