1 |
commit: 8c500e1726d817883435b72c6bc7dffcc9b512e5 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 26 00:37:20 2018 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 26 00:38:52 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c500e17 |
7 |
|
8 |
dev-python/urwid: version bump to 2.0.1 |
9 |
|
10 |
dev-python/urwid/Manifest | 1 + |
11 |
dev-python/urwid/urwid-2.0.1.ebuild | 49 +++++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 50 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/urwid/Manifest b/dev-python/urwid/Manifest |
15 |
index 78d00afef41..12e571c2572 100644 |
16 |
--- a/dev-python/urwid/Manifest |
17 |
+++ b/dev-python/urwid/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST urwid-1.3.1.tar.gz 588549 BLAKE2B b2e135fa1ba60ef75f6d748c7a51e5eecef2c7fd51e19782c4901ab2715c6afc01ac709cd79c74e3da9b8671dfd021c968aaf7c3fa393e607e0ed9ac54bcbbb4 SHA512 8b505d38f3a0c04bbf527b324dc36212f2580213dd55eca61c66705d3beaac4f074c39aaa0f4f71add1fe5f3fce4c4c6dc88dd1e981b04bac6d52195d7a3f0ed |
20 |
+DIST urwid-2.0.1.tar.gz 604167 BLAKE2B 0c7c289175d023bb14fca2c48eeec9e149af301827874c17d3087532f19d120ca2208306db44c5fbfd28b68f4b192f176cd46b83e915a5cbb8200e442e69fedb SHA512 99c86a26b08c624c23207ce8e587e8442bece1f522e0c788600ad5f01a4c679efff95dd947edade8b6f4adc376edca949a40c305f9d5ddaf6a0ff97f13c6da30 |
21 |
|
22 |
diff --git a/dev-python/urwid/urwid-2.0.1.ebuild b/dev-python/urwid/urwid-2.0.1.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..1166fc2568b |
25 |
--- /dev/null |
26 |
+++ b/dev-python/urwid/urwid-2.0.1.ebuild |
27 |
@@ -0,0 +1,49 @@ |
28 |
+# Copyright 1999-2018 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=6 |
32 |
+ |
33 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
34 |
+PYTHON_REQ_USE="ncurses" |
35 |
+ |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Curses-based user interface library for Python" |
39 |
+HOMEPAGE="http://urwid.org/ https://pypi.python.org/pypi/urwid/" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="LGPL-2.1" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
45 |
+IUSE="doc examples" |
46 |
+ |
47 |
+DEPEND=" |
48 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
49 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
50 |
+" |
51 |
+ |
52 |
+python_compile_all() { |
53 |
+ if use doc; then |
54 |
+ sphinx-build docs _build/html || die |
55 |
+ fi |
56 |
+} |
57 |
+ |
58 |
+python_compile() { |
59 |
+ if ! python_is_python3; then |
60 |
+ local CFLAGS="${CFLAGS} -fno-strict-aliasing" |
61 |
+ export CFLAGS |
62 |
+ fi |
63 |
+ |
64 |
+ distutils-r1_python_compile |
65 |
+} |
66 |
+ |
67 |
+python_test() { |
68 |
+ esetup.py test |
69 |
+} |
70 |
+ |
71 |
+python_install_all() { |
72 |
+ use examples && dodoc -r examples |
73 |
+ use doc && local HTML_DOCS=( _build/html/. ) |
74 |
+ |
75 |
+ distutils-r1_python_install_all |
76 |
+} |