diff options
author | Alex Brandt <alunduil@gentoo.org> | 2015-01-11 00:19:12 +0000 |
---|---|---|
committer | Alex Brandt <alunduil@gentoo.org> | 2015-01-11 00:19:12 +0000 |
commit | 921078aabfbdd5eb75d67231bae03d3ea2f46259 (patch) | |
tree | 2d7ea9159cabc4da86de8db75b68b33e0a721ad1 /dev-python | |
parent | revbump; conversion -> distutils-r1, rm old (diff) | |
download | gentoo-2-921078aabfbdd5eb75d67231bae03d3ea2f46259.tar.gz gentoo-2-921078aabfbdd5eb75d67231bae03d3ea2f46259.tar.bz2 gentoo-2-921078aabfbdd5eb75d67231bae03d3ea2f46259.zip |
add version 1.2.1
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 11A8217C!)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/oslo-utils/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/oslo-utils/oslo-utils-1.2.1.ebuild | 85 |
2 files changed, 93 insertions, 2 deletions
diff --git a/dev-python/oslo-utils/ChangeLog b/dev-python/oslo-utils/ChangeLog index 3cb3153fcf2d..2ca5ca5d08c8 100644 --- a/dev-python/oslo-utils/ChangeLog +++ b/dev-python/oslo-utils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/oslo-utils -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/oslo-utils/ChangeLog,v 1.2 2014/12/21 20:21:50 alunduil Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/oslo-utils/ChangeLog,v 1.3 2015/01/11 00:19:12 alunduil Exp $ + +*oslo-utils-1.2.1 (11 Jan 2015) + + 11 Jan 2015; Alex Brandt <alunduil@gentoo.org> +oslo-utils-1.2.1.ebuild, + metadata.xml: + add version 1.2.1 *oslo-utils-1.1.0 (21 Dec 2014) diff --git a/dev-python/oslo-utils/oslo-utils-1.2.1.ebuild b/dev-python/oslo-utils/oslo-utils-1.2.1.ebuild new file mode 100644 index 000000000000..9c16e0792903 --- /dev/null +++ b/dev-python/oslo-utils/oslo-utils-1.2.1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/oslo-utils/oslo-utils-1.2.1.ebuild,v 1.1 2015/01/11 00:19:12 alunduil Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} + +DESCRIPTION="Oslo Utility library" +HOMEPAGE="http://launchpad.net/oslo" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +CDEPEND=" + >=dev-python/pbr-0.6[${PYTHON_USEDEP}] + !~dev-python/pbr-0.7[${PYTHON_USEDEP}] + <dev-python/pbr-1.0[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + ${CDEPEND} + test? ( + >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] + <dev-python/hacking-0.10[${PYTHON_USEDEP}] + >=dev-python/hacking-0.9.1[${PYTHON_USEDEP}] + >=dev-python/mock-1.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-1.2.0[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${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}] + ) + doc? ( + >=dev-python/oslo-sphinx-2.2.0[${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}] + ) +" +RDEPEND=" + >=dev-python/Babel-1.3[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-1.0.0[${PYTHON_USEDEP}] + >=dev-python/six-1.7.0[${PYTHON_USEDEP}] +" + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +# Note: Tests fail due to requiring installation. +# +# Installation appears to fail due to the use of namespace packages but root +# cause was never truly established. +# +# Tests fail with: +# ImportError: No module named 'oslo.utils + +RESTRICT="test" + +python_test() { + distutils_install_for_testing + + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}" + + testr init || die "testr init failed under ${EPYTHON}" + testr run || die "testr run failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/build/html/. ) + + distutils-r1_python_install_all +} |