Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/Babel/, dev-python/Babel/files/
Date: Sat, 26 Sep 2015 11:03:07
Message-Id: 1443265377.e8dff6780c6489fe9f34ad1d837082312b193a7b.jlec@gentoo
1 commit: e8dff6780c6489fe9f34ad1d837082312b193a7b
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 26 11:02:38 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 26 11:02:57 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8dff678
7
8 dev-python/Babel: Drop old
9
10 obsoletes
11 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=546804
12
13 Package-Manager: portage-2.2.22
14 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
15
16 dev-python/Babel/Babel-1.3-r1.ebuild | 48 ----------------------
17 dev-python/Babel/Manifest | 1 -
18 .../Babel/files/Babel-0.9.6-setuptools.patch | 23 -----------
19 3 files changed, 72 deletions(-)
20
21 diff --git a/dev-python/Babel/Babel-1.3-r1.ebuild b/dev-python/Babel/Babel-1.3-r1.ebuild
22 deleted file mode 100644
23 index f199e6f..0000000
24 --- a/dev-python/Babel/Babel-1.3-r1.ebuild
25 +++ /dev/null
26 @@ -1,48 +0,0 @@
27 -# Copyright 1999-2015 Gentoo Foundation
28 -# Distributed under the terms of the GNU General Public License v2
29 -# $Id$
30 -
31 -EAPI=5
32 -
33 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
34 -inherit distutils-r1
35 -
36 -DESCRIPTION="A collection of tools for internationalizing Python applications"
37 -HOMEPAGE="http://babel.edgewall.org/ https://pypi.python.org/pypi/Babel"
38 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
39 -
40 -LICENSE="BSD"
41 -SLOT="0"
42 -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"
43 -IUSE="doc test"
44 -
45 -RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]
46 - dev-python/setuptools[${PYTHON_USEDEP}]"
47 -DEPEND="${DEPEND}
48 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
49 - test? ( >=dev-python/pytest-2.3.5[${PYTHON_USEDEP}] )"
50 -
51 -python_prepare_all() {
52 - # Make the tests use implementation-specific datadir,
53 - # because they try to write in it.
54 - sed -e '/datadir =/s:os\.path\.dirname(__file__):os.environ["BUILD_DIR"]:' \
55 - -i tests/messages/test_frontend.py || die
56 - sed -e '/^intersphinx_mapping/,+3d' -i docs/conf.py || die
57 - distutils-r1_python_prepare_all
58 -}
59 -
60 -python_test() {
61 - # Create implementation-specific datadir for tests.
62 - cp -R -l tests/messages/data "${BUILD_DIR}"/ || die
63 - export BUILD_DIR
64 - py.test || die
65 -}
66 -
67 -python_compile_all() {
68 - use doc && emake -C docs html
69 -}
70 -
71 -python_install_all() {
72 - use doc && local HTML_DOCS=( docs/_build/html/. )
73 - distutils-r1_python_install_all
74 -}
75
76 diff --git a/dev-python/Babel/Manifest b/dev-python/Babel/Manifest
77 index 9c53a6e..578cf1b 100644
78 --- a/dev-python/Babel/Manifest
79 +++ b/dev-python/Babel/Manifest
80 @@ -1,3 +1,2 @@
81 -DIST Babel-1.3.tar.gz 3401237 SHA256 9f02d0357184de1f093c10012b52e7454a1008be6a5c185ab7a3307aceb1d12e SHA512 3173d578c36d7a20d14ffcf6406ec9fe301e71a199069b3d2e53bd0c66e7f83d6e94f071dc08f2708202ec1ace4d14f4476234cc8347a37b05317302f0cfe0cf WHIRLPOOL fb48c95d0bdd775fa273f24236a05186f64b0e69a53ad99e2c4fa89b306d2d6c0856f72abe506b655baceaabe1fa481719e002c52188f4e01ead0a6f7057db00
82 DIST Babel-2.0.tar.gz 3415906 SHA256 44988df191123065af9857eca68e9151526a931c12659ca29904e4f11de7ec1b SHA512 9f12573d97f688baf0d1fc0f61055e34b67964054e70c8a6c286a8b0e42ce58da4d9c8cf54f94e51b47a5256cc4504a14bea497bd626cfad8c860d952e7a5e18 WHIRLPOOL e08b0d2d6192321f653200b9e4e96d898c12ea8176f7e0fb7c2144d3dfb6c4b6c12b85833b05b1a5e2d9ed8cec3712d09c3b0a1822ca9cc7ea4bf1cb24dac3f3
83 DIST Babel-2.1.1.tar.gz 3437647 SHA256 7fb6d50effe88a087feb2036cb972fd7a893bf338361516f1a55a820bf7b5248 SHA512 ec7ebb8648101588eecc72913adc45c0593ed6ee5f10874edcd4b932959f9552edcecc8e2ec966dae6ef5e8adb23341f1a4f87ea2d9e6cbba57a9b8b0a352a94 WHIRLPOOL 812badf14a74fa391851aaae048ec5d815d6d8f7abce8b918f036243cc45d91ca97281614c2ef139797719077ef4880cfafce88e9d718b3cd633ed7303e4cfd7
84
85 diff --git a/dev-python/Babel/files/Babel-0.9.6-setuptools.patch b/dev-python/Babel/files/Babel-0.9.6-setuptools.patch
86 deleted file mode 100644
87 index ff4ba7b..0000000
88 --- a/dev-python/Babel/files/Babel-0.9.6-setuptools.patch
89 +++ /dev/null
90 @@ -1,23 +0,0 @@
91 -From: Ben Kohler
92 -Date: 2012-08-13 19:59:01 UTC
93 -Bug: https://bugs.gentoo.org/show_bug.cgi?id=431278
94 -
95 -remove distutils fallback which silently fails resulting
96 -in a broken installation
97 -
98 -this patch enforces a real failure in case of broken setuptools
99 -
100 ---- Babel-0.9.6/setup.py
101 -+++ Babel-0.9.6/setup.py
102 -@@ -16,10 +16,7 @@
103 - import doctest
104 - from glob import glob
105 - import os
106 --try:
107 -- from setuptools import setup
108 --except ImportError:
109 -- from distutils.core import setup
110 -+from setuptools import setup
111 - import sys
112 -
113 - sys.path.append(os.path.join('doc', 'common'))