30aa52707e
5.1.2 * Ignore --find-links in requirements file * Do not globally replace path prefix * Change openstack-dev to openstack-discuss
34 lines
1.4 KiB
Makefile
34 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.25 2019/02/21 08:32:41 adam Exp $
|
|
|
|
DISTNAME= pbr-5.1.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pbr/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://docs.openstack.org/developer/pbr/
|
|
COMMENT= Python Build Reasonableness
|
|
LICENSE= apache-2.0
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=4.5:../../devel/py-coverage
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-fixtures>=3.0.0:../../devel/py-fixtures
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-six>=1.10.0:../../lang/py-six
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-testrepository>=0.0.18:../../devel/py-testrepository
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-testresources>=2.0.0:../../devel/py-testresources
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-testscenarios>=0.4:../../devel/py-testscenarios
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-testtools>=2.2.0:../../devel/py-testtools
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv>=14.0.6:../../devel/py-virtualenv
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.32.0:../../devel/py-wheel
|
|
# not packaged: hacking, stestr
|
|
|
|
REPLACE_PYTHON+= pbr/tests/testpackage/setup.py
|
|
|
|
post-install:
|
|
${CHMOD} -R g-w,o-w ${DESTDIR}${PREFIX}/${PYSITELIB}/pbr/tests/testpackage
|
|
cd ${DESTDIR}${PREFIX}/bin && ${MV} pbr pbr-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|