commit: 453f853494171c081e8e5f8e833682c55e7c21e8 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com> AuthorDate: Fri Jul 6 22:44:02 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat Jul 7 12:39:37 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=453f8534
dev-python/e4u: fix tests Closes: https://bugs.gentoo.org/660532 Package-Manager: Portage-2.3.41, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/9075 dev-python/e4u/e4u-0.1_rc5.ebuild | 5 ++++- dev-python/e4u/files/initialize-e4u-tests.patch | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/dev-python/e4u/e4u-0.1_rc5.ebuild b/dev-python/e4u/e4u-0.1_rc5.ebuild index b52ae0edf6d..018777c32b7 100644 --- a/dev-python/e4u/e4u-0.1_rc5.ebuild +++ b/dev-python/e4u/e4u-0.1_rc5.ebuild @@ -25,7 +25,10 @@ DEPEND="${DEPEND}" 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 diff --git a/dev-python/e4u/files/initialize-e4u-tests.patch b/dev-python/e4u/files/initialize-e4u-tests.patch new file mode 100644 index 00000000000..cc120ba3d48 --- /dev/null +++ b/dev-python/e4u/files/initialize-e4u-tests.patch @@ -0,0 +1,11 @@ +--- 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 +
