2017-07-24 18:35:46 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2017/07/24 16:35:46 adam Exp $
|
2014-06-14 18:46:52 +02:00
|
|
|
|
2017-07-24 18:35:46 +02:00
|
|
|
DISTNAME= pbr-3.1.1
|
2014-06-14 18:46:52 +02:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
|
|
CATEGORIES= devel python
|
2016-06-08 19:49:19 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pbr/}
|
2014-06-14 18:46:52 +02:00
|
|
|
|
|
|
|
MAINTAINER= rodent@NetBSD.org
|
2017-07-24 18:35:46 +02:00
|
|
|
HOMEPAGE= http://docs.openstack.org/developer/pbr/
|
2014-06-14 18:46:52 +02:00
|
|
|
COMMENT= Python Build Reasonableness
|
|
|
|
LICENSE= apache-2.0
|
|
|
|
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
|
|
|
|
|
2017-03-05 15:14:52 +01:00
|
|
|
# TEST_DEPENDS
|
|
|
|
# some of these depend on pbr
|
|
|
|
#BUILD_DEPENDS+= ${PYPKGPREFIX}-virtualenv-[0-9]*:../../devel/py-virtualenv
|
|
|
|
#BUILD_DEPENDS+= ${PYPKGPREFIX}-testresources-[0-9]*:../../devel/py-testresources
|
|
|
|
#BUILD_DEPENDS+= ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios
|
|
|
|
#BUILD_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
|
|
|
|
# unpackages:
|
|
|
|
# testrepository
|
|
|
|
# oslosphinx
|
|
|
|
|
2014-06-14 18:46:52 +02:00
|
|
|
REPLACE_PYTHON+= pbr/tests/testpackage/setup.py
|
|
|
|
|
2015-03-14 22:19:22 +01:00
|
|
|
post-install:
|
2017-07-24 18:35:46 +02:00
|
|
|
cd ${DESTDIR}${PREFIX}/bin && ${MV} pbr pbr${PYVERSSUFFIX} || ${TRUE}
|
2015-03-14 22:19:22 +01:00
|
|
|
|
2014-06-14 18:46:52 +02:00
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|