d803f24887
5.4.5: * Switch to Ussuri jobs
33 lines
1.4 KiB
Makefile
33 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.29 2020/05/03 18:29:16 adam Exp $
|
|
|
|
DISTNAME= pbr-5.4.5
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pbr/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://docs.openstack.org/pbr/
|
|
COMMENT= Python Build Reasonableness
|
|
LICENSE= apache-2.0
|
|
|
|
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"
|