Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/webob/
Date: Fri, 16 Feb 2018 06:08:15
Message-Id: 1518750239.ff40dfdf27910ec03aeefef13fbda017ceba2b45.prometheanfire@gentoo
1 commit: ff40dfdf27910ec03aeefef13fbda017ceba2b45
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 16 03:03:59 2018 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 16 03:03:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff40dfdf
7
8 dev-python/webob: 1.7.4 bup
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-python/webob/Manifest | 1 +
13 dev-python/webob/webob-1.7.4.ebuild | 43 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/dev-python/webob/Manifest b/dev-python/webob/Manifest
17 index 9efa5b155da..66b735491f0 100644
18 --- a/dev-python/webob/Manifest
19 +++ b/dev-python/webob/Manifest
20 @@ -1 +1,2 @@
21 DIST WebOb-1.7.3.tar.gz 216028 BLAKE2B 66af12ab34dc9a18555c6e480099a2c9b9f0ba8eb8f1e1066d501dea9ed2ff541c064bc40bfc74c284fef5f06281178d4d631b33f29c04d43da9c8e3bd138d0a SHA512 23a51f184754c525dc293b8b71855d40f52445c0df5434af7ec091219e0ea81be162623157b6ec67214cd151b25014bf86991246785816ebcb5a0d1eec9479a1
22 +DIST WebOb-1.7.4.tar.gz 219331 BLAKE2B fe046905bf127dc8fedbf2b993e83b3614cd62ef614add939d54e241ecfc9a9ed77cfa5b961b436105c72cab36e885f94d604cd90909cc4ada9283c7a098a8ca SHA512 43685daf6dbba5daa99e4fabfb930495b8c2bc976e968d93af7681284cc127d7012f8423b2986dd7daa10cbf7b3803aec442c1ef88102e16cadf07efe6714d1a
23
24 diff --git a/dev-python/webob/webob-1.7.4.ebuild b/dev-python/webob/webob-1.7.4.ebuild
25 new file mode 100644
26 index 00000000000..41ff9c6ff0e
27 --- /dev/null
28 +++ b/dev-python/webob/webob-1.7.4.ebuild
29 @@ -0,0 +1,43 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
36 +
37 +inherit distutils-r1 versionator
38 +
39 +MY_PN=WebOb
40 +MY_P=${MY_PN}-${PV}
41 +
42 +DESCRIPTION="WSGI request and response object"
43 +HOMEPAGE="http://webob.org/ https://pypi.python.org/pypi/WebOb"
44 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +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"
49 +IUSE="doc test"
50 +
51 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
52 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
53 + test? ( dev-python/nose[${PYTHON_USEDEP}]
54 + dev-python/coverage[${PYTHON_USEDEP}] )"
55 +RDEPEND=""
56 +
57 +S=${WORKDIR}/${MY_P}
58 +
59 +python_compile_all() {
60 + if use doc; then
61 + esetup.py build_sphinx
62 + fi
63 +}
64 +
65 +python_test() {
66 + nosetests --verbose -w tests || die "Tests fail with ${EPYTHON}"
67 +}
68 +
69 +python_install_all() {
70 + use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
71 + distutils-r1_python_install_all
72 +}