Closes: https://bugs.gentoo.org/660532
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9075
S="${WORKDIR}/${PN}-${MY_PV}"
-PATCHES=( "${FILESDIR}"/change-emoji4unicode-url.patch )
+PATCHES=(
+ "${FILESDIR}"/change-emoji4unicode-url.patch
+ "${FILESDIR}"/initialize-e4u-tests.patch
+)
python_test() {
esetup.py test
--- /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
+