freebsd-ports/devel/py-pyasn1-modules/Makefile
Ruslan Makhmatkhanov 0440670714 devel/py-pyasn1-modules: update to 0.3.0
- update to 0.3.0
- switch to pep517
- update homepage link

Original author of pysnmp1 Ilya Etingof has passed away:
https://github.com/etingof/pyasn1-modules/issues/154

and all pysnmp related project were moved community-driven one.

PR:		272561
Reported by:	Alastair Hogge <agh@riseup.net>
2023-07-19 11:55:34 +03:00

39 lines
1.1 KiB
Makefile

PORTNAME= pyasn1-modules
DISTVERSION= 0.3.0
DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rm@FreeBSD.org
COMMENT= Collection of ASN.1 data structures for py-pyasn1
WWW= https://github.com/pyasn1/pyasn1-modules
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1>=0.4.1:devel/py-pyasn1@${PY_FLAVOR}
NO_ARCH= yes
USES= python shebangfix
SHEBANG_FILES= tools/*.py
USE_PYTHON= autoplist concurrent pep517
OPTIONS_DEFINE= DOCS
PORTDOCS= CHANGES.txt README.md
TOOLS= cmcdump.py cmpdump.py crldump.py crmfdump.py ocspclient.py \
ocspreqdump.py ocsprspdump.py pkcs10dump.py pkcs1dump.py \
pkcs7dump.py pkcs8dump.py snmpget.py x509dump-rfc5280.py \
x509dump.py
post-install:
${INSTALL_SCRIPT} ${TOOLS:S|^|${WRKSRC}/tools/|} ${STAGEDIR}${PREFIX}/bin
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>