freebsd-ports/textproc/py-openstep-plist/Makefile
Charlie Li 9a80a6ee5e
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.

With hat: python
PR: 270510, 270358
2023-07-17 20:53:09 -04:00

27 lines
753 B
Makefile

PORTNAME= openstep-plist
PORTVERSION= 0.3.0
DISTVERSIONSUFFIX= .post1
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
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= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python zip
USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>