diff options
Diffstat (limited to 'dev-python/webob')
-rw-r--r-- | dev-python/webob/Manifest | 1 | ||||
-rw-r--r-- | dev-python/webob/webob-1.8.2-r1.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/webob/Manifest b/dev-python/webob/Manifest index 90ef14382058..20b7a1c13327 100644 --- a/dev-python/webob/Manifest +++ b/dev-python/webob/Manifest @@ -3,5 +3,6 @@ DIST WebOb-1.7.4.tar.gz 219331 BLAKE2B fe046905bf127dc8fedbf2b993e83b3614cd62ef6 DIST WebOb-1.8.2.tar.gz 271737 BLAKE2B c6eef650e9b03c83d7c618d0187ef7fbd3432d043ab27501cf8c4d6dc3889f3b542c54bf35963d8a313d62246183373c30706bcf5fd00495808e21d3dc9e0482 SHA512 691a6cfbbff376e7b1f71adcaac4dbe8cc26cb4ddc396e2ab946ddf15b34c05c638113f48ee396d4edaf6ef77498ca8539d1c63de9f58894afb0e4b88bbf04ae EBUILD webob-1.7.3.ebuild 1074 BLAKE2B f391ca5a7ca30397d67d33461d04f17692ebcb5043515b6d248e62e5d3188217d145e54b025dedac3a7c11f795395ed2da242ab700d53a3e02c0784c0fa24bfa SHA512 ef10002b17c0bc79733ea9d018acee01e1684b4001e86143420ab7b21b121cb85508ffeb3c078ccc65664f8e5681f2b18e5818679a1eeca6987672c02bfa4598 EBUILD webob-1.7.4.ebuild 1073 BLAKE2B 52b84cbc1f896ad556214fb0213ab0c5e0468b6f48c23c97207c0c34d12670230579afbd257603c5eb7d37ecb4630f62cb4ad9aaf406d0038ef28d1e7f602ae7 SHA512 3322c1344f8e7cb34448ad0e7c37d0ab3182486c1447cdad420a08687805dffa860056d0d1176d9a9c41d4ee211ba8eae4ac750af3b11b988b88db4f8dcb6612 +EBUILD webob-1.8.2-r1.ebuild 1080 BLAKE2B ad0b2a82738ace3cb1a3a33ffed6b5fd75ab9576cd7c8f6ed19bdb0b3d827e2ddd6fdf7a8a3d63ec86df5ac4f86527e4ea75f1b111e56438f78c4f0637c7cac7 SHA512 eb2ae8c4b89a778630b719f7bf8de1fd3a4c76113525842ba41745043609c1ff4fb73da37c3e44ff7099e3a4367b24f819a93a75117a7ccfacb71e6e3c8a03c3 EBUILD webob-1.8.2.ebuild 1069 BLAKE2B 3e9b96140e8d01750b77b15a3aeac759b49695e533e137791e1dd12d5606dd57c76664f78c123f619177eb6120c5a8f2d1ee0ec955990c4c14e7114ca4360030 SHA512 e7d2fa06717f06f9c29e2bd8ee9bb48f04c1636444fbefaddb0fe53d86e955e6a7a737db2a425abf2aa42b2a55f351deb2d4beee579fe2868f18e1478d857019 MISC metadata.xml 308 BLAKE2B b14e4d8d46fb386647015b3ba5028f737f440f53e8a13d3afb4b9f418fccdb902f81728c825f65969577d765140230ea623ff66814b12789d45f22e53ae48534 SHA512 cab03951839671b7600ab7903e1b27c98a02101d4a5f34b6a2382ad8f925049d82e4e4ff32c904d4dfcd7f4865124d7adf194933a5d2790b9f3ce1a9478e8234 diff --git a/dev-python/webob/webob-1.8.2-r1.ebuild b/dev-python/webob/webob-1.8.2-r1.ebuild new file mode 100644 index 000000000000..4c0774667c9a --- /dev/null +++ b/dev-python/webob/webob-1.8.2-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy ) + +inherit distutils-r1 + +MY_PN=WebOb +MY_P=${MY_PN}-${PV} + +DESCRIPTION="WSGI request and response object" +HOMEPAGE="https://webob.org/ https://pypi.org/project/WebOb/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] ) + test? ( dev-python/nose[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] )" +RDEPEND="" + +S=${WORKDIR}/${MY_P} + +python_compile_all() { + if use doc; then + esetup.py build_sphinx + fi +} + +python_test() { + nosetests --verbose -w tests || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) + distutils-r1_python_install_all +} |