pkgsrc/security/py-keyring/Makefile

27 lines
815 B
Makefile

# $NetBSD: Makefile,v 1.13 2015/05/24 06:27:00 richard Exp $
DISTNAME= keyring-5.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security
MASTER_SITES= http://pypi.python.org/packages/source/k/keyring/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc.gnome@gmail.com
HOMEPAGE= https://pypi.python.org/pypi/keyring
COMMENT= Store and access your passwords safely
LICENSE= python-software-foundation
BUILD_DEPENDS+= ${PYPKGPREFIX}-hgtools>=5.0:../../devel/py-hgtools
REPLACE_PYTHON+= keyring/cli.py
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
post-extract:
${RUN} ${CHMOD} go-w ${WRKSRC}/keyring.egg-info/*
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/keyring ${DESTDIR}${PREFIX}/bin/keyring-${PYVERSSUFFIX}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"