From 66f2fd276031afdc7cfe85fbfe8835e57781e9de Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 4 Mar 2020 17:40:58 +0100 Subject: [PATCH] dev-python/e4u: Remove last-rited pkg MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/e4u/Manifest | 1 - dev-python/e4u/e4u-0.1_rc5-r1.ebuild | 40 ------------------- .../e4u/files/change-emoji4unicode-url.patch | 33 --------------- .../e4u/files/initialize-e4u-tests.patch | 11 ----- dev-python/e4u/metadata.xml | 17 -------- profiles/package.mask | 5 --- 6 files changed, 107 deletions(-) delete mode 100644 dev-python/e4u/Manifest delete mode 100644 dev-python/e4u/e4u-0.1_rc5-r1.ebuild delete mode 100644 dev-python/e4u/files/change-emoji4unicode-url.patch delete mode 100644 dev-python/e4u/files/initialize-e4u-tests.patch delete mode 100644 dev-python/e4u/metadata.xml diff --git a/dev-python/e4u/Manifest b/dev-python/e4u/Manifest deleted file mode 100644 index 6b9e55cf805a..000000000000 --- a/dev-python/e4u/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST e4u-0.1rc5.tar.gz 51001 BLAKE2B 32f8b1a32d0f1b51eb97169f0375cf725571c2c7df8cab7414483c997bc7e501c19339d2fbe287718cd50afc2451bc9e9a39d2b42b242657d9a52931f89cfa0e SHA512 d19085a767275c91e807517d714955c123e2dbe3c3904240e09ba115298474067f60393ab613af3eb1af8a09964b157acfc6d69dcaccc4493b014a9bc51e3662 diff --git a/dev-python/e4u/e4u-0.1_rc5-r1.ebuild b/dev-python/e4u/e4u-0.1_rc5-r1.ebuild deleted file mode 100644 index fb1a511d5cd5..000000000000 --- a/dev-python/e4u/e4u-0.1_rc5-r1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -MY_PV="${PV/_/}" - -DESCRIPTION="A library for handling unicode emoji and carrier's emoji" -HOMEPAGE="https://github.com/lambdalisue/e4u" -SRC_URI="https://github.com/lambdalisue/e4u/archive/${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz" - -KEYWORDS="amd64 x86" -LICENSE="BSD" -SLOT="0" - -RDEPEND="dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" - -S="${WORKDIR}/${PN}-${MY_PV}" - -PATCHES=( - "${FILESDIR}"/change-emoji4unicode-url.patch - "${FILESDIR}"/initialize-e4u-tests.patch -) - -python_test() { - esetup.py test -} - -python_install_all() { - insinto /usr/share/e4u - doins e4u/data/emoji4unicode.xml - - distutils-r1_python_install_all -} diff --git a/dev-python/e4u/files/change-emoji4unicode-url.patch b/dev-python/e4u/files/change-emoji4unicode-url.patch deleted file mode 100644 index ff9e54bf72a0..000000000000 --- a/dev-python/e4u/files/change-emoji4unicode-url.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/e4u/__init__.py 2018-05-22 08:32:05.000000000 +0200 -+++ b/e4u/__init__.py 2018-07-04 19:40:53.000000000 +0200 -@@ -11,15 +11,15 @@ - - _loader = None - --def load(filename=None, -- url=r"https://raw.githubusercontent.com/googlei18n/emoji4unicode/master/data/emoji4unicode.xml", -+def load(filename=r"/usr/share/e4u/emoji4unicode.xml", -+ url=None, - loader_class=None): - u"""load google's `emoji4unicode` project's xml file. must call this method first to use `e4u` library. this method never work twice if you want to reload, use `e4u.reload()` insted.""" - if not has_loaded(): - reload(filename, url, loader_class) - --def reload(filename=None, -- url=r"https://raw.githubusercontent.com/googlei18n/emoji4unicode/master/data/emoji4unicode.xml", -+def reload(filename=r"/usr/share/e4u/emoji4unicode.xml", -+ url=None, - loader_class=None): - u"""reload google's `emoji4unicode` project's xml file. must call this method first to use `e4u` library.""" - if loader_class is None: ---- a/e4u/loader.py 2018-05-22 08:32:05.000000000 +0200 -+++ b/e4u/loader.py 2018-07-04 19:43:05.000000000 +0200 -@@ -32,7 +32,7 @@ - self._translate_dictionaries = create_translate_dictionaries(self.symbols) - - -- def load(self, filename=None, url=r"https://raw.githubusercontent.com/googlei18n/emoji4unicode/master/data/emoji4unicode.xml"): -+ def load(self, filename=r"/usr/share/e4u/emoji4unicode.xml", url=None): - if filename: - xml = open(filename, 'r').read() - else: diff --git a/dev-python/e4u/files/initialize-e4u-tests.patch b/dev-python/e4u/files/initialize-e4u-tests.patch deleted file mode 100644 index cc120ba3d488..000000000000 --- a/dev-python/e4u/files/initialize-e4u-tests.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/test/test.py 2018-05-22 08:32:05.000000000 +0200 -+++ b/test/test.py 2018-07-07 00:41:02.861367660 +0200 -@@ -7,7 +7,7 @@ - import unittest - import e4u - --e4u.load() -+e4u.load(filename=r"./e4u/data/emoji4unicode.xml") - - DISPLAY_INFO = False - diff --git a/dev-python/e4u/metadata.xml b/dev-python/e4u/metadata.xml deleted file mode 100644 index 6ef851dc26a8..000000000000 --- a/dev-python/e4u/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - conikost@gentoo.org - Conrad Kostecki - - - https://github.com/lambdalisue/e4u/issues - lambdalisue/e4u - - - A library for handling unicode emoji and carrier's emoji. - The main feature is conversion unicode emoji to carrier's emoji - and conversion carrier's emoji to unicode emoji. - - diff --git a/profiles/package.mask b/profiles/package.mask index 6812cef409f9..ed31fad9f286 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -520,11 +520,6 @@ games-misc/fortune-mod-sp-fortunes # Masked for removal in 30 days. Bugs #634288, #703742. games-misc/fortune-mod-woody-allen-it -# Conrad Kostecki (2020-02-04) -# Python2 only, no reverse dependencies left, since they got removed. -# Masked for removal in 30 days. -dev-python/e4u - # Mart Raudsepp (2020-02-03) # Known breakages that need to be handled first, bug 698922 >=x11-libs/pango-1.43 -- 2.26.2