mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
32 lines
1,013 B
Makefile
32 lines
1,013 B
Makefile
PORTNAME= xmlsec
|
|
DISTVERSION= 1.3.15
|
|
CATEGORIES= security python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Python bindings for XML Security Library
|
|
WWW= https://github.com/mehcode/python-xmlsec/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.8.0:devel/py-lxml@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pkgconfig>=1.5.1:devel/py-pkgconfig@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4:devel/py-setuptools-scm@${PY_FLAVOR} \
|
|
${PY_SETUPTOOLS} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
|
LIB_DEPENDS= libltdl.so:devel/libltdl \
|
|
libxmlsec1-openssl.so:security/xmlsec1
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
|
|
|
|
USES= gnome pkgconfig python
|
|
USE_GNOME= libxml2 libxslt
|
|
USE_PYTHON= autoplist pep517 flavors pytest
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/xmlsec*.so
|
|
|
|
.include <bsd.port.mk>
|