From 421680b7bfd4c85faa02693ade91b5e0f83bb1a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 15 Feb 2013 19:36:19 +0000 Subject: [PATCH] Migrate to distutils-r1. Package-Manager: portage-2.2.0_alpha163/cvs/Linux x86_64 Manifest-Sign-Key: 0x42B9401D --- ChangeLog | 7 +++++- Manifest | 11 ++++++--- webtest-1.4.3-r1.ebuild | 54 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+), 5 deletions(-) create mode 100644 webtest-1.4.3-r1.ebuild diff --git a/ChangeLog b/ChangeLog index fd4947c..eb70b43 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for dev-python/webtest -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header$ +*webtest-1.4.3-r1 (15 Feb 2013) + + 15 Feb 2013; Michał Górny +webtest-1.4.3-r1.ebuild: + Migrate to distutils-r1. + 09 Dec 2012; Ian Delaney webtest-1.4.3.ebuild: Fix dependencies. Suggested by Arfrever diff --git a/Manifest b/Manifest index f29f984..1d8a893 100644 --- a/Manifest +++ b/Manifest @@ -12,13 +12,16 @@ EBUILD webtest-1.2.3.ebuild 824 SHA256 d9416debbcaa90713f388e614e1d6cfe2a9db15e3 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 EBUILD webtest-1.4.0.ebuild 1383 SHA256 0aa301dcec87eacd8e23c974ad1e3451550a944a34b4a6f3c8609127df84ecb5 SHA512 6df960b0a19844bc81f10533adb5f2a443d51dd8a87f4fbbf134a337864a5c5642a8c7b09370d2ebf6078e0d00187730a49a8faabe20d008b315458e0a747fd8 WHIRLPOOL c09f77cea032d8843753c0695ef35aaec0f36d7eb087c3afb3546448bb5285da9f1cddf2a035fed3da228f04537badaa54e81f5b76f46c9ea2b072bbea27b60d +EBUILD webtest-1.4.3-r1.ebuild 1324 SHA256 0238fc0d2d5d69e23d1d7e17f60d7e5375c8daac8f14f18443ba6bf314c45f1d SHA512 0ed5ae1b677a7efc93f203743f45536187be08e42b10319fae3f89a28b5400bb7a41f2da54f007687ab181c4fb88e4470a6211565be66ea40f1007ab880ee3e7 WHIRLPOOL 8487ba5ca8e63eaaa19b7e050fed1d9a17453c3014684f625519e8248dfadcc617e2b8c1fa2159598d55148e89469fb48b23bf56f7a88606442e2111dadd47f3 EBUILD webtest-1.4.3.ebuild 1396 SHA256 4c7ac77bc485527e546e0d13175b6df8a160d8642a3faaea5ffd334793132603 SHA512 6788051e3b9a6acf3b00021b2c164056199705d2c443e7ec3bda1236a81f68133c4a4970abf6964cde4b03492f7b88812135b413f2dcd61e732cee57817a1e28 WHIRLPOOL 6c40a0f5ae63321070f336bf7c71285252d0fc70bdfd3d5545ee2099cf6b56951ec3389bf8d43eca53794b4e853bf2b92ac1790f4365ebce7650168828344174 -MISC ChangeLog 5360 SHA256 53a6f3f71a75d14fc077cd6a9d979f3b16b752dfea47d2270b5634229db6388d SHA512 4852054f2eb010f9cf252387026975ed34d1a05e3e797b846f93482dc6e0052f45cc7b20c16e2d6dc8d9384e1ae3b90d938bb7003968ba0c6d29a63727cb06c3 WHIRLPOOL 7a112681246a816f94abc8f0c06bfaeab88ef30d177f8b25313ab26db99c1af70a97814e123b3142dc1bcf4d407c94b7f105829d2c072446067997fd73b176cd +MISC ChangeLog 5496 SHA256 33f2c7cb5ec20861ff4eb1a846b3b2b7152cadf0b26b15db91e4c72c233ac9bd SHA512 c144c9ca1dbbfb0d26db01e60522d6f839964b6e9b0c9d84d6c63328db4b6aabdd1cecdc05e82fa71cea3a119ab706f90d7e48281b3466abadd119da2d470865 WHIRLPOOL 3d435bd7b955456ff9a142418ac17a8b753ee2d4f43cf94cbccb173fb525260c1703bc9eed62f6ca0e4510040fcf26ae7c244a1372d0366092ff0bde908b1241 MISC metadata.xml 230 SHA256 5b66abf10f340308f2e1a4f3a275e110a2a52842e683bd2a1eb84d387a5ea163 SHA512 d55a5077c6ece4bb2da3d869023175b49a9ff6f20aed4696ede22e729ef823c4d162911ed3fd85fe29973600813624e4d5d5d6d2a9c82395abe0090f76e673dd WHIRLPOOL 726f7c4456a23191c433f978002121826d71729ad750a862a80229b828ebe6d2d2410ad2a87229380608d9880e38c21c441a778963d38c7ad3a646c66f2eed35 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlDD26YACgkQso7CE7gHKw2vbwCfck3TLg1NJmjIZx+s6X4qiQCw -6rcAn3m8xtn4++ZdJogVCot5H+DFiiGG -=Tqf9 +iJwEAQEIAAYFAlEejkAACgkQfXuS5UK5QB3M0AQAiX+ex6XiCIak4SzPMv68kLz4 +niLR45URMX8uAwkhEuPG/6emGTNzGpFdpLNuKdhFiUmEPLgjVT2YQrt13+A1okds +pGxA795JrZXRj48R1B8RTfs7DvXX8/vROtDrMu1hadGI7Mgo2GjYs2AUZhLftTBX +Yu0cRhrZ7G2qfrlZHPg= +=hJAM -----END PGP SIGNATURE----- diff --git a/webtest-1.4.3-r1.ebuild b/webtest-1.4.3-r1.ebuild new file mode 100644 index 0000000..3954dec --- /dev/null +++ b/webtest-1.4.3-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) + +inherit distutils-r1 + +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}.zip" + +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} + app-arch/unzip + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/nose[${PYTHON_USEDEP}] + dev-python/pyquery[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_compile_all() { + if use doc; then + sphinx-build docs html || die + fi +} + +python_test() { + nosetests || die "Tests fail with ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install + + if [[ ${EPYTHON} == python3* ]]; then + rm -f "${D}$(python_get_sitedir)"/webtest/lint3.py + fi +} + +python_install_all() { + use doc && local HTML_DOCS=( html/. ) + distutils-r1_python_install_all +} -- 2.26.2