1 |
commit: aab2a3c700f613b119e6e757eaa34f753174f566 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 26 06:25:52 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 26 06:29:46 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aab2a3c7 |
7 |
|
8 |
dev-python/Babel: Version Bump |
9 |
|
10 |
Package-Manager: portage-2.2.21 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/Babel/Babel-2.1.1.ebuild | 49 +++++++++++++++++++++++++++++++++++++ |
14 |
dev-python/Babel/Manifest | 1 + |
15 |
2 files changed, 50 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/Babel/Babel-2.1.1.ebuild b/dev-python/Babel/Babel-2.1.1.ebuild |
18 |
new file mode 100644 |
19 |
index 0000000..8d46105 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/Babel/Babel-2.1.1.ebuild |
22 |
@@ -0,0 +1,49 @@ |
23 |
+# Copyright 1999-2015 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+# $Id$ |
26 |
+ |
27 |
+EAPI=5 |
28 |
+ |
29 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) |
30 |
+ |
31 |
+inherit distutils-r1 |
32 |
+ |
33 |
+DESCRIPTION="A collection of tools for internationalizing Python applications" |
34 |
+HOMEPAGE="http://babel.edgewall.org/ https://pypi.python.org/pypi/Babel" |
35 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="BSD" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
40 |
+IUSE="doc test" |
41 |
+ |
42 |
+RDEPEND="dev-python/pytz[${PYTHON_USEDEP}] |
43 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
44 |
+DEPEND="${DEPEND} |
45 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
46 |
+ test? ( >=dev-python/pytest-2.3.5[${PYTHON_USEDEP}] )" |
47 |
+ |
48 |
+python_prepare_all() { |
49 |
+ # Make the tests use implementation-specific datadir, |
50 |
+ # because they try to write in it. |
51 |
+ sed -e '/datadir =/s:os\.path\.dirname(__file__):os.environ["BUILD_DIR"]:' \ |
52 |
+ -i tests/messages/test_frontend.py || die |
53 |
+ sed -e '/^intersphinx_mapping/,+3d' -i docs/conf.py || die |
54 |
+ distutils-r1_python_prepare_all |
55 |
+} |
56 |
+ |
57 |
+python_test() { |
58 |
+ # Create implementation-specific datadir for tests. |
59 |
+ cp -R -l tests/messages/data "${BUILD_DIR}"/ || die |
60 |
+ export BUILD_DIR |
61 |
+ py.test || die |
62 |
+} |
63 |
+ |
64 |
+python_compile_all() { |
65 |
+ use doc && emake -C docs html |
66 |
+} |
67 |
+ |
68 |
+python_install_all() { |
69 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
70 |
+ distutils-r1_python_install_all |
71 |
+} |
72 |
|
73 |
diff --git a/dev-python/Babel/Manifest b/dev-python/Babel/Manifest |
74 |
index f5ed01d..9c53a6e 100644 |
75 |
--- a/dev-python/Babel/Manifest |
76 |
+++ b/dev-python/Babel/Manifest |
77 |
@@ -1,2 +1,3 @@ |
78 |
DIST Babel-1.3.tar.gz 3401237 SHA256 9f02d0357184de1f093c10012b52e7454a1008be6a5c185ab7a3307aceb1d12e SHA512 3173d578c36d7a20d14ffcf6406ec9fe301e71a199069b3d2e53bd0c66e7f83d6e94f071dc08f2708202ec1ace4d14f4476234cc8347a37b05317302f0cfe0cf WHIRLPOOL fb48c95d0bdd775fa273f24236a05186f64b0e69a53ad99e2c4fa89b306d2d6c0856f72abe506b655baceaabe1fa481719e002c52188f4e01ead0a6f7057db00 |
79 |
DIST Babel-2.0.tar.gz 3415906 SHA256 44988df191123065af9857eca68e9151526a931c12659ca29904e4f11de7ec1b SHA512 9f12573d97f688baf0d1fc0f61055e34b67964054e70c8a6c286a8b0e42ce58da4d9c8cf54f94e51b47a5256cc4504a14bea497bd626cfad8c860d952e7a5e18 WHIRLPOOL e08b0d2d6192321f653200b9e4e96d898c12ea8176f7e0fb7c2144d3dfb6c4b6c12b85833b05b1a5e2d9ed8cec3712d09c3b0a1822ca9cc7ea4bf1cb24dac3f3 |
80 |
+DIST Babel-2.1.1.tar.gz 3437647 SHA256 7fb6d50effe88a087feb2036cb972fd7a893bf338361516f1a55a820bf7b5248 SHA512 ec7ebb8648101588eecc72913adc45c0593ed6ee5f10874edcd4b932959f9552edcecc8e2ec966dae6ef5e8adb23341f1a4f87ea2d9e6cbba57a9b8b0a352a94 WHIRLPOOL 812badf14a74fa391851aaae048ec5d815d6d8f7abce8b918f036243cc45d91ca97281614c2ef139797719077ef4880cfafce88e9d718b3cd633ed7303e4cfd7 |