1 |
commit: 90911972e60ac55f788089e36f50db130b5e9bfb |
2 |
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com> |
3 |
AuthorDate: Sun Oct 28 17:06:03 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 29 23:14:58 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90911972 |
7 |
|
8 |
dev-python/e4u: bump to EAPI=7. |
9 |
|
10 |
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/10277 |
13 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
14 |
|
15 |
dev-python/e4u/e4u-0.1_rc5-r1.ebuild | 40 ++++++++++++++++++++++++++++++++++++ |
16 |
1 file changed, 40 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/e4u/e4u-0.1_rc5-r1.ebuild b/dev-python/e4u/e4u-0.1_rc5-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..a2a6610f9ab |
21 |
--- /dev/null |
22 |
+++ b/dev-python/e4u/e4u-0.1_rc5-r1.ebuild |
23 |
@@ -0,0 +1,40 @@ |
24 |
+# Copyright 1999-2018 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI="7" |
28 |
+ |
29 |
+PYTHON_COMPAT=( python2_7 ) |
30 |
+ |
31 |
+inherit distutils-r1 |
32 |
+ |
33 |
+MY_PV="${PV/_/}" |
34 |
+ |
35 |
+DESCRIPTION="A library for handling unicode emoji and carrier's emoji" |
36 |
+HOMEPAGE="https://github.com/lambdalisue/e4u" |
37 |
+SRC_URI="https://github.com/lambdalisue/e4u/archive/${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz" |
38 |
+ |
39 |
+KEYWORDS="~amd64 ~x86" |
40 |
+LICENSE="BSD" |
41 |
+SLOT="0" |
42 |
+ |
43 |
+RDEPEND="dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]" |
44 |
+DEPEND="${RDEPEND}" |
45 |
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
46 |
+ |
47 |
+S="${WORKDIR}/${PN}-${MY_PV}" |
48 |
+ |
49 |
+PATCHES=( |
50 |
+ "${FILESDIR}"/change-emoji4unicode-url.patch |
51 |
+ "${FILESDIR}"/initialize-e4u-tests.patch |
52 |
+) |
53 |
+ |
54 |
+python_test() { |
55 |
+ esetup.py test |
56 |
+} |
57 |
+ |
58 |
+python_install_all() { |
59 |
+ insinto /usr/share/e4u |
60 |
+ doins e4u/data/emoji4unicode.xml |
61 |
+ |
62 |
+ distutils-r1_python_install_all |
63 |
+} |