dev-python/pyicu: remove old
authorMarek Szuba <marecki@gentoo.org>
Wed, 25 Mar 2020 16:40:59 +0000 (17:40 +0100)
committerMarek Szuba <marecki@gentoo.org>
Wed, 25 Mar 2020 16:55:50 +0000 (17:55 +0100)
Signed-off-by: Marek Szuba <marecki@gentoo.org>
dev-python/pyicu/Manifest
dev-python/pyicu/files/pyicu-2.3.1-testSurrogatePairs_workaround.patch [deleted file]
dev-python/pyicu/pyicu-2.3.1.ebuild [deleted file]
dev-python/pyicu/pyicu-2.3.ebuild [deleted file]

index 754cb8c3cd21d0860096a33e681abffbd65c1264..40ab56c8000fdf348ef95d23e97b31f16acec233 100644 (file)
@@ -1,3 +1 @@
-DIST PyICU-2.3.1.tar.gz 214761 BLAKE2B 6571f1c10b6fa15b0b6fde76c16b2e1a1fa99af83db615aa7f7a172844183ca2a818747749b38e36162ff297c3e99311cd3328333880374c1c151955fe983f78 SHA512 edb60320ffe649f257d4d691ad9cc8287a7611de6a970d33a25a6e12a14c1faa591023d99d0b10619b0860bba70d1b67af2eff5cf146381afcaa872f0af1be29
-DIST PyICU-2.3.tar.gz 214710 BLAKE2B ef676cce089962d16a88193e7aa2ffec739086e5bbef201c8779a372a5876bbb1e63e5e92a7c89c879b91f063e90d4fdb16a1967dff5f2ef658cde95f9fdca6c SHA512 2bdbc7fb7c83e58c9d0d53dadf8fef92d8dec02e9eefebc75bac43c19f008ef2a3219d41b62c426c41a055bb4530b2f7ef567162660d6021b8d2bf9e99090f94
 DIST PyICU-2.4.2.tar.gz 219356 BLAKE2B dc6ad1e8944e43560314e9dbfcd37e58b52b50874656f7ca66497a317b03bb9bf988515417660be87bb2e73e0484e5870cd3db2c5eab47fda1223e7514935fb0 SHA512 3cd1f632c2551dce3d721c54190a19c2a46e2554ef54915c9e07b133fa4a499b1a8c49f406abe9777721903799eb23a2d55d3b1aadd758870f8bd591f143a05b
diff --git a/dev-python/pyicu/files/pyicu-2.3.1-testSurrogatePairs_workaround.patch b/dev-python/pyicu/files/pyicu-2.3.1-testSurrogatePairs_workaround.patch
deleted file mode 100644 (file)
index 3525cc1..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
---- a/test/test_Script.py
-+++ b/test/test_Script.py
-@@ -40,12 +40,16 @@ class TestScript(TestCase):
-         if unicode_32bit:
-             self.assertEqual(['Latn', 'Deva', 'Hani', 'Hani'], names)
-         else:
--            self.assertEqual(['Latn', 'Deva', 'Hani', 'Zzzz', 'Zzzz'], names)
-+            self.assertTrue(
-+                (['Latn', 'Deva', 'Hani', 'Zzzz', 'Zzzz'] == names) or
-+                (['Latn', 'Deva', 'Hani', 'Zyyy', 'Zyyy'] == names))
-         pairs = UnicodeString(pairs)
-         # iterating UChar, not codepoints
-         names = [Script.getScript(c).getShortName() for c in pairs]
--        self.assertEqual(['Latn', 'Deva', 'Hani', 'Zzzz', 'Zzzz'], names)
-+        self.assertTrue(
-+            (['Latn', 'Deva', 'Hani', 'Zzzz', 'Zzzz'] == names) or
-+            (['Latn', 'Deva', 'Hani', 'Zyyy', 'Zyyy'] == names))
-         # iterating codepoints not UChar
-         names = [Script.getScript(cp).getShortName()
-@@ -53,7 +57,9 @@ class TestScript(TestCase):
-         if unicode_32bit:
-             self.assertEqual(['Latn', 'Deva', 'Hani', 'Hani'], names)
-         else:
--            self.assertEqual(['Latn', 'Deva', 'Hani', 'Zzzz', 'Zzzz'], names)
-+            self.assertTrue(
-+                (['Latn', 'Deva', 'Hani', 'Zzzz', 'Zzzz'] == names) or
-+                (['Latn', 'Deva', 'Hani', 'Zyyy', 'Zyyy'] == names))
-         # iterating codepoints, not UChar
-         names = [Script.getScript(pairs.char32At(i)).getShortName()
-
diff --git a/dev-python/pyicu/pyicu-2.3.1.ebuild b/dev-python/pyicu/pyicu-2.3.1.ebuild
deleted file mode 100644 (file)
index de37a35..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-
-inherit distutils-r1
-
-MY_PN="PyICU"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Python bindings for dev-libs/icu"
-HOMEPAGE="https://github.com/ovalhub/pyicu"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="${PYTHON_DEPS}
-       dev-libs/icu:="
-DEPEND="${RDEPEND}
-       test? ( dev-python/pytest
-               dev-python/six )"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS=(CHANGES CREDITS README.md)
-
-# This will no longer be necessary in the next release
-PATCHES=( "${FILESDIR}"/${PN}-2.3.1-testSurrogatePairs_workaround.patch )
-
-python_test() {
-       esetup.py test
-}
diff --git a/dev-python/pyicu/pyicu-2.3.ebuild b/dev-python/pyicu/pyicu-2.3.ebuild
deleted file mode 100644 (file)
index 0be3b18..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-
-inherit distutils-r1 flag-o-matic
-
-MY_PN="PyICU"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Python bindings for dev-libs/icu"
-HOMEPAGE="https://github.com/ovalhub/pyicu"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="${PYTHON_DEPS}
-       dev-libs/icu:="
-DEPEND="${RDEPEND}
-       test? ( dev-python/pytest
-               dev-python/six )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS=(CHANGES CREDITS README.md)
-
-python_test() {
-       if [[ ${EPYTHON} == python2* ]]; then
-               # See Bug #644226
-               ewarn "Skipping tests for ${EPYTHON} because they are known to fail"
-       else
-               esetup.py test
-       fi
-}