dns/py-dnspython: Refactor
- Remove NOOP python38 related codes
This commit is contained in:
parent
4931fbca7a
commit
44786c25cd
@ -14,8 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.9+
|
||||
USE_PYTHON= autoplist concurrent cython pep517
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent cython pep517 pytest
|
||||
|
||||
BINARY_ALIAS= git=false
|
||||
NO_ARCH= yes
|
||||
@ -40,12 +40,6 @@ DOQ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aioquic>=1.0.0:www/py-aioquic@${PY_FLAVO
|
||||
IDNA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.1:dns/py-idna@${PY_FLAVOR}
|
||||
TRIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}trio>=0.14:net/py-trio@${PY_FLAVOR}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 3900
|
||||
IGNORE= requires Python 3.9 or later
|
||||
.endif
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR}
|
||||
@ -53,4 +47,4 @@ post-install-EXAMPLES-on:
|
||||
do-test:
|
||||
cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} utest.py
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user