Charlie Li 06a08e69f3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

33 lines
872 B
Makefile

PORTNAME= dnspython
PORTVERSION= 1.16.0
PORTREVISION= 1
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>