diff options
Diffstat (limited to 'dev-python/pbr')
-rw-r--r-- | dev-python/pbr/Manifest | 8 | ||||
-rw-r--r-- | dev-python/pbr/metadata.xml | 17 | ||||
-rw-r--r-- | dev-python/pbr/pbr-0.10.8.ebuild | 63 | ||||
-rw-r--r-- | dev-python/pbr/pbr-0.11.0.ebuild | 63 | ||||
-rw-r--r-- | dev-python/pbr/pbr-0.8.2-r1.ebuild | 61 | ||||
-rw-r--r-- | dev-python/pbr/pbr-0.8.2.ebuild | 51 | ||||
-rw-r--r-- | dev-python/pbr/pbr-1.0.1.ebuild | 66 | ||||
-rw-r--r-- | dev-python/pbr/pbr-1.1.1.ebuild | 67 | ||||
-rw-r--r-- | dev-python/pbr/pbr-1.2.0.ebuild | 66 | ||||
-rw-r--r-- | dev-python/pbr/pbr-1.3.0.ebuild | 64 | ||||
-rw-r--r-- | dev-python/pbr/pbr-1.4.0.ebuild | 65 |
11 files changed, 591 insertions, 0 deletions
diff --git a/dev-python/pbr/Manifest b/dev-python/pbr/Manifest new file mode 100644 index 000000000000..0446612fc9c6 --- /dev/null +++ b/dev-python/pbr/Manifest @@ -0,0 +1,8 @@ +DIST pbr-0.10.8.tar.gz 82952 SHA256 a741650c697abe9dd3da00039a57a45a15a6eed017a16f6b7e4c0161fae2b4b2 SHA512 d79455288657ca07e38a64393d54bda8f88b75242b929ea9f88ac809ba88fffa4793eba0459cae368d822164de5a89721c77fadd05ab624db5897f6cf447b1f4 WHIRLPOOL 621f34852dc31cd149422a36fc0416fdc8640f9103439267f9b6f117a80c5dd949fab18287c10c5d5022248812b792f83766b32a62608d42d8b08066c890753e +DIST pbr-0.11.0.tar.gz 94347 SHA256 d7f0d69aef367a764d69a4728afd966025ce9394d6029a924ef838ecdf592f6d SHA512 6ddcbc39b25e57d20108f72334934f5243d397e2b5316ad26bdbdf32ae6e5bed0ad6fcb47d8e92d6c73a9bd369c463a962cae9fce5800096dd819f2ce58a045b WHIRLPOOL 0f239031cd89fde32f92b792c5e8d7b030644cd277cab6492028a75a5b0e2c8610ac2cf908fd644998663b21bb1a188147a1be0727d60726d4ba5c0edc0ddae5 +DIST pbr-0.8.2.tar.gz 77790 SHA256 eef2ace8d65d5902582cbc9ad3b2ecff0e86a6f90ad4837d8b17d568dd9dd20e SHA512 76d7d4c97660d5a6bbe9a33498a93b32528073024520e570739c511c0138ba1af7e35139bf77ca2a94063e5979baccd6252619449d6aed546fd1331be81ab52a WHIRLPOOL d6331fcd6e7d4eb750e3285e92fd21dfdfbb054b880f954156d1e781025a0c0e1c464e0c23cad587799ceba787928af092d34071eb0a5c4595b0e8aa6db52ff0 +DIST pbr-1.0.1.tar.gz 96438 SHA256 fc3d19ab844647388cc13a3df403bda872d2fc16662803d0ebcc1787d3645552 SHA512 4c4d623a558761edb5724ccb55122bf37a57a2ef48c5a2788df0d564d913a0aa59887f12da698d019e2636d70e92f45002520aeb6b7401f4b47d10c4c76b7567 WHIRLPOOL 1c08bad2d47e3805d59464a62365423fdd46a711d3ca860375962af2ba899d8e8165912f28d3c35957554116a466cbb16c57272a24eeba73d8ce0ca417c23837 +DIST pbr-1.1.1.tar.gz 97607 SHA256 3d63cc8e145e5e20624859d6453d783ae1451704483ae23d3315041d65e4d423 SHA512 bf997b85ef1b1f3ff51050ca9314f48ffd3119ba0da3acfe0e97b8498eb4af5137a528a3359527c21bbbcc6425b2eebaff69177c3eecb612a1d137b020bd019c WHIRLPOOL 45c6e4ca421df003a9ec19dca500972395644a55cafa1482c8860a87baf3ffa71ef9c4180f07dfe4db3c8b2ac0ca8171233a7e54245622cd9108f5a975ec1b80 +DIST pbr-1.2.0.tar.gz 99092 SHA256 1543fc3e00261369c160fc8cf700717aad15fbc1f0ea0e8dc4f372cb91a655d0 SHA512 e5adc396596f4b42a8eb569c970a3cf571b119740b9ca221dc57c6f34c088df1dbfca3c704b7dd3b2d6676d48f9eba17ddb535e28ef6ab0572206620b894c5a2 WHIRLPOOL 6baaeecc6dc7c228d76f7a8f42af19cf179540483267ea863323e09654a3faac0cabbea6dc6d83b36e0c4496cd5872f05e1e9b7f5c5a36272fc746f84e2dd504 +DIST pbr-1.3.0.tar.gz 99701 SHA256 1a6f8d514fc11d2571c75c207d932c106f024f199b5f12d25f8ca022b026c59d SHA512 29f661a1d8bed6df5017bb342209e702f19e72c321952a9131d84222162599208bea67922485a87b6f3505e072d62cb13fdfcdd4fbb7c085b3476f6ff5a07df9 WHIRLPOOL 978d943efd2f582b8067a898f102005c749df8addee4ec3d6f4f4c4078e3190263ceba46409281e7bd38ab59ad12f45d3d208cfd6ba58ece72d973161dfd08e9 +DIST pbr-1.4.0.tar.gz 102181 SHA256 f080232fb6b208615b4c1854bf4277bb097d19c9ef89f94f203c1436fe600e92 SHA512 c6ccc8fd6598e089eb80342ce0d76f26dd1242eedb64aa7c0020be43ba74b1591cff52a5eec9d9c9b958315e7902b78bf120bf758aacc28fcec3f07ac5173150 WHIRLPOOL 9cee1204273256588982065c388c06e053253ebd2ae242a89b5f60a8052c1fe58e2136a30c289b8278131e9487a902ce8902e883cbd3b73c34f9fe87de1229c5 diff --git a/dev-python/pbr/metadata.xml b/dev-python/pbr/metadata.xml new file mode 100644 index 000000000000..bbc246e7b750 --- /dev/null +++ b/dev-python/pbr/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>openstack</herd> + <maintainer> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <longdescription lang="en"> + Python Build Reasonableness + PBR is a library that injects some useful and sensible default behaviors into your setuptools run. + </longdescription> + <upstream> + <remote-id type="pypi">pbr</remote-id> + <remote-id type="github">openstack-dev/pbr</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pbr/pbr-0.10.8.ebuild b/dev-python/pbr/pbr-0.10.8.ebuild new file mode 100644 index 000000000000..6b80a8ca5916 --- /dev/null +++ b/dev-python/pbr/pbr-0.10.8.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +inherit distutils-r1 + +DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" +HOMEPAGE="https://github.com/openstack-dev/pbr" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + >=dev-python/coverage-3.6[${PYTHON_USEDEP}] + >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] + >=dev-python/flake8-2.0[${PYTHON_USEDEP}] + >=dev-python/mock-1.0[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] )" +RDEPEND=">dev-python/pip-1.4[${PYTHON_USEDEP}]" + +# Requ'd for testsuite +DISTUTILS_IN_SOURCE_BUILD=1 + +# This normally actually belongs here. +python_prepare_all() { + # This test passes when run within the source and doesn't represent a failure, but rather + # a gentoo sandbox constraint + # Rm tests that rely upon the package being already installed and fail + sed -e s':test_console_script_develop:_&:' \ + -e s':test_console_script_install:_&:' \ + -e s':test_sdist_extra_files:_&:' \ + -e s':test_command_hooks:_&:' \ + -e s':test_sdist_git_extra_files:_&:' \ + -i pbr/tests/test_core.py || die + sed -e s':test_command_hooks:_&:' \ + -e s':test_global_setup_hooks:_&:' \ + -i pbr/tests/test_hooks.py || die + einfo "rogue tests disabled" + + distutils-r1_python_prepare_all +} + +python_test() { + # Note; removed tests pass once package is emerged, + # it's the suite's design that breaks form, not the tests' intended purpose + testr init || die + testr run || die "Testsuite failed under ${EPYTHON}" +} diff --git a/dev-python/pbr/pbr-0.11.0.ebuild b/dev-python/pbr/pbr-0.11.0.ebuild new file mode 100644 index 000000000000..c4e10f6000a2 --- /dev/null +++ b/dev-python/pbr/pbr-0.11.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +inherit distutils-r1 + +DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" +HOMEPAGE="https://github.com/openstack-dev/pbr" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + >=dev-python/coverage-3.6[${PYTHON_USEDEP}] + >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] + >=dev-python/mock-1.0[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] + <dev-python/sphinx-1.3[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] )" +RDEPEND="dev-python/pip[${PYTHON_USEDEP}]" + +# Requ'd for testsuite +DISTUTILS_IN_SOURCE_BUILD=1 + +# This normally actually belongs here. +python_prepare_all() { + # This test passes when run within the source and doesn't represent a failure, but rather + # a gentoo sandbox constraint + # Rm tests that rely upon the package being already installed and fail + sed -e s':test_console_script_develop:_&:' \ + -e s':test_console_script_install:_&:' \ + -e s':test_sdist_extra_files:_&:' \ + -e s':test_command_hooks:_&:' \ + -e s':test_sdist_git_extra_files:_&:' \ + -i pbr/tests/test_core.py || die + sed -e s':test_command_hooks:_&:' \ + -e s':test_global_setup_hooks:_&:' \ + -i pbr/tests/test_hooks.py || die + einfo "rogue tests disabled" + + distutils-r1_python_prepare_all +} + +python_test() { + # Note; removed tests pass once package is emerged, + # it's the suite's design that breaks form, not the tests' intended purpose + testr init || die + testr run || die "Testsuite failed under ${EPYTHON}" +} diff --git a/dev-python/pbr/pbr-0.8.2-r1.ebuild b/dev-python/pbr/pbr-0.8.2-r1.ebuild new file mode 100644 index 000000000000..12f82a9ff37e --- /dev/null +++ b/dev-python/pbr/pbr-0.8.2-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 + +DESCRIPTION="PBR is a library that injects some useful and sensible default +behaviors into your setuptools run." +HOMEPAGE="https://github.com/openstack-dev/pbr" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}] + >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] + >=dev-python/flake8-2.0[${PYTHON_USEDEP}] + >=dev-python/mock-1.0[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] )" +RDEPEND=">dev-python/pip-1.4[${PYTHON_USEDEP}]" + +# Requ'd for testsuite +DISTUTILS_IN_SOURCE_BUILD=1 + +# This normally actually belongs here. +python_prepare_all() { + # This test passes when run within the source and doesn't represent a failure, but rather + # a gentoo sandbox constraint + # Rm tests that rely upon the package being already installed and fail + sed -e s':test_console_script_develop:_&:' \ + -e s':test_console_script_install:_&:' \ + -e s':test_sdist_extra_files:_&:' \ + -e s':test_command_hooks:_&:' \ + -e s':test_sdist_git_extra_files:_&:' \ + -i pbr/tests/test_core.py || die + sed -e s':test_command_hooks:_&:' \ + -e s':test_global_setup_hooks:_&:' \ + -i pbr/tests/test_hooks.py || die + einfo "rogue tests disabled" + + distutils-r1_python_prepare_all +} + +python_test() { + # Note; removed tests pass once package is emerged, + # it's the suite's design that breaks form, not the tests' intended purpose + testr init + testr run || die "Testsuite failed under ${EPYTHON}" +} diff --git a/dev-python/pbr/pbr-0.8.2.ebuild b/dev-python/pbr/pbr-0.8.2.ebuild new file mode 100644 index 000000000000..d6a5f3dc47d6 --- /dev/null +++ b/dev-python/pbr/pbr-0.8.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 + +DESCRIPTION="PBR is a library that injects some useful and sensible default +behaviors into your setuptools run." +HOMEPAGE="https://github.com/openstack-dev/pbr" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="alpha ~amd64 arm hppa ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}] + >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] + >=dev-python/flake8-2.0[${PYTHON_USEDEP}] + >=dev-python/mock-1.0[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] )" +RDEPEND=">dev-python/pip-1.4[${PYTHON_USEDEP}]" + +# Requ'd for testsuite +DISTUTILS_IN_SOURCE_BUILD=1 +# You can do this in about 3 different ways; throw it in a src_test() and prepend it to a +# distutils-r1_src_test or os it a distutils-r1_python_test, but really it makes for a HUGE 'meh' + +# This normally actually belongs here. +python_prepare_all() { + # This test passes when run within the source and doesn't represent a failure, but rather + # a gentoo sandbox constraint + sed -e s':test_console_script_develop:_&:' -i pbr/tests/test_core.py || die + distutils-r1_python_prepare_all +} + +python_test() { + testr init + testr run || die "Testsuite failed under ${EPYTHON}" + flake8 "${PN}"/tests || die "Run over tests folder by flake8 drew error" +} diff --git a/dev-python/pbr/pbr-1.0.1.ebuild b/dev-python/pbr/pbr-1.0.1.ebuild new file mode 100644 index 000000000000..1a554bb0274f --- /dev/null +++ b/dev-python/pbr/pbr-1.0.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +inherit distutils-r1 + +DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" +HOMEPAGE="https://github.com/openstack-dev/pbr" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + >=dev-python/coverage-3.6[${PYTHON_USEDEP}] + >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] + >=dev-python/mock-1.0[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] + <dev-python/sphinx-1.3[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + )" +RDEPEND="dev-python/pip[${PYTHON_USEDEP}]" + +# Requ'd for testsuite +DISTUTILS_IN_SOURCE_BUILD=1 + +# This normally actually belongs here. +python_prepare_all() { + # This test passes when run within the source and doesn't represent a failure, but rather + # a gentoo sandbox constraint + # Rm tests that rely upon the package being already installed and fail + sed -e s':test_console_script_develop:_&:' \ + -e s':test_console_script_install:_&:' \ + -e s':test_sdist_extra_files:_&:' \ + -e s':test_command_hooks:_&:' \ + -e s':test_sdist_git_extra_files:_&:' \ + -i pbr/tests/test_core.py || die + sed -e s':test_command_hooks:_&:' \ + -e s':test_global_setup_hooks:_&:' \ + -i pbr/tests/test_hooks.py || die + einfo "rogue tests disabled" + + distutils-r1_python_prepare_all +} + +python_test() { + # Note; removed tests pass once package is emerged, + # it's the suite's design that breaks form, not the tests' intended purpose + testr init || die + testr run || die "Testsuite failed under ${EPYTHON}" +} diff --git a/dev-python/pbr/pbr-1.1.1.ebuild b/dev-python/pbr/pbr-1.1.1.ebuild new file mode 100644 index 000000000000..f9498baa6b22 --- /dev/null +++ b/dev-python/pbr/pbr-1.1.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +inherit distutils-r1 + +DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" +HOMEPAGE="https://github.com/openstack-dev/pbr" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + >=dev-python/coverage-3.6[${PYTHON_USEDEP}] + >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] + >=dev-python/mock-1.0[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] + <dev-python/sphinx-1.3[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-0.9.36[${PYTHON_USEDEP}] + !~dev-python/testtools-1.2.0[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + )" +RDEPEND="dev-python/pip[${PYTHON_USEDEP}]" + +# Requ'd for testsuite +DISTUTILS_IN_SOURCE_BUILD=1 + +# This normally actually belongs here. +python_prepare_all() { + # This test passes when run within the source and doesn't represent a failure, but rather + # a gentoo sandbox constraint + # Rm tests that rely upon the package being already installed and fail + sed -e s':test_console_script_develop:_&:' \ + -e s':test_console_script_install:_&:' \ + -e s':test_sdist_extra_files:_&:' \ + -e s':test_command_hooks:_&:' \ + -e s':test_sdist_git_extra_files:_&:' \ + -i pbr/tests/test_core.py || die + sed -e s':test_command_hooks:_&:' \ + -e s':test_global_setup_hooks:_&:' \ + -i pbr/tests/test_hooks.py || die + einfo "rogue tests disabled" + + distutils-r1_python_prepare_all +} + +python_test() { + # Note; removed tests pass once package is emerged, + # it's the suite's design that breaks form, not the tests' intended purpose + testr init || die + testr run || die "Testsuite failed under ${EPYTHON}" +} diff --git a/dev-python/pbr/pbr-1.2.0.ebuild b/dev-python/pbr/pbr-1.2.0.ebuild new file mode 100644 index 000000000000..db41123120d1 --- /dev/null +++ b/dev-python/pbr/pbr-1.2.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +inherit distutils-r1 + +DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" +HOMEPAGE="https://github.com/openstack-dev/pbr" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + >=dev-python/coverage-3.6[${PYTHON_USEDEP}] + >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] + >=dev-python/mock-1.0[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] + <dev-python/sphinx-1.3[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + )" +RDEPEND="dev-python/pip[${PYTHON_USEDEP}]" + +# Requ'd for testsuite +DISTUTILS_IN_SOURCE_BUILD=1 + +# This normally actually belongs here. +python_prepare_all() { + # This test passes when run within the source and doesn't represent a failure, but rather + # a gentoo sandbox constraint + # Rm tests that rely upon the package being already installed and fail + sed -e s':test_console_script_develop:_&:' \ + -e s':test_console_script_install:_&:' \ + -e s':test_sdist_extra_files:_&:' \ + -e s':test_command_hooks:_&:' \ + -e s':test_sdist_git_extra_files:_&:' \ + -i pbr/tests/test_core.py || die + sed -e s':test_command_hooks:_&:' \ + -e s':test_global_setup_hooks:_&:' \ + -i pbr/tests/test_hooks.py || die + einfo "rogue tests disabled" + + distutils-r1_python_prepare_all +} + +python_test() { + # Note; removed tests pass once package is emerged, + # it's the suite's design that breaks form, not the tests' intended purpose + testr init || die + testr run || die "Testsuite failed under ${EPYTHON}" +} diff --git a/dev-python/pbr/pbr-1.3.0.ebuild b/dev-python/pbr/pbr-1.3.0.ebuild new file mode 100644 index 000000000000..1c676517645b --- /dev/null +++ b/dev-python/pbr/pbr-1.3.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" +HOMEPAGE="https://github.com/openstack-dev/pbr" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + >=dev-python/coverage-3.6[${PYTHON_USEDEP}] + >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}] + >=dev-python/mock-1.0[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] + <dev-python/sphinx-1.3[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + )" +RDEPEND="dev-python/pip[${PYTHON_USEDEP}]" + +# Requ'd for testsuite +DISTUTILS_IN_SOURCE_BUILD=1 + +# This normally actually belongs here. +python_prepare_all() { + # This test passes when run within the source and doesn't represent a failure, but rather + # a gentoo sandbox constraint + # Rm tests that rely upon the package being already installed and fail + sed -e s':test_console_script_develop:_&:' \ + -e s':test_console_script_install:_&:' \ + -e s':test_sdist_extra_files:_&:' \ + -e s':test_command_hooks:_&:' \ + -e s':test_sdist_git_extra_files:_&:' \ + -i pbr/tests/test_core.py || die + sed -e s':test_command_hooks:_&:' \ + -e s':test_global_setup_hooks:_&:' \ + -i pbr/tests/test_hooks.py || die + einfo "rogue tests disabled" + + distutils-r1_python_prepare_all +} + +python_test() { + # Note; Tests, that have been removed, pass once package is emerged. + esetup.py testr +} diff --git a/dev-python/pbr/pbr-1.4.0.ebuild b/dev-python/pbr/pbr-1.4.0.ebuild new file mode 100644 index 000000000000..0016a6f8418c --- /dev/null +++ b/dev-python/pbr/pbr-1.4.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" +HOMEPAGE="https://github.com/openstack-dev/pbr" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +#KEYWORDS="~amd64 ~hppa ~amd64-linux ~x86-linux" +KEYWORDS="" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + >=dev-python/coverage-3.6[${PYTHON_USEDEP}] + >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}] + >=dev-python/mock-1.2[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] + <dev-python/sphinx-1.3[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + )" +RDEPEND="dev-python/pip[${PYTHON_USEDEP}]" + +# Requ'd for testsuite +DISTUTILS_IN_SOURCE_BUILD=1 + +# This normally actually belongs here. +python_prepare_all() { + # This test passes when run within the source and doesn't represent a failure, but rather + # a gentoo sandbox constraint + # Rm tests that rely upon the package being already installed and fail + sed -e s':test_console_script_develop:_&:' \ + -e s':test_console_script_install:_&:' \ + -e s':test_sdist_extra_files:_&:' \ + -e s':test_command_hooks:_&:' \ + -e s':test_sdist_git_extra_files:_&:' \ + -i pbr/tests/test_core.py || die + sed -e s':test_command_hooks:_&:' \ + -e s':test_global_setup_hooks:_&:' \ + -i pbr/tests/test_hooks.py || die + einfo "rogue tests disabled" + + distutils-r1_python_prepare_all +} + +python_test() { + # Note; Tests, that have been removed, pass once package is emerged. + esetup.py testr +} |