diff options
author | rodent <rodent> | 2014-06-14 16:46:52 +0000 |
---|---|---|
committer | rodent <rodent> | 2014-06-14 16:46:52 +0000 |
commit | 8600a16c8bf44b4e5dd4a2bac8fe513e46e2c0b3 (patch) | |
tree | 13d6fc718b3c9a407afe2993bb76f89166814e76 /devel | |
parent | d22e918c6e4137be63ab8feb8cb652960ec5efdd (diff) | |
download | pkgsrc-8600a16c8bf44b4e5dd4a2bac8fe513e46e2c0b3.tar.gz |
Import py27-pbr-0.8.2 as devel/py-pbr.
PBR is a library that injects some useful and sensible default behaviors into
your setuptools run. It started off life as the chunks of code that were copied
between all of the OpenStack projects. Around the time that OpenStack hit 18
different projects each with at least 3 active branches, it seemed like a good
time to make that code into a proper reusable library.
PBR is only mildly configurable. The basic idea is that there's a decent way to
run things and if you do, you should reap the rewards, because then it's simple
and repeatable. If you want to do things differently, cool! But you've already
got the power of Python at your fingertips, so you don't really need PBR.
PBR builds on top of the work that d2to1 started to provide for declarative
configuration. d2to1 is itself an implementation of the ideas behind distutils2.
Although distutils2 is now abandoned in favor of work towards PEP 426 and
Metadata 2.0, declarative config is still a great idea and specifically
important in trying to distribute setup code as a library when that library
itself will alter how the setup is processed. As Metadata 2.0 and other modern
Python packaging PEPs come out, PBR aims to support them as quickly as possible.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-pbr/DESCR | 18 | ||||
-rw-r--r-- | devel/py-pbr/Makefile | 19 | ||||
-rw-r--r-- | devel/py-pbr/PLIST | 105 | ||||
-rw-r--r-- | devel/py-pbr/distinfo | 5 |
4 files changed, 147 insertions, 0 deletions
diff --git a/devel/py-pbr/DESCR b/devel/py-pbr/DESCR new file mode 100644 index 00000000000..1838447c382 --- /dev/null +++ b/devel/py-pbr/DESCR @@ -0,0 +1,18 @@ +PBR is a library that injects some useful and sensible default behaviors into +your setuptools run. It started off life as the chunks of code that were copied +between all of the OpenStack projects. Around the time that OpenStack hit 18 +different projects each with at least 3 active branches, it seemed like a good +time to make that code into a proper reusable library. + +PBR is only mildly configurable. The basic idea is that there's a decent way to +run things and if you do, you should reap the rewards, because then it's simple +and repeatable. If you want to do things differently, cool! But you've already +got the power of Python at your fingertips, so you don't really need PBR. + +PBR builds on top of the work that d2to1 started to provide for declarative +configuration. d2to1 is itself an implementation of the ideas behind distutils2. +Although distutils2 is now abandoned in favor of work towards PEP 426 and +Metadata 2.0, declarative config is still a great idea and specifically +important in trying to distribute setup code as a library when that library +itself will alter how the setup is processed. As Metadata 2.0 and other modern +Python packaging PEPs come out, PBR aims to support them as quickly as possible. diff --git a/devel/py-pbr/Makefile b/devel/py-pbr/Makefile new file mode 100644 index 00000000000..3c905727350 --- /dev/null +++ b/devel/py-pbr/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1 2014/06/14 16:46:52 rodent Exp $ + +DISTNAME= pbr-0.8.2 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= devel python +MASTER_SITES= https://pypi.python.org/packages/source/p/pbr/ + +MAINTAINER= rodent@NetBSD.org +HOMEPAGE= http://pypi.python.org/pypi/pbr +COMMENT= Python Build Reasonableness +LICENSE= apache-2.0 + +DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip + +REPLACE_PYTHON+= pbr/tests/testpackage/setup.py + +.include "../../lang/python/application.mk" +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-pbr/PLIST b/devel/py-pbr/PLIST new file mode 100644 index 00000000000..d925497eff0 --- /dev/null +++ b/devel/py-pbr/PLIST @@ -0,0 +1,105 @@ +@comment $NetBSD: PLIST,v 1.1 2014/06/14 16:46:52 rodent Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/entry_points.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/pbr/__init__.py +${PYSITELIB}/pbr/__init__.pyc +${PYSITELIB}/pbr/__init__.pyo +${PYSITELIB}/pbr/core.py +${PYSITELIB}/pbr/core.pyc +${PYSITELIB}/pbr/core.pyo +${PYSITELIB}/pbr/extra_files.py +${PYSITELIB}/pbr/extra_files.pyc +${PYSITELIB}/pbr/extra_files.pyo +${PYSITELIB}/pbr/find_package.py +${PYSITELIB}/pbr/find_package.pyc +${PYSITELIB}/pbr/find_package.pyo +${PYSITELIB}/pbr/hooks/__init__.py +${PYSITELIB}/pbr/hooks/__init__.pyc +${PYSITELIB}/pbr/hooks/__init__.pyo +${PYSITELIB}/pbr/hooks/backwards.py +${PYSITELIB}/pbr/hooks/backwards.pyc +${PYSITELIB}/pbr/hooks/backwards.pyo +${PYSITELIB}/pbr/hooks/base.py +${PYSITELIB}/pbr/hooks/base.pyc +${PYSITELIB}/pbr/hooks/base.pyo +${PYSITELIB}/pbr/hooks/commands.py +${PYSITELIB}/pbr/hooks/commands.pyc +${PYSITELIB}/pbr/hooks/commands.pyo +${PYSITELIB}/pbr/hooks/files.py +${PYSITELIB}/pbr/hooks/files.pyc +${PYSITELIB}/pbr/hooks/files.pyo +${PYSITELIB}/pbr/hooks/metadata.py +${PYSITELIB}/pbr/hooks/metadata.pyc +${PYSITELIB}/pbr/hooks/metadata.pyo +${PYSITELIB}/pbr/packaging.py +${PYSITELIB}/pbr/packaging.pyc +${PYSITELIB}/pbr/packaging.pyo +${PYSITELIB}/pbr/testr_command.py +${PYSITELIB}/pbr/testr_command.pyc +${PYSITELIB}/pbr/testr_command.pyo +${PYSITELIB}/pbr/tests/__init__.py +${PYSITELIB}/pbr/tests/__init__.pyc +${PYSITELIB}/pbr/tests/__init__.pyo +${PYSITELIB}/pbr/tests/base.py +${PYSITELIB}/pbr/tests/base.pyc +${PYSITELIB}/pbr/tests/base.pyo +${PYSITELIB}/pbr/tests/test_commands.py +${PYSITELIB}/pbr/tests/test_commands.pyc +${PYSITELIB}/pbr/tests/test_commands.pyo +${PYSITELIB}/pbr/tests/test_core.py +${PYSITELIB}/pbr/tests/test_core.pyc +${PYSITELIB}/pbr/tests/test_core.pyo +${PYSITELIB}/pbr/tests/test_files.py +${PYSITELIB}/pbr/tests/test_files.pyc +${PYSITELIB}/pbr/tests/test_files.pyo +${PYSITELIB}/pbr/tests/test_hooks.py +${PYSITELIB}/pbr/tests/test_hooks.pyc +${PYSITELIB}/pbr/tests/test_hooks.pyo +${PYSITELIB}/pbr/tests/test_packaging.py +${PYSITELIB}/pbr/tests/test_packaging.pyc +${PYSITELIB}/pbr/tests/test_packaging.pyo +${PYSITELIB}/pbr/tests/test_setup.py +${PYSITELIB}/pbr/tests/test_setup.pyc +${PYSITELIB}/pbr/tests/test_setup.pyo +${PYSITELIB}/pbr/tests/test_version.py +${PYSITELIB}/pbr/tests/test_version.pyc +${PYSITELIB}/pbr/tests/test_version.pyo +${PYSITELIB}/pbr/tests/testpackage/CHANGES.txt +${PYSITELIB}/pbr/tests/testpackage/LICENSE.txt +${PYSITELIB}/pbr/tests/testpackage/MANIFEST.in +${PYSITELIB}/pbr/tests/testpackage/README.txt +${PYSITELIB}/pbr/tests/testpackage/data_files/a.txt +${PYSITELIB}/pbr/tests/testpackage/data_files/b.txt +${PYSITELIB}/pbr/tests/testpackage/data_files/c.rst +${PYSITELIB}/pbr/tests/testpackage/extra-file.txt +${PYSITELIB}/pbr/tests/testpackage/git-extra-file.txt +${PYSITELIB}/pbr/tests/testpackage/pbr_testpackage/__init__.py +${PYSITELIB}/pbr/tests/testpackage/pbr_testpackage/__init__.pyc +${PYSITELIB}/pbr/tests/testpackage/pbr_testpackage/__init__.pyo +${PYSITELIB}/pbr/tests/testpackage/pbr_testpackage/_setup_hooks.py +${PYSITELIB}/pbr/tests/testpackage/pbr_testpackage/_setup_hooks.pyc +${PYSITELIB}/pbr/tests/testpackage/pbr_testpackage/_setup_hooks.pyo +${PYSITELIB}/pbr/tests/testpackage/pbr_testpackage/cmd.py +${PYSITELIB}/pbr/tests/testpackage/pbr_testpackage/cmd.pyc +${PYSITELIB}/pbr/tests/testpackage/pbr_testpackage/cmd.pyo +${PYSITELIB}/pbr/tests/testpackage/pbr_testpackage/package_data/1.txt +${PYSITELIB}/pbr/tests/testpackage/pbr_testpackage/package_data/2.txt +${PYSITELIB}/pbr/tests/testpackage/setup.cfg +${PYSITELIB}/pbr/tests/testpackage/setup.py +${PYSITELIB}/pbr/tests/testpackage/setup.pyc +${PYSITELIB}/pbr/tests/testpackage/setup.pyo +${PYSITELIB}/pbr/tests/testpackage/src/testext.c +${PYSITELIB}/pbr/tests/util.py +${PYSITELIB}/pbr/tests/util.pyc +${PYSITELIB}/pbr/tests/util.pyo +${PYSITELIB}/pbr/util.py +${PYSITELIB}/pbr/util.pyc +${PYSITELIB}/pbr/util.pyo +${PYSITELIB}/pbr/version.py +${PYSITELIB}/pbr/version.pyc +${PYSITELIB}/pbr/version.pyo diff --git a/devel/py-pbr/distinfo b/devel/py-pbr/distinfo new file mode 100644 index 00000000000..3ac2eb0afa0 --- /dev/null +++ b/devel/py-pbr/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/06/14 16:46:52 rodent Exp $ + +SHA1 (pbr-0.8.2.tar.gz) = dbd01780be2f1547292c2a914d098cf6ddf5fa91 +RMD160 (pbr-0.8.2.tar.gz) = 0d99a6fadce30d96e094275ddf3c1d84cdb78614 +Size (pbr-0.8.2.tar.gz) = 77790 bytes |