commit:     fe7ddfb98886215d2c2f76c69e4a1451cd8f8a5c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 16 22:50:40 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 16 23:03:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe7ddfb9

dev-python/funcsigs: Remove last-rited pkg

Closes: https://bugs.gentoo.org/755074
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/funcsigs/Manifest                       |  1 -
 .../files/funcsigs-1.0.2-fix-pypy3-tests.patch     | 94 ----------------------
 dev-python/funcsigs/funcsigs-1.0.2-r2.ebuild       | 33 --------
 dev-python/funcsigs/metadata.xml                   | 11 ---
 profiles/package.mask                              |  5 --
 5 files changed, 144 deletions(-)

diff --git a/dev-python/funcsigs/Manifest b/dev-python/funcsigs/Manifest
deleted file mode 100644
index 07d79033be2..00000000000
--- a/dev-python/funcsigs/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST funcsigs-1.0.2.tar.gz 27947 BLAKE2B 
3006d46018ae040b930e397c3f11575ae0ef18a8b2c9b6c10075804d83d23bea1fb81179de85180146673e0bd4c775a68c0ff624cdaceb1894efe5b2c8fd753c
 SHA512 
4e583bb7081bb1d6c0fe5a6935ca03032d562b93ef5c11b51a72ce9e7ac12902451cc2233c7e6f70440629d88d8e6e9625965ee408100b80b0024f3a6204afda

diff --git a/dev-python/funcsigs/files/funcsigs-1.0.2-fix-pypy3-tests.patch 
b/dev-python/funcsigs/files/funcsigs-1.0.2-fix-pypy3-tests.patch
deleted file mode 100644
index f4ecec3b613..00000000000
--- a/dev-python/funcsigs/files/funcsigs-1.0.2-fix-pypy3-tests.patch
+++ /dev/null
@@ -1,94 +0,0 @@
-diff --git a/tests/test_inspect.py b/tests/test_inspect.py
-index 98d6592..3a2a1f2 100644
---- a/tests/test_inspect.py
-+++ b/tests/test_inspect.py
-@@ -8,6 +8,7 @@ import unittest2 as unittest
- 
- import funcsigs as inspect
- 
-+import platform
- 
- class TestSignatureObject(unittest.TestCase):
-     @staticmethod
-@@ -409,7 +410,7 @@ def test_signature_on_decorated(self):
-                       Ellipsis))
- """)
- 
--    if sys.version_info[0] > 2:
-+    if sys.version_info[0] > 2 and platform.python_implementation() != "PyPy":
-         exec("""
- def test_signature_on_class(self):
-     class C:
-@@ -493,41 +494,44 @@ def test_signature_on_class(self):
-                       Ellipsis))
- """)
- 
--    def test_signature_on_callable_objects(self):
--        class Foo(object):
--            def __call__(self, a):
--                pass
-+    if platform.python_implementation() != "PyPy":
-+        exec("""
-+def test_signature_on_callable_objects(self):
-+    class Foo(object):
-+        def __call__(self, a):
-+            pass
- 
--        self.assertEqual(self.signature(Foo()),
--                         ((('a', Ellipsis, Ellipsis, 
"positional_or_keyword"),),
--                          Ellipsis))
-+    self.assertEqual(self.signature(Foo()),
-+                     ((('a', Ellipsis, Ellipsis, "positional_or_keyword"),),
-+                      Ellipsis))
- 
--        class Spam(object):
--            pass
--        with self.assertRaisesRegex(TypeError, "is not a callable object"):
--            inspect.signature(Spam())
-+    class Spam(object):
-+        pass
-+    with self.assertRaisesRegex(TypeError, "is not a callable object"):
-+        inspect.signature(Spam())
- 
--        class Bar(Spam, Foo):
--            pass
-+    class Bar(Spam, Foo):
-+        pass
- 
--        self.assertEqual(self.signature(Bar()),
--                         ((('a', Ellipsis, Ellipsis, 
"positional_or_keyword"),),
--                          Ellipsis))
-+    self.assertEqual(self.signature(Bar()),
-+                     ((('a', Ellipsis, Ellipsis, "positional_or_keyword"),),
-+                      Ellipsis))
- 
--        class ToFail(object):
--            __call__ = type
--        with self.assertRaisesRegex(ValueError, "not supported by signature"):
--            inspect.signature(ToFail())
-+    class ToFail(object):
-+        __call__ = type
-+    with self.assertRaisesRegex(ValueError, "not supported by signature"):
-+        inspect.signature(ToFail())
- 
--        if sys.version_info[0] < 3:
--            return
-+    if sys.version_info[0] < 3:
-+        return
- 
--        class Wrapped(object):
--            pass
--        Wrapped.__wrapped__ = lambda a: None
--        self.assertEqual(self.signature(Wrapped),
--                         ((('a', Ellipsis, Ellipsis, 
"positional_or_keyword"),),
--                          Ellipsis))
-+    class Wrapped(object):
-+        pass
-+    Wrapped.__wrapped__ = lambda a: None
-+    self.assertEqual(self.signature(Wrapped),
-+                     ((('a', Ellipsis, Ellipsis, "positional_or_keyword"),),
-+                      Ellipsis))
-+""")
- 
-     def test_signature_on_lambdas(self):
-         self.assertEqual(self.signature((lambda a=10: a)),

diff --git a/dev-python/funcsigs/funcsigs-1.0.2-r2.ebuild 
b/dev-python/funcsigs/funcsigs-1.0.2-r2.ebuild
deleted file mode 100644
index 0a8b618ac41..00000000000
--- a/dev-python/funcsigs/funcsigs-1.0.2-r2.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python{3_6,3_7} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Python function signatures backport from PEP362 for Python 
2.7-3.5"
-HOMEPAGE="https://pypi.org/project/funcsigs/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="Apache-2.0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc 
x86 ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( dev-python/unittest2[${PYTHON_USEDEP}] )"
-
-PATCHES=(
-       # This patch disables some tests for pypy as they do not work as 
expected.
-       # This has been reported upstream
-       # https://github.com/testing-cabal/funcsigs/issues/10
-       "${FILESDIR}/${P}-fix-pypy3-tests.patch"
-)
-
-python_test() {
-       esetup.py test
-}

diff --git a/dev-python/funcsigs/metadata.xml b/dev-python/funcsigs/metadata.xml
deleted file mode 100644
index bb74f00502a..00000000000
--- a/dev-python/funcsigs/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-  <maintainer type="project">
-    <email>pyt...@gentoo.org</email>
-    <name>Python</name>
-  </maintainer>
-  <upstream>
-    <remote-id type="pypi">funcsigs</remote-id>
-  </upstream>
-</pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index 7d5d20db1e4..9cbae73cc31 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -334,11 +334,6 @@ dev-python/parametrized
 dev-python/gitdb2
 dev-python/smmap2
 
-# Michał Górny <mgo...@gentoo.org> (2020-11-17)
-# Old backport package with no revdeps.
-# Removal in 30 days.  Bug #755074.
-dev-python/funcsigs
-
 # Jonas Stein <jst...@gentoo.org> (2020-11-12)
 # Adobe will stop distributing Flash Player after 2020-12-31.
 # Masked for removal after 2020-12-31

Reply via email to