From aa8c6f9a681c0467c81ba96ee25ca8413a8a27b4 Mon Sep 17 00:00:00 2001 From: Matt Thode Date: Thu, 12 Sep 2013 06:07:54 +0000 Subject: [PATCH] updating 1.3.3 to distutils-r1 for openstack Package-Manager: portage-2.1.12.2/cvs/Linux x86_64 Manifest-Sign-Key: 0x2471EB3E40AC5AC3 --- ChangeLog | 6 ++++ Manifest | 21 ++++++++++--- webtest-1.3.3-r1.ebuild | 68 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+), 5 deletions(-) create mode 100644 webtest-1.3.3-r1.ebuild diff --git a/ChangeLog b/ChangeLog index b0bcc5f..f0cfd18 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header$ +*webtest-1.3.3-r1 (12 Sep 2013) + + 12 Sep 2013; Matthew Thode + +webtest-1.3.3-r1.ebuild: + updating 1.3.3 to distutils-r1 for openstack + *webtest-2.0.7-r1 (02 Sep 2013) 02 Sep 2013; Mike Gilbert +webtest-2.0.7-r1.ebuild, diff --git a/Manifest b/Manifest index 1697d37..7423d46 100644 --- a/Manifest +++ b/Manifest @@ -17,6 +17,7 @@ DIST WebTest-2.0.5.zip 79986 SHA256 53006e6a53220ea89ab6cbc491305ed4d325f0e43fb6 DIST WebTest-2.0.6.zip 80395 SHA256 cf74621cf8694fc89b7ac61e1aace02a649080f03ab6e43e256f32ca3a09d452 SHA512 b24fd050aee15b0b3251d646e26b3f87e3c23a056541aaf2b35359c60a917e4e7123a7faf0de54ca9e1a9a9ef36176e0b5fce29abc049d379c2328ee1a57112f WHIRLPOOL 7b0fc6b9ee751c3059c8039d63275f25bd62d35ac36ea3a979d2ae2c94dab15eb165519ced4d4ffbfb6fa4d9cb5502d96f80c6d7b8459fcd1a3bb47fb71fbd82 DIST WebTest-2.0.7.zip 81143 SHA256 f8442df2178ac9e6134a6192c0419d885b1e0ce1f507dda1528bc147841a4b41 SHA512 02f5744d2afe3ed0bf67b0e7c61f3de136acbed4ce0fb90de76bef55ca6647c0938cc4a3899cd701e53301db0874da01d514c7efdc2ac65cc6b36991b86a2d7d WHIRLPOOL d5ed350e5d646b5b777c9d2e4a9eb3b00e48e69dec81c9fb43acdb51ba65cc3bb88b08529c4c57c13eb88843281ad7774a0aafc86b338cd310adc16b235f9e5d EBUILD webtest-1.2.3.ebuild 824 SHA256 d9416debbcaa90713f388e614e1d6cfe2a9db15e34a3ade35e7df2f8acf19f96 SHA512 9c80751a4612f4c84eb3e5edda784b95f35baf19e2e6f5e5a3904d9bfb4d9743d3041f63c07fc10352ff39cdba81579d75984c7d79c3c3f92abf9ac13a9ccea7 WHIRLPOOL 45c33fb9fb41af243acb7360b8ecedc8f676506f33a3edd61a55cf1ae70b7b55bf3bbe3cdf81e1fbb802f4aef6cdcfcd8bf8ff57f33845f756abb8c278c4caf1 +EBUILD webtest-1.3.3-r1.ebuild 1761 SHA256 0fac3213a2c9daf3e56f0ad9382cfac3a47b7422cc8e3c586530dbe298632e67 SHA512 4434059945dc22fa1ed6fc62adc708fe9e277f7305d1f0772f3c7deeee320c9f2baa2bd7db7d8f771c04563e9811c1474a801ec23754c06c5ff3e0176289b236 WHIRLPOOL 2a5ef4e591f540a7eca679ace124d8095fc60ee5f7dd1e81f6e29cb4800d168aedb2417525201efc64314be74643326a34d7117d33d64dcf9c4d842004bcf3cb EBUILD webtest-1.3.3.ebuild 1529 SHA256 e30d619cc1594f2dfe8d4ee1a22c48f31a9b4ce5830ed9a3906526842e4697c5 SHA512 6b41236c36e7637f946515962de39e70b69703e9bbf025245983d2aa75a4cd99f6e1315a4ab0ea73128688833f6ea93447dacaff306c8288d1dee234e6fb4d29 WHIRLPOOL 21929cf6b18a15cc93da29394d89d734e63aece1a6b29f9c245a0cc594a0fb1c8ff8bfaf6e534ff0a1f24da57977d55bbc99e3e869916d64e05ff434eee6c853 EBUILD webtest-1.3.4.ebuild 1476 SHA256 d9198f16d7d35c6fe7a648ecf113b70401cf39e49ca36a258debd76a4d04cd63 SHA512 cc2bc67826f08d0062c0a6cda2b6995eeee6ad0f44643ff1ed35711799dbd636e13aa698ed358bfb1ee574be8289f95174b9c6a2e1cb7bedf9f2ab3df617bbde WHIRLPOOL 9d4c9d00b8fc35fda2586e15be83b92f95a087eabb82bf16c3f0081dae5cbc8c09ef87d83d21ff9f7004b83ac6daafc8a406872fc8506a52b13604201edd92dc EBUILD webtest-1.3.ebuild 1466 SHA256 054aa2d2cd4ffcb3d353135ad23696c476bfe433e5cb2ec83bda3c1fa4b9c635 SHA512 2c0fb6429cddbc93e561ace44989e21de9e83c23fa5fcd1648d96cac185611311bee9e57f357b5d9870b68efc1f619f31cb99ce2c9c73fb03e592e5d3b19c0b0 WHIRLPOOL 5ceca6d12886f38909dbe8e4b8f3bd54d9fac07d738323fe7c95736a605be996cd39137d9e88701b15ea982c161b51671231cc3dc9f96e839df05e98c456557f @@ -30,12 +31,22 @@ EBUILD webtest-2.0.4.ebuild 1462 SHA256 f0d9ffd39fb2fd16054f9b3b2afa46d8538b1770 EBUILD webtest-2.0.5.ebuild 1462 SHA256 8641cc100d7341961fbb47bedfb96e1824d43fbd871054e10da6f3fc8e284e75 SHA512 df3e3e69c37a732613ff8b714f2e882cd7ab71bdf3415bd61a74c218468c6989f0cd8c9d34a05d27ad795cfb057470af342fb4f98c86cbc1351fe703e66785a5 WHIRLPOOL 3c49ff0ac65b2534bdc09387a2335b3133d1a792cac9bcc2a6b8f6c52b300f0011e2895ac93bda4a7414965b153d345b91127eecffe3fac876ce601f7a042c4d EBUILD webtest-2.0.6.ebuild 1462 SHA256 252b186b153b120d18cc0ca2901e2169e5c6f9af036be3944348d4b00403b9d5 SHA512 24a1c57a786a3ea8de862a3fe5ea5176bdea20846ec791b71b0828e65343d975a430422eea01c93e7f0ef50488616bcf206fe8b5aca025e04340d569339e0512 WHIRLPOOL c95bf52d684f8a65df4783e1eacbb660e382d1d1cf4e17e9adb6d506e6d8834f53d7fe74be94403fa4f0231652ef49d5a33415c6e8442b7ff2237c23d739df32 EBUILD webtest-2.0.7-r1.ebuild 1600 SHA256 d7cd999123ceee680f1c9c92379db5508b9b9b1da18d481432c5c8941917b953 SHA512 2f7dbc7860c65629ae84dccd9a859e6cb01b73a4adff5a8f02084833020e2c67951daffb47102990a27a90e20c1898123e6372a65b8559497f1e76326cc54a89 WHIRLPOOL 7346cb2a99e402d87fa885bdce9ac6fae71109f4f8182f08b619759a0970146b01beecd96e40e8e81dd9743f55281200c71a92e8104932b62117a030ac6f48c6 -MISC ChangeLog 8375 SHA256 d8debed29cca87456b56f5afae77d80dc5e8b63e881dbcd04ee7b5df00f48d67 SHA512 84fbf931d5eaa2e62d09ad81e69ca7b1761b8835a649d759d5bd4d85ad4fb72696defa2f6f22e21c9acbe8bbde115dd0ddefe801d4312c400a16fe74633882bd WHIRLPOOL 769dab3a65c3219b2c48f534ccaa2fa8df13a2372132089cddd7e05e931351943aad340c2da0d6ebadb574eeb7f2274a4f9e554cdbd6405cbf96aac769a75274 +MISC ChangeLog 8548 SHA256 63f094c52298e468ce13e01374620d960ab39f6a99391256a806205377f924e5 SHA512 dd46e0c75e44dada677eeade093529d866ccd74dfbf97085352ac80a150455d861c5a36e3f62278421f3e601e296a295e0176c7da60c8a476094f5cc6edf3778 WHIRLPOOL 103a751d0d508d1e5d29be9721d5c4142e8841b354d21872e21ae6073a578bf8abaa550112dd9f49995243b434b723c3b360e677c47e8b20e40d2c76e90a1aa8 MISC metadata.xml 230 SHA256 5b66abf10f340308f2e1a4f3a275e110a2a52842e683bd2a1eb84d387a5ea163 SHA512 d55a5077c6ece4bb2da3d869023175b49a9ff6f20aed4696ede22e729ef823c4d162911ed3fd85fe29973600813624e4d5d5d6d2a9c82395abe0090f76e673dd WHIRLPOOL 726f7c4456a23191c433f978002121826d71729ad750a862a80229b828ebe6d2d2410ad2a87229380608d9880e38c21c441a778963d38c7ad3a646c66f2eed35 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.21 (GNU/Linux) +Version: GnuPG v2.0.20 (GNU/Linux) -iF4EAREIAAYFAlIkuRwACgkQC77qH+pIQ6SWIAEAoF/FiFmf2VZ7jTrzmWI4pOmn -LleMtg21U5YX7Y5GyNsBAJOPGacyboBeWI6BPtnKqXEclPOil0bJJzhzONrCFkGI -=eOxF +iQIcBAEBCAAGBQJSMVqJAAoJECRx6z5ArFrDc2gQAIahu4Ucjp6bmO0L+4FCow8B +IIxaQt632vJBt475NJBsX3ns4yrA7Til1r/2q12eZyPUDlx7a3HclyxU2mKTd88E +9z42YMJQDsAlXkpITdtM8clYLXMdPNcYWRweWFshnXl6c/NTE2CalypeLVWc6I0o +NraPTMYuwab4d8l2e+APd+kMQdxfukm5LjzZNJxfLmyAx7vXjCdRdy7OAxslOmqZ +xAwUZ5A/PFzpvBsGAMGBWs44citlb/+/QARJgUO+Hh1e6op+KCmNSJr3Gyl/Cd55 +SLl5IUuIOFfk4rA0lJrGID8kDDjQba+4XD8AOt3aifJ11fSeUpf2VkKBaCtjqjA9 +h3LNGCWMfK5H+g5TnjNJXpz3yYOLvpS/599AWTSrTqlFdDrCgOn/xzGCiujkQGCk +Nk5wfTl4NNvAVJ7T5Yk0mhJpXhTDhQOdj+pe6d9VGq8Hz8X7VbcgNl2EPpMr5CII +oPVdIUY+mkEt7r09g0ZIxdw6O7KBmCRY8atCqtc4HGLm4HhbH2yMDB5YmDyA31vJ +oQdrXDrCZ7/DVgQDKMjH1VBBIEm6vP6xx/ya1Pwe/TaW15G/hCVpgisReTTlkGkh +0Ak1/LqRz1qC9zSWrha2s+UWe4Kgtwc84C20LM/keLkqklw5IiBMwZlShmgNFmGh +x6qGBbdUTv3izQ8DPfRi +=6qtt -----END PGP SIGNATURE----- diff --git a/webtest-1.3.3-r1.ebuild b/webtest-1.3.3-r1.ebuild new file mode 100644 index 0000000..9f5ebe9 --- /dev/null +++ b/webtest-1.3.3-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +#Needed by sys-cluster/keystone[test] + +EAPI="5" +PYTHON_COMPAT=( python2_6 python2_7 ) +#restricted for failing test :( +RESTRICT="test" + +inherit distutils-r1 eutils + +MY_PN="WebTest" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Helper to test WSGI applications" +HOMEPAGE="http://pythonpaste.org/webtest/ http://pypi.python.org/pypi/WebTest" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="doc test" + +RDEPEND=">=dev-python/webob-0.9.2[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/pyquery[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_prepare() { + epatch "${FILESDIR}/${PN}-1.3.4-index_fixt.patch" + distutils-r1_python_prepare +} + +python_compile() { + distutils-r1_python_compile + + if use doc; then + einfo "Generation of documentation" + sphinx-build docs html || die "Building of documentation failed" + fi +} + +python_test() { + "${PYTHON}" setup.py nosetests || die +} + +python_install() { + distutils-r1_python_install_all + + # Avoid future-import bug on py2.5.* - lint3 is py3 anyway + #removing since we don't support python 2.5 :D + #delete_lint3() { + # [[ "${PYTHON_ABI}" == 3.* ]] && return + # rm "${ED}$(python_get_sitedir)/webtest/lint3.py" + #} + #python-r1_execute_function -q delete_lint3 + + if use doc; then + dohtml -r html/* + fi +} -- 2.26.2