67e1f1a6bf
This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION.
29 lines
729 B
Makefile
29 lines
729 B
Makefile
# $NetBSD: Makefile,v 1.14 2022/01/05 15:41:20 wiz Exp $
|
|
|
|
DISTNAME= rsa-4.8
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 2
|
|
CATEGORIES= security python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=r/rsa/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/sybrenstuvel/python-rsa
|
|
COMMENT= Pure-Python RSA implementation
|
|
LICENSE= apache-2.0
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-asn1>=0.1.3:../../security/py-asn1
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
.for bin in decrypt encrypt keygen priv2pub sign verify
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} pyrsa-${bin} pyrsa-${bin}-${PYVERSSUFFIX} || ${TRUE}
|
|
.endfor
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|