1 |
commit: 4a148651d39c5e8fd2b188f8c1b2775362b3dc69 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 1 21:02:40 2016 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 1 22:36:27 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a148651 |
7 |
|
8 |
dev-python/waitress: Bump |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
dev-python/waitress/Manifest | 1 + |
13 |
dev-python/waitress/waitress-0.8.10.ebuild | 50 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/waitress/Manifest b/dev-python/waitress/Manifest |
17 |
index 9954de7..3019f75 100644 |
18 |
--- a/dev-python/waitress/Manifest |
19 |
+++ b/dev-python/waitress/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST pylons_sphinx_theme.tar.gz 607608 SHA256 d892c80fbee8845b79cb41845a89cf2f268893689a68157bc10bd0224948bb9c SHA512 fdafd77e52ff6941de5102bad521ed2a9e28cff6be385cab660a7604be12fa1d86db73fc93f84f72551458cc60b42d3354f27648b1d747b15b25d6f809df8a4d WHIRLPOOL bcf8329b35b90d65eae86a8fc910d074790f912cfe7d4bdd9065970f5c24344e57e585d8dd0b28f101b4ddd4ed0b65caa3bdf7c93fb933ddc6916e63514fa69f |
22 |
+DIST waitress-0.8.10.tar.gz 123717 SHA256 7c40c1af0f0c254edb25153621a1e825bc1af2f7bf41a74b4bb8ee6d544ef604 SHA512 ba9e418c8cb7094e446b636a98c0d714eacdfd0643f4bd8b99e59cb0f9a56a9538b713482dd830ae5d3ace0381fe75521501ddd979fe5e292645fbf725cf7fe1 WHIRLPOOL 49e55034bdf203aadb07b9c9bce36a1fbd25f45f1cc6da70bd89d5eed8cb6bc1c1cef8b9b82ef21ef9bb724b2eb8c56d004dcba7a8abda98578cb6e3c617589b |
23 |
DIST waitress-0.8.9.tar.gz 121048 SHA256 826527dc9d334ed4ed76cdae672fdcbbccf614186657db71679ab58df869458a SHA512 e9459b8806389fcdbd6f7cfc4fc908c2076f1fcc306315c5375c872c1a0c43c2537347322f7becf1ad36aec0050dca7b2f713f35318fe3a371e544cc880b7d8c WHIRLPOOL f3ce347d3fa04944ebcf7b6b3734bed0ff1fb1fc1dd9479a10cc4cc77111ae250e2c652dd195b15a86c1c7b740d751d0ca539791f3b97c942737ca0be033a59a |
24 |
|
25 |
diff --git a/dev-python/waitress/waitress-0.8.10.ebuild b/dev-python/waitress/waitress-0.8.10.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..c9fe158 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/waitress/waitress-0.8.10.ebuild |
30 |
@@ -0,0 +1,50 @@ |
31 |
+# Copyright 1999-2015 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="A pure-Python WSGI server" |
42 |
+HOMEPAGE="http://docs.pylonsproject.org/projects/waitress/en/latest/ https://pypi.python.org/pypi/waitress/ https://github.com/Pylons/waitress" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz \ |
44 |
+ doc? ( https://dev.gentoo.org/~idella4/pylons_sphinx_theme.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" |
49 |
+IUSE="doc test" |
50 |
+ |
51 |
+RDEPEND="" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ app-arch/unzip |
54 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )" |
56 |
+ |
57 |
+python_prepare_all() { |
58 |
+ if use doc; then |
59 |
+ local PATCHES=( "${FILESDIR}"/${P}-doc.patch ) |
60 |
+ mv "${WORKDIR}"/_themes ./docs/ || die |
61 |
+ fi |
62 |
+ |
63 |
+ # Fix generation of documentation with Waitress not installed. Bug #525384 |
64 |
+ sed -e "s/^version = pkg_resources.get_distribution('waitress').version$/version = '${PV}'/" -i docs/conf.py |
65 |
+ |
66 |
+ distutils-r1_python_prepare_all |
67 |
+} |
68 |
+ |
69 |
+python_compile_all() { |
70 |
+ use doc && emake -C docs html |
71 |
+} |
72 |
+ |
73 |
+python_test() { |
74 |
+ nosetests || die "Tests fail with ${EPYTHON}" |
75 |
+} |
76 |
+ |
77 |
+python_install_all() { |
78 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
79 |
+ distutils-r1_python_install_all |
80 |
+} |