diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-02-21 14:01:11 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-02-21 14:03:43 -0500 |
commit | c19180e0ae136723e1aa82edafe5be2060bc1756 (patch) | |
tree | a2c8487c2138289cac0e02ffaa3ab7c874912bbf /dev-python/python-efl | |
parent | media-plugins/evas_generic_players: version bump to 1.17.0 (diff) | |
download | gentoo-c19180e0ae136723e1aa82edafe5be2060bc1756.tar.gz gentoo-c19180e0ae136723e1aa82edafe5be2060bc1756.tar.bz2 gentoo-c19180e0ae136723e1aa82edafe5be2060bc1756.zip |
dev-python/python-efl: version bump to 1.17.0
Diffstat (limited to 'dev-python/python-efl')
-rw-r--r-- | dev-python/python-efl/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-efl/python-efl-1.17.0.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/python-efl/Manifest b/dev-python/python-efl/Manifest index beada9109a8a..dde111bacb26 100644 --- a/dev-python/python-efl/Manifest +++ b/dev-python/python-efl/Manifest @@ -1 +1,2 @@ DIST python-efl-1.16.0.tar.xz 8737592 SHA256 3418ca7dc38f07bf610b9dcc7ce356bc8c45247a2100679bf840f640e2744e90 SHA512 6ee6f373b376af67af4124360482f7f0c2fb8b6e4c354ebba21c141a06be3f68ff17dcea45422c38d9e19595df035603df268aff74489007be6b9db13b861812 WHIRLPOOL 14cf92c31efae6a75de3d693075db8c3657519a60662db3373c8abef655d982f24e8ceddf10be605ec515b15d545ca4e2417767e3e48d68639e312f089bf2eff +DIST python-efl-1.17.0.tar.xz 8835228 SHA256 9ea0fe0938bd4a970206b2b18f46f4d2a4fd1994e9b5f84af2d5f9fa98739179 SHA512 ff610dbacf72853b6c8fb1dcd41451f97156845efeb67a2d5d6c35d9b20c0f024c145a26a579f675bc2ad5844c23e58d8b21a09374aa195174f1a0c6316c0de4 WHIRLPOOL 0ee05c0cb175128c4719883a4c362ce4b3f98a93a7d960e47be2fa60a375748fc89599a111277d77a44caa9c96ad509d5b1c14c1ebafeb739461914560f2b4ed diff --git a/dev-python/python-efl/python-efl-1.17.0.ebuild b/dev-python/python-efl/python-efl-1.17.0.ebuild new file mode 100644 index 000000000000..a1ba58ee449f --- /dev/null +++ b/dev-python/python-efl/python-efl-1.17.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +MY_P=${P/_/-} + +if [[ "${PV}" == "9999" ]] ; then + EGIT_SUB_PROJECT="bindings/python" + EGIT_URI_APPEND="${PN}" + EGIT_REPO_URI="git://git.enlightenment.org/${EGIT_SUB_PROJECT}/${EGIT_URI_APPEND}.git" + inherit git-2 +else + SRC_URI="https://download.enlightenment.org/rel/bindings/python/${MY_P}.tar.xz" +fi + +inherit distutils-r1 + +DESCRIPTION="Python bindings for Enlightenment Fundation Libraries" +HOMEPAGE="http://www.enlightenment.org" + +LICENSE="|| ( GPL-3 LGPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +RDEPEND=">=dev-libs/efl-${PV} + >=media-libs/elementary-${PV} + >dev-python/dbus-python-0.83[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/cython-0.17[${PYTHON_USEDEP}] + doc? ( + media-gfx/graphviz[python] + dev-python/sphinx[${PYTHON_USEDEP}] + ) + doc? ( >dev-python/sphinx-1.0[${PYTHON_USEDEP}] )" + +python_compile_all() { + if use doc ; then + # Point sphinx to right location with builded sources + sed -i 's|"../build/"+d|"'"${BUILD_DIR}"'/lib"|g' doc/conf.py + esetup.py build_doc --build-dir "${S}"/build/doc/ + fi +} + +python_test() { + cd "${S}"/tests + rm -f ecore/test_09_file_download.py # violates sandbox + sed -i 's:verbosity=1:verbosity=3:' 00_run_all_tests.py || die + ${PYTHON} 00_run_all_tests.py --verbose || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + use doc && DOCS=( "${S}"/build/doc/html ) + use examples && EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} |