1 |
commit: 1682ac8f8ed3ee1064ae57e0f0a97998f1a71867 |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 19 22:11:53 2017 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 26 04:16:42 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1682ac8f |
7 |
|
8 |
dev-python/Babel: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-python/Babel/Babel-2.4.0.ebuild | 48 +++++++++++++++++++++++++++++++++++++ |
13 |
dev-python/Babel/Manifest | 1 + |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/Babel/Babel-2.4.0.ebuild b/dev-python/Babel/Babel-2.4.0.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..9ec087d4bd7 |
19 |
--- /dev/null |
20 |
+++ b/dev-python/Babel/Babel-2.4.0.ebuild |
21 |
@@ -0,0 +1,48 @@ |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) |
28 |
+PYTHON_REQ_USE="threads(+)" |
29 |
+ |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+DESCRIPTION="Collection of tools for internationalizing Python applications" |
33 |
+HOMEPAGE="http://babel.edgewall.org/ https://pypi.python.org/pypi/Babel" |
34 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="BSD" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
39 |
+IUSE="doc test" |
40 |
+ |
41 |
+RDEPEND="dev-python/pytz[${PYTHON_USEDEP}] |
42 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
43 |
+DEPEND="${DEPEND} |
44 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
45 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
46 |
+ |
47 |
+python_prepare_all() { |
48 |
+ # Make the tests use implementation-specific datadir, |
49 |
+ # because they try to write in it. |
50 |
+ sed -e '/datadir =/s:os\.path\.dirname(__file__):os.environ["BUILD_DIR"]:' \ |
51 |
+ -i tests/messages/test_frontend.py || die |
52 |
+ sed -e '/^intersphinx_mapping/,+3d' -i docs/conf.py || die |
53 |
+ distutils-r1_python_prepare_all |
54 |
+} |
55 |
+ |
56 |
+python_test() { |
57 |
+ # Create implementation-specific datadir for tests. |
58 |
+ cp -R -l tests/messages/data "${BUILD_DIR}"/ || die |
59 |
+ py.test || die |
60 |
+} |
61 |
+ |
62 |
+python_compile_all() { |
63 |
+ use doc && emake -C docs html |
64 |
+} |
65 |
+ |
66 |
+python_install_all() { |
67 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
68 |
+ distutils-r1_python_install_all |
69 |
+} |
70 |
|
71 |
diff --git a/dev-python/Babel/Manifest b/dev-python/Babel/Manifest |
72 |
index 1cdd76ab556..b6f1fa575e2 100644 |
73 |
--- a/dev-python/Babel/Manifest |
74 |
+++ b/dev-python/Babel/Manifest |
75 |
@@ -1,2 +1,3 @@ |
76 |
DIST Babel-2.1.1.tar.gz 3437647 SHA256 7fb6d50effe88a087feb2036cb972fd7a893bf338361516f1a55a820bf7b5248 SHA512 ec7ebb8648101588eecc72913adc45c0593ed6ee5f10874edcd4b932959f9552edcecc8e2ec966dae6ef5e8adb23341f1a4f87ea2d9e6cbba57a9b8b0a352a94 WHIRLPOOL 812badf14a74fa391851aaae048ec5d815d6d8f7abce8b918f036243cc45d91ca97281614c2ef139797719077ef4880cfafce88e9d718b3cd633ed7303e4cfd7 |
77 |
DIST Babel-2.3.4.tar.gz 6866920 SHA256 c535c4403802f6eb38173cd4863e419e2274921a01a8aad8a5b497c131c62875 SHA512 1fdba01946e7a8ebe3fef23843e23707cd060b0a179d775e29f938318d824e8779df2852fb8bbd18f61fc47de33af5d988c509dc67f54ea4cb3a4a66767869a5 WHIRLPOOL ea265abb1a9f6de890c6fa8e78ef49eab2adbd47916f30d19d3d807220c6598c14a93527ba85b92b8e6fbc40571c706cf233d17d7ee65448e3270ead38b7c71a |
78 |
+DIST Babel-2.4.0.tar.gz 6607513 SHA256 8c98f5e5f8f5f088571f2c6bd88d530e331cbbcb95a7311a0db69d3dca7ec563 SHA512 4e1341144dfb319c172a446facc47204c9b9f49972c8646b62e082975d8ec41c35e503e610d7114ef5346a5c073e87ed8d40a65a60d9540fb7ca947681cc0beb WHIRLPOOL 58184100c060640316a1517ce70db2b5f9143fa10fb24b2b9d4069c8ecb638b914fbe405d0ab8a51628b98a00a7db4c462d6faff8b2b98a4cb5cd4ca3e7f5abf |