pkgsrc/security/py-yubikey-manager/Makefile
wiz 67e1f1a6bf python: egg.mk: add USE_PKG_RESOURCES flag
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.
2022-01-05 15:40:56 +00:00

36 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2022/01/05 15:41:20 wiz Exp $
.include "../../security/ykman/version.mk"
DISTNAME= yubikey-manager-${VERSION}
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 3
CATEGORIES= security sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=Yubico/}
GITHUB_PROJECT= yubikey-manager
GITHUB_TAG= ${DISTNAME}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://developers.yubico.com/yubikey-manager/
COMMENT= Yubico YubiKey manager library
LICENSE= 2-clause-bsd
DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=0:../../security/py-OpenSSL
DEPENDS+= ${PYPKGPREFIX}-click>=0:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-cryptography>=0:../../security/py-cryptography
DEPENDS+= ${PYPKGPREFIX}-fido2>=0:../../security/py-fido2
DEPENDS+= ${PYPKGPREFIX}-scard>=0:../../devel/py-scard
DEPENDS+= ${PYPKGPREFIX}-six>=0:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-usb>=0:../../devel/py-usb
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-usb
USE_PKG_RESOURCES= yes
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} ykman ykman-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../security/ykpers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"