1 |
commit: 2e460830ffec25ed1b7226890864a7b08d780df0 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 23 10:01:53 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 23 10:05:31 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e460830 |
7 |
|
8 |
dev-python/mock: Drop old |
9 |
|
10 |
Package-Manager: portage-2.2.25 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/mock/Manifest | 1 - |
14 |
dev-python/mock/mock-1.0.1-r1.ebuild | 36 ------------------------------ |
15 |
dev-python/mock/mock-1.2.0.ebuild | 43 ------------------------------------ |
16 |
3 files changed, 80 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/mock/Manifest b/dev-python/mock/Manifest |
19 |
index 87ab07a..c0ae945 100644 |
20 |
--- a/dev-python/mock/Manifest |
21 |
+++ b/dev-python/mock/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
DIST mock-1.0.1.tar.gz 818644 SHA256 b839dd2d9c117c701430c149956918a423a9863b48b09c90e30a6013e7d2f44f SHA512 4f6f4ebc34843e16b15d866e415ad9992e79bd266a63a22fee31b773ba77615e3406bc8890ceed92c0ee296380d68c46299c4c4448a3526f9cb96b258d32cf58 WHIRLPOOL d5a83199a355d9dc8f327f287e6f6fb889f569eb6642c86390aead3f91505c5fb98512e15ed34cadb407dc0a56d541395132872f1a910d20d330d6d3190f164c |
24 |
-DIST mock-1.2.0.tar.gz 70370 SHA256 c2df20835beea1c018f4ecc8382317c50aea01351caae1730933f564757d571e SHA512 61a04ca2d4f1f0d9f682b86d569a1f1eafa077f0dcb40903d3970b4d29e31b4258259c26e55548e0c49bbb14ca21715233d58d9f34ca4afb3cec2d683fbf043f WHIRLPOOL b93ed20a696e90f48e83016f90560a2504f6892d8f33d7075e19dcae9c9d8b59d69c5022355cb8b95c119970478a7bf244b34455cbe75d36438efaec78e82673 |
25 |
DIST mock-1.3.0.tar.gz 70908 SHA256 1e247dbecc6ce057299eb7ee019ad68314bb93152e81d9a6110d35f4d5eca0f6 SHA512 10cbb78b89f2e82abfcadc035a526182f83b59df4775cd85acfdbeb4505791c63b7a3761e6126a08d9aedbd07ead8632ac2a728dc07a362f4aaeea694bdecaf9 WHIRLPOOL 783fa1a7dade482c318805cc34bc642e29403e2fd1e6010acf212283d20981216cc8ef85cfea3e72c9f521d2954cf8e895cbe7ee126cd84d780c8b80727421f2 |
26 |
|
27 |
diff --git a/dev-python/mock/mock-1.0.1-r1.ebuild b/dev-python/mock/mock-1.0.1-r1.ebuild |
28 |
deleted file mode 100644 |
29 |
index 9749052..0000000 |
30 |
--- a/dev-python/mock/mock-1.0.1-r1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,36 +0,0 @@ |
33 |
-# Copyright 1999-2015 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
-# $Id$ |
36 |
- |
37 |
-EAPI=5 |
38 |
-PYTHON_COMPAT=( python{2_7,3_3} pypy ) |
39 |
- |
40 |
-inherit distutils-r1 |
41 |
- |
42 |
-DESCRIPTION="A Python Mocking and Patching Library for Testing" |
43 |
-HOMEPAGE="http://www.voidspace.org.uk/python/mock/ https://pypi.python.org/pypi/mock" |
44 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="BSD" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos" |
49 |
-IUSE="doc test" |
50 |
- |
51 |
-# dev-python/unittest2 is not required with Python >=3.2. |
52 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
- test? ( dev-python/nose[${PYTHON_USEDEP}] )" |
54 |
-RDEPEND="" |
55 |
- |
56 |
-python_test() { |
57 |
- nosetests || die "Tests fail with ${EPYTHON}" |
58 |
-} |
59 |
- |
60 |
-python_install_all() { |
61 |
- local DOCS=( docs/*.txt ) |
62 |
- |
63 |
- distutils-r1_python_install_all |
64 |
- |
65 |
- if use doc; then |
66 |
- dohtml -r html/ -x html/objects.inv -x html/output.txt -x html/_sources |
67 |
- fi |
68 |
-} |
69 |
|
70 |
diff --git a/dev-python/mock/mock-1.2.0.ebuild b/dev-python/mock/mock-1.2.0.ebuild |
71 |
deleted file mode 100644 |
72 |
index ae8a062..0000000 |
73 |
--- a/dev-python/mock/mock-1.2.0.ebuild |
74 |
+++ /dev/null |
75 |
@@ -1,43 +0,0 @@ |
76 |
-# Copyright 1999-2015 Gentoo Foundation |
77 |
-# Distributed under the terms of the GNU General Public License v2 |
78 |
-# $Id$ |
79 |
- |
80 |
-EAPI=5 |
81 |
- |
82 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} pypy ) |
83 |
- |
84 |
-inherit distutils-r1 |
85 |
- |
86 |
-DESCRIPTION="Rolling backport of unittest.mock for all Pythons" |
87 |
-HOMEPAGE="https://github.com/testing-cabal/mock" |
88 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
89 |
- |
90 |
-LICENSE="BSD" |
91 |
-SLOT="0" |
92 |
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos" |
93 |
-IUSE="doc test" |
94 |
- |
95 |
-CDEPEND=" |
96 |
- >=dev-python/pbr-1.3[${PYTHON_USEDEP}] |
97 |
- virtual/python-funcsigs[${PYTHON_USEDEP}]" |
98 |
-DEPEND=" |
99 |
- >=dev-python/setuptools-17.1[${PYTHON_USEDEP}] |
100 |
- test? ( |
101 |
- ${CDEPEND} |
102 |
- dev-python/nose[${PYTHON_USEDEP}] |
103 |
- $(python_gen_cond_dep '>=dev-python/unittest2-1.1.0[${PYTHON_USEDEP}]' python{2_7,3_3} pypy) |
104 |
- )" |
105 |
-RDEPEND=" |
106 |
- ${CDEPEND} |
107 |
- >=dev-python/six-1.7[${PYTHON_USEDEP}] |
108 |
-" |
109 |
- |
110 |
-python_test() { |
111 |
- nosetests || die "tests fail under ${EPYTHON}" |
112 |
-} |
113 |
- |
114 |
-python_install_all() { |
115 |
- use doc && local DOCS=( docs/*.txt ) |
116 |
- |
117 |
- distutils-r1_python_install_all |
118 |
-} |