1 |
commit: 5749e1fc8c16f2c14e92179c4e0aba3536240a4a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 4 20:01:18 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 4 20:34:45 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5749e1fc |
7 |
|
8 |
dev-python/google-apputils: Clean old up |
9 |
|
10 |
dev-python/google-apputils/Manifest | 1 - |
11 |
.../google-apputils-0.4.0-r1.ebuild | 47 ---------------------- |
12 |
2 files changed, 48 deletions(-) |
13 |
|
14 |
diff --git a/dev-python/google-apputils/Manifest b/dev-python/google-apputils/Manifest |
15 |
index 93d2fa7d78b..bf7c7d7c873 100644 |
16 |
--- a/dev-python/google-apputils/Manifest |
17 |
+++ b/dev-python/google-apputils/Manifest |
18 |
@@ -1,2 +1 @@ |
19 |
-DIST google-apputils-0.4.0.tar.gz 80014 BLAKE2B ec64417271a922d16dfcad4e0965c17d5dba558782c7c4c20537927fb0b3e34680180952a159f71577d36877c68f3c0b98482142eca9d160a945b49ee2171782 SHA512 5dbbf50e9551b33d882557ef9385c64691dcff6d6c219c9ff6aea2dc73c8af6d03392b3088fe1fb4000979e227830a0e437dc347520488627657085c8ea23f5e |
20 |
DIST google-apputils-0.4.2.tar.gz 81095 BLAKE2B d99c2fe8081616ee2891718fc3d00d00bcd703f694b9419bfc7aaebe75ba8cd0de12e8461dbc6459c1b7b88abf6e7af89972368c565565cb5dfb810938e4e1d2 SHA512 d7579ec461292bb01ad5b8e1b09e161c66af0e85361f43f6065b837c90bddb9711a2d56db2b73d780dc25945375d4dad2f646507512b9acfeefd517613feacd4 |
21 |
|
22 |
diff --git a/dev-python/google-apputils/google-apputils-0.4.0-r1.ebuild b/dev-python/google-apputils/google-apputils-0.4.0-r1.ebuild |
23 |
deleted file mode 100644 |
24 |
index c669a197911..00000000000 |
25 |
--- a/dev-python/google-apputils/google-apputils-0.4.0-r1.ebuild |
26 |
+++ /dev/null |
27 |
@@ -1,47 +0,0 @@ |
28 |
-# Copyright 1999-2016 Gentoo Foundation |
29 |
-# Distributed under the terms of the GNU General Public License v2 |
30 |
- |
31 |
-EAPI="5" |
32 |
- |
33 |
-PYTHON_COMPAT=( python2_7 ) # Doesn't yet support py3 |
34 |
- |
35 |
-inherit distutils-r1 |
36 |
- |
37 |
-DESCRIPTION="Collection of utilities for building Python applications" |
38 |
-HOMEPAGE="https://github.com/google/google-apputils" |
39 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
40 |
- |
41 |
-LICENSE="Apache-2.0" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="amd64 arm ~arm64 ~ia64 ~m68k ~mips ~ppc64 ~s390 ~sh x86" |
44 |
-IUSE="test" |
45 |
- |
46 |
-RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}] |
47 |
- dev-python/python-gflags[${PYTHON_USEDEP}] |
48 |
- dev-python/pytz[${PYTHON_USEDEP}]" |
49 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
50 |
- test? ( ${RDEPEND} |
51 |
- dev-python/mox[${PYTHON_USEDEP}] )" |
52 |
-# version borders needed are already confluent with versions in the tree |
53 |
- |
54 |
-src_unpack() { |
55 |
- default |
56 |
- chmod -R a+rX,u+w,g-w,o-w ${P} || die |
57 |
-} |
58 |
- |
59 |
-python_prepare_all() { |
60 |
- # https://code.google.com/p/google-apputils-python/source/detail?r=12 |
61 |
- # This version bordering is long out of date and wrong since end of March 2012! |
62 |
- sed -e 's:>=1.4,<2:>=1.4:' -i setup.py || die |
63 |
- |
64 |
- distutils-r1_python_prepare_all |
65 |
-} |
66 |
- |
67 |
-python_test() { |
68 |
- # These yield 2 fails which are in fact expected errors run from a shell script! |
69 |
- # They seemingly have no immediate mechanism to exit 0 in an expected fail style. |
70 |
- for test in tests/{app_test*.py,[b-s]*.py} |
71 |
- do |
72 |
- "${PYTHON}" $test || die "test failure under ${EPYTHON}" |
73 |
- done |
74 |
-} |