commit:     721a65c7104d9420d00472dd2f129bddec316ad5
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 18 06:57:43 2015 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sun Oct 18 06:57:43 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=721a65c7

dev-python/oslo-serialization: bumping for liberty

Package-Manager: portage-2.2.20.1

 dev-python/oslo-serialization/Manifest             |  1 +
 .../oslo-serialization-1.9.0.ebuild                | 81 ++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/dev-python/oslo-serialization/Manifest 
b/dev-python/oslo-serialization/Manifest
index a957512..20a8a4e 100644
--- a/dev-python/oslo-serialization/Manifest
+++ b/dev-python/oslo-serialization/Manifest
@@ -2,3 +2,4 @@ DIST oslo.serialization-1.0.0.tar.gz 16242 SHA256 
f9748cfbce1cb2a48942f12cf64a55
 DIST oslo.serialization-1.3.0.tar.gz 22586 SHA256 
6d5b0f8a0bdb59a7818e62c4c85c4f1ea81f634f2add368b553c93a5c4f28e93 SHA512 
47db8850d8f3111e5dd0ef7d506cd629ba36d0996487dfe80256557f505d66accbc83131d6066e323eec85f1b9b22776c4a351372e50ab66e059c89a61f8ad16
 WHIRLPOOL 
b4a9889a66c96da0f43f40cf7647da4ea848ec408192170eefe9f3d8cea435eacd5d5e55e2d4701b961b6819147faed82189f3e90cc3e33b1766b014bdc3aa5b
 DIST oslo.serialization-1.4.0.tar.gz 20631 SHA256 
082dca272f0a941e1cdca1dc02849c5ddac65fa7d19604096be54cd41e7b4317 SHA512 
d6f1428dbceecdad7e0bff8895a8312f00613f17f93b9a9ed66ff4c00e803331b2b19c547ebe3e13eccdd08dce82babd5753c8ede873705bff1cc70cafc1bfd9
 WHIRLPOOL 
5fe72f5e5ee85d828482bcef066ee86950cc69b1b7850c3340d60b18d2cc3b5221f63e5ef449a081f57c4f31c0f15864610847f072e529da6d832be67d3439de
 DIST oslo.serialization-1.5.0.tar.gz 24068 SHA256 
3ca368c96777cb54a656b6429914717d17f05a7bda13ce6065c0930dce0d4f78 SHA512 
5d5f7bce43b5ac3b2c7f12a53fb78340bc0a1eb7454426f43f2e9e45c913425a58e7828cd89bcf7b1b7ba58e1e50fe09097fb9b836872a89eb85676baa40b7a8
 WHIRLPOOL 
68553208d25e0c8f617258ef9c8eafb3d7b331794b26659963c170474435f7456cf4e7fe33134407965cb0f5b490a48655b08a7154bb76988327dbe344cc2c87
+DIST oslo.serialization-1.9.0.tar.gz 19474 SHA256 
2cb1110d083331cd764f514138c770323e005da987614720f5c1e852c2eb0a03 SHA512 
f9b17d4aaee5f2434022d2f8770fc891ccd589881a3ea1b6fc017e13cadfc311ddac5f845bf863cf5cc46792ff2baf3590a0ad817a8a456503d76c4741993298
 WHIRLPOOL 
0d1189d41783eeaf796a25c761bc83f9582d63d9e286715895685048a63cedb4ba773db0d3b0afb613a07847d7ef6c9dc0ae6951e3789b93727fbd1fa2cf006a

diff --git a/dev-python/oslo-serialization/oslo-serialization-1.9.0.ebuild 
b/dev-python/oslo-serialization/oslo-serialization-1.9.0.ebuild
new file mode 100644
index 0000000..2f9665f
--- /dev/null
+++ b/dev-python/oslo-serialization/oslo-serialization-1.9.0.ebuild
@@ -0,0 +1,81 @@
+# 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 python3_4 )
+
+inherit distutils-r1
+
+MY_PN=${PN/-/.}
+
+DESCRIPTION="oslo.serialization library"
+HOMEPAGE="https://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"
+
+# Note: not in tree
+#test? ( <dev-python/hacking-0.8[${PYTHON_USEDEP}] )
+
+CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]
+       <dev-python/pbr-2.0[${PYTHON_USEDEP}]"
+DEPEND="       dev-python/setuptools[${PYTHON_USEDEP}]
+       ${CDEPEND}
+       test? (
+               >=dev-python/mock-1.2[${PYTHON_USEDEP}]
+               >=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}]
+               !~dev-python/netaddr-0.7.16[${PYTHON_USEDEP}]
+               >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
+               >=dev-python/simplejson-2.2.0[${PYTHON_USEDEP}]
+               >=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
+               >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
+       )
+       doc? (
+               >=dev-python/oslo-sphinx-2.5.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/six-1.9.0[${PYTHON_USEDEP}]
+       >=dev-python/msgpack-0.4.0[${PYTHON_USEDEP}]
+       >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
+       >=dev-python/oslo-utils-2.0.0[${PYTHON_USEDEP}]
+       >=dev-python/pytz-2013.6[${PYTHON_USEDEP}]
+"
+
+python_prepare_all() {
+       use doc && esetup.py build_sphinx
+       sed -i 's/python/python2\.7/g' tools/config/generate_sample.sh || die
+       distutils-r1_python_prepare_all
+}
+
+# Note: Tests fail due to requiring installation.
+#
+# Installation appears to fail due ot the use of namespace packages but root
+# cause was never truly established.
+RESTRICT="test"
+
+python_test() {
+       distutils_install_for_testing
+
+       PYTHONPATH="${TEST_DIR}/lib:${PYTHONPATH}"
+
+       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
+}

Reply via email to