summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-28 09:18:45 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-28 09:33:42 +0100
commitf94f5324ce10a32512c9d3b1042e36a235688e6e (patch)
tree585bc99dcffd700011a9853806296800d9873606
parentdev-python/meld3: Remove redundant versions (diff)
downloadgentoo-f94f5324ce10a32512c9d3b1042e36a235688e6e.tar.gz
gentoo-f94f5324ce10a32512c9d3b1042e36a235688e6e.tar.bz2
gentoo-f94f5324ce10a32512c9d3b1042e36a235688e6e.zip
dev-python/mock: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/mock/Manifest2
-rw-r--r--dev-python/mock/files/mock-1.0.1-fix-python3.4.patch30
-rw-r--r--dev-python/mock/mock-1.0.1-r2.ebuild42
-rw-r--r--dev-python/mock/mock-1.3.0-r2.ebuild45
4 files changed, 0 insertions, 119 deletions
diff --git a/dev-python/mock/Manifest b/dev-python/mock/Manifest
index d8ae973f1c4e..a2fd44f263c5 100644
--- a/dev-python/mock/Manifest
+++ b/dev-python/mock/Manifest
@@ -1,4 +1,2 @@
-DIST mock-1.0.1.tar.gz 818644 BLAKE2B 7bfe02c413c2f98a2d98ca9cc40ca8831d65b3a5095d95625e0844e764c3510b771dc9e36086dd44f518659cdf7f1d105c02bdb51c5ffe00953c5eb3b0e05106 SHA512 4f6f4ebc34843e16b15d866e415ad9992e79bd266a63a22fee31b773ba77615e3406bc8890ceed92c0ee296380d68c46299c4c4448a3526f9cb96b258d32cf58
-DIST mock-1.3.0.tar.gz 70908 BLAKE2B 4df669c5d54fc835c70d6190362d4dea9cc0d2e7ca47f6ef5a394bc80cac10898b611146f28da93e84c4b26c23f25708be3c8fc6b61062dae099396e351861d8 SHA512 10cbb78b89f2e82abfcadc035a526182f83b59df4775cd85acfdbeb4505791c63b7a3761e6126a08d9aedbd07ead8632ac2a728dc07a362f4aaeea694bdecaf9
DIST mock-2.0.0.tar.gz 73684 BLAKE2B 970bebe72b6969b58acdc2856b53054f992d01f9f3ca5f91b73073d0a1c9ec89a5c94fd66eab85b258f23f33326825ff6598bb2ba8e07eded1e6540a26ac5fa3 SHA512 a08007651b749d2843b94f5045d74c122958888290aea21930455538a854e6b04c07115e21d82edde996154bf597d7a8784a2f4213cbabc49a98dec22dd92238
DIST mock-3.0.5.gh.tar.gz 67887 BLAKE2B b9c49b3627275889d73aff9ea9c7925093f9cafb304448b2f06eda2fff26152a031aafb4844537e4d58bc112709e59a44e08d32602776386a30d039743def29c SHA512 9ab4f0c794f5701ba1367d982cf79a5662d4233753d12ed9c88ae20282db1f44be73f84c4d9f6d03ff64926b8c1b6d0c9a79b2a4724a3eb36c247ffd4ab03e2d
diff --git a/dev-python/mock/files/mock-1.0.1-fix-python3.4.patch b/dev-python/mock/files/mock-1.0.1-fix-python3.4.patch
deleted file mode 100644
index 166ee2ac00d3..000000000000
--- a/dev-python/mock/files/mock-1.0.1-fix-python3.4.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-# Fix test errors with python 3.4 - thanks to Ubuntu developer Barry Warsaw.
-
-diff -r d356250e275d mock.py
---- a/mock.py Tue Apr 09 14:53:33 2013 +0100
-+++ b/mock.py Wed Feb 26 15:12:18 2014 -0500
-@@ -239,12 +239,21 @@
- funcopy.__name__ = func.__name__
- funcopy.__doc__ = func.__doc__
- #funcopy.__dict__.update(func.__dict__)
-- funcopy.__module__ = func.__module__
-+ try:
-+ funcopy.__module__ = func.__module__
-+ except AttributeError:
-+ pass
- if not inPy3k:
- funcopy.func_defaults = func.func_defaults
- return
-- funcopy.__defaults__ = func.__defaults__
-- funcopy.__kwdefaults__ = func.__kwdefaults__
-+ try:
-+ funcopy.__defaults__ = func.__defaults__
-+ except AttributeError:
-+ pass
-+ try:
-+ funcopy.__kwdefaults__ = func.__kwdefaults__
-+ except AttributeError:
-+ pass
-
-
- def _callable(obj):
diff --git a/dev-python/mock/mock-1.0.1-r2.ebuild b/dev-python/mock/mock-1.0.1-r2.ebuild
deleted file mode 100644
index 0f26cbcab9cb..000000000000
--- a/dev-python/mock/mock-1.0.1-r2.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_6 pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="A Python Mocking and Patching Library for Testing"
-HOMEPAGE="http://www.voidspace.org.uk/python/mock/ https://pypi.org/project/mock/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-# dev-python/unittest2 is not required with Python >=3.2.
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- test? (
- dev-python/nose[${PYTHON_USEDEP}]
- $(python_gen_cond_dep 'dev-python/unittest2[${PYTHON_USEDEP}]' python2_7 pypy)
- )"
-RDEPEND=""
-
-PATCHES=( "${FILESDIR}"/${P}-fix-python3.4.patch )
-
-python_test() {
- nosetests || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- local DOCS=( docs/*.txt )
-
- distutils-r1_python_install_all
-
- if use doc; then
- dohtml -r html/ -x html/objects.inv -x html/output.txt -x html/_sources
- fi
-}
diff --git a/dev-python/mock/mock-1.3.0-r2.ebuild b/dev-python/mock/mock-1.3.0-r2.ebuild
deleted file mode 100644
index 1d572e5630ee..000000000000
--- a/dev-python/mock/mock-1.3.0-r2.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_6 pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Rolling backport of unittest.mock for all Pythons"
-HOMEPAGE="https://github.com/testing-cabal/mock"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-CDEPEND="
- >=dev-python/pbr-1.3[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- dev-python/funcsigs[${PYTHON_USEDEP}]
- ' -2)"
-DEPEND="
- >=dev-python/setuptools-17.1[${PYTHON_USEDEP}]
- test? (
- ${CDEPEND}
- dev-python/nose[${PYTHON_USEDEP}]
- >=dev-python/unittest2-1.1.0[${PYTHON_USEDEP}]
- )"
-RDEPEND="
- ${CDEPEND}
- >=dev-python/six-1.7[${PYTHON_USEDEP}]
-"
-
-python_test() {
- nosetests --verbose || die "tests fail under ${EPYTHON}"
-}
-
-python_install_all() {
- local DOCS=( docs/{conf.py,index.txt} AUTHORS ChangeLog NEWS README.rst )
-
- distutils-r1_python_install_all
-}