+++ /dev/null
-DIST e4u-0.1rc5.tar.gz 51001 BLAKE2B 32f8b1a32d0f1b51eb97169f0375cf725571c2c7df8cab7414483c997bc7e501c19339d2fbe287718cd50afc2451bc9e9a39d2b42b242657d9a52931f89cfa0e SHA512 d19085a767275c91e807517d714955c123e2dbe3c3904240e09ba115298474067f60393ab613af3eb1af8a09964b157acfc6d69dcaccc4493b014a9bc51e3662
+++ /dev/null
-# 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
-}
+++ /dev/null
---- 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:
+++ /dev/null
---- 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
-
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>conikost@gentoo.org</email>
- <name>Conrad Kostecki</name>
- </maintainer>
- <upstream>
- <bugs-to>https://github.com/lambdalisue/e4u/issues</bugs-to>
- <remote-id type="github">lambdalisue/e4u</remote-id>
- </upstream>
- <longdescription>
- 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.
- </longdescription>
-</pkgmetadata>
# Masked for removal in 30 days. Bugs #634288, #703742.
games-misc/fortune-mod-woody-allen-it
-# Conrad Kostecki <conikost@gentoo.org> (2020-02-04)
-# Python2 only, no reverse dependencies left, since they got removed.
-# Masked for removal in 30 days.
-dev-python/e4u
-
# Mart Raudsepp <leio@gentoo.org> (2020-02-03)
# Known breakages that need to be handled first, bug 698922
>=x11-libs/pango-1.43