diff options
Diffstat (limited to 'dev-python/e4u/e4u-0.1_rc5.ebuild')
-rw-r--r-- | dev-python/e4u/e4u-0.1_rc5.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/e4u/e4u-0.1_rc5.ebuild b/dev-python/e4u/e4u-0.1_rc5.ebuild new file mode 100644 index 000000000000..b52ae0edf6d2 --- /dev/null +++ b/dev-python/e4u/e4u-0.1_rc5.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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" +IUSE="test" + +RDEPEND="dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}]" + +DEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-${MY_PV}" + +PATCHES=( "${FILESDIR}"/change-emoji4unicode-url.patch ) + +python_test() { + esetup.py test +} + +python_install_all() { + insinto /usr/share/e4u + doins e4u/data/emoji4unicode.xml + + distutils-r1_python_install_all +} |