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: Thu, 30 Aug 2018 21:35:07
Message-Id: 1535664875.370ab6b26f1933192a4b1bd3c0b789fa34dfaa19.prometheanfire@gentoo
1 commit: 370ab6b26f1933192a4b1bd3c0b789fa34dfaa19
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 30 20:40:24 2018 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 30 21:34:35 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=370ab6b2
7
8 dev-python/webob: 1.8.2 bump for rocky
9
10 Package-Manager: Portage-2.3.48, Repoman-2.3.10
11
12 dev-python/webob/Manifest | 1 +
13 dev-python/webob/webob-1.8.2.ebuild | 43 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/dev-python/webob/Manifest b/dev-python/webob/Manifest
17 index 66b735491f0..95128f245ea 100644
18 --- a/dev-python/webob/Manifest
19 +++ b/dev-python/webob/Manifest
20 @@ -1,2 +1,3 @@
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 +DIST WebOb-1.8.2.tar.gz 271737 BLAKE2B c6eef650e9b03c83d7c618d0187ef7fbd3432d043ab27501cf8c4d6dc3889f3b542c54bf35963d8a313d62246183373c30706bcf5fd00495808e21d3dc9e0482 SHA512 691a6cfbbff376e7b1f71adcaac4dbe8cc26cb4ddc396e2ab946ddf15b34c05c638113f48ee396d4edaf6ef77498ca8539d1c63de9f58894afb0e4b88bbf04ae
24
25 diff --git a/dev-python/webob/webob-1.8.2.ebuild b/dev-python/webob/webob-1.8.2.ebuild
26 new file mode 100644
27 index 00000000000..4d52d74f8fd
28 --- /dev/null
29 +++ b/dev-python/webob/webob-1.8.2.ebuild
30 @@ -0,0 +1,43 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
37 +
38 +inherit distutils-r1
39 +
40 +MY_PN=WebOb
41 +MY_P=${MY_PN}-${PV}
42 +
43 +DESCRIPTION="WSGI request and response object"
44 +HOMEPAGE="https://webob.org/ https://pypi.org/project/WebOb/"
45 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
46 +
47 +LICENSE="MIT"
48 +SLOT="0"
49 +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"
50 +IUSE="doc test"
51 +
52 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
53 + doc? ( >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] )
54 + test? ( dev-python/nose[${PYTHON_USEDEP}]
55 + dev-python/coverage[${PYTHON_USEDEP}] )"
56 +RDEPEND=""
57 +
58 +S=${WORKDIR}/${MY_P}
59 +
60 +python_compile_all() {
61 + if use doc; then
62 + esetup.py build_sphinx
63 + fi
64 +}
65 +
66 +python_test() {
67 + nosetests --verbose -w tests || die "Tests fail with ${EPYTHON}"
68 +}
69 +
70 +python_install_all() {
71 + use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
72 + distutils-r1_python_install_all
73 +}