freebsd-ports/dns/py-dnspython1/Makefile
Dmitry Marakasov 77d68471ad */*: rename CHEESESHOP to PYPI in MASTER_SITES
PR:			267994
Differential revision:	D37518
Approved by:		bapt
2023-01-11 18:58:34 +03:00

31 lines
856 B
Makefile

PORTNAME= dnspython
PORTVERSION= 1.16.0
CATEGORIES= dns python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 1
MAINTAINER= rm@FreeBSD.org
COMMENT= DNS toolkit for Python - 1.x release
WWW= https://www.dnspython.org/
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:2.7 zip
USE_PYTHON= autoplist concurrent cython distutils
NO_ARCH= yes
PORTEXAMPLES= ddns.py e164.py mx.py name.py reverse.py reverse_name.py xfr.py \
zonediff.py
OPTIONS_DEFINE= EXAMPLES PYCRYPTODOME
PYCRYPTODOME_DESC= Enable pycryptodome (part of dnssec needs it)
PYCRYPTODOME_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>