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