diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-02-17 20:03:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-02-17 20:03:52 +0000 |
commit | 4935506e9a5cbfabd37c64093eac5f36c2ff0017 (patch) | |
tree | af9dd93ea349eacaf28286c7c45c7a083b0b7c31 /dev-python/webob | |
parent | 434d713861b70f6c6563d6ee50a8e64f14c970d9 (diff) |
gentoo resync : 17.02.2018
Diffstat (limited to 'dev-python/webob')
-rw-r--r-- | dev-python/webob/Manifest | 2 | ||||
-rw-r--r-- | dev-python/webob/webob-1.7.4.ebuild | 43 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/webob/Manifest b/dev-python/webob/Manifest index 4e4fbc6243ee..511288b25d77 100644 --- a/dev-python/webob/Manifest +++ b/dev-python/webob/Manifest @@ -1,3 +1,5 @@ DIST WebOb-1.7.3.tar.gz 216028 BLAKE2B 66af12ab34dc9a18555c6e480099a2c9b9f0ba8eb8f1e1066d501dea9ed2ff541c064bc40bfc74c284fef5f06281178d4d631b33f29c04d43da9c8e3bd138d0a SHA512 23a51f184754c525dc293b8b71855d40f52445c0df5434af7ec091219e0ea81be162623157b6ec67214cd151b25014bf86991246785816ebcb5a0d1eec9479a1 +DIST WebOb-1.7.4.tar.gz 219331 BLAKE2B fe046905bf127dc8fedbf2b993e83b3614cd62ef614add939d54e241ecfc9a9ed77cfa5b961b436105c72cab36e885f94d604cd90909cc4ada9283c7a098a8ca SHA512 43685daf6dbba5daa99e4fabfb930495b8c2bc976e968d93af7681284cc127d7012f8423b2986dd7daa10cbf7b3803aec442c1ef88102e16cadf07efe6714d1a EBUILD webob-1.7.3.ebuild 1076 BLAKE2B 85d5055183df69b1a16dd298821509fbf9a0bf9e2f1c5ef423c7b8d858f73ace54f30e2328068160cd3441b8d66fe2706bb18f69fd3d88d34f77726644fe3b67 SHA512 0ae3edf2b0898fa0c6f1cdd214f87d8414ccfbaad5522b870bc7e2a8a5322028c0b72dbe30566133a817a1cbbbb9951da2e978d8c12987594c5acbb4223401da +EBUILD webob-1.7.4.ebuild 1085 BLAKE2B 85bb58437465dc1790fca6a7af0e511092a79f15e801c5af6fe66b6863f8e84ac4605e880748a948c35a5b8cd233c2eccc0ee00e853df1fe721d4aa8ab6967f4 SHA512 a6aaf407f3c68615401549dc95fa4172fd0e9f9d1588025d2ca5ebac6487b1373971dd0bcef86e84f16cbc2e6883746257a63f1b07a98a0d56612fa380b53768 MISC metadata.xml 308 BLAKE2B b14e4d8d46fb386647015b3ba5028f737f440f53e8a13d3afb4b9f418fccdb902f81728c825f65969577d765140230ea623ff66814b12789d45f22e53ae48534 SHA512 cab03951839671b7600ab7903e1b27c98a02101d4a5f34b6a2382ad8f925049d82e4e4ff32c904d4dfcd7f4865124d7adf194933a5d2790b9f3ce1a9478e8234 diff --git a/dev-python/webob/webob-1.7.4.ebuild b/dev-python/webob/webob-1.7.4.ebuild new file mode 100644 index 000000000000..41ff9c6ff0ea --- /dev/null +++ b/dev-python/webob/webob-1.7.4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 versionator + +MY_PN=WebOb +MY_P=${MY_PN}-${PV} + +DESCRIPTION="WSGI request and response object" +HOMEPAGE="http://webob.org/ https://pypi.python.org/pypi/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[${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 +} |