diff options
Diffstat (limited to 'dev-python/python-efl')
-rw-r--r-- | dev-python/python-efl/Manifest | 6 | ||||
-rw-r--r-- | dev-python/python-efl/metadata.xml | 8 | ||||
-rw-r--r-- | dev-python/python-efl/python-efl-1.17.0.ebuild | 61 | ||||
-rw-r--r-- | dev-python/python-efl/python-efl-1.18.0.ebuild | 61 |
4 files changed, 136 insertions, 0 deletions
diff --git a/dev-python/python-efl/Manifest b/dev-python/python-efl/Manifest new file mode 100644 index 000000000000..742eb86c9508 --- /dev/null +++ b/dev-python/python-efl/Manifest @@ -0,0 +1,6 @@ +DIST python-efl-1.17.0.tar.xz 8835228 SHA256 9ea0fe0938bd4a970206b2b18f46f4d2a4fd1994e9b5f84af2d5f9fa98739179 SHA512 ff610dbacf72853b6c8fb1dcd41451f97156845efeb67a2d5d6c35d9b20c0f024c145a26a579f675bc2ad5844c23e58d8b21a09374aa195174f1a0c6316c0de4 WHIRLPOOL 0ee05c0cb175128c4719883a4c362ce4b3f98a93a7d960e47be2fa60a375748fc89599a111277d77a44caa9c96ad509d5b1c14c1ebafeb739461914560f2b4ed +DIST python-efl-1.18.0.tar.xz 8927932 SHA256 1751e119c3fc4ee842c00ae3d667d6bda88d92eff424b06a31e9407db8ee225d SHA512 c1fc8d4129c2ac61b367ad373ad676a60cf0aed4c9150104d7e81bf464c44a3a5ae555d2298bbf1bdf6a3d6ba3b7d934af390e36755a1516972db2675d920c2b WHIRLPOOL cb5e9df770b4dd5fae78b6e7ba0ff8e593f9fa5c1ee098a5976250e2b44e3c428b57ef58dd184abd50beef29af1c08574b8f84be4e3ce06218580f6e559e068a +EBUILD python-efl-1.17.0.ebuild 1637 SHA256 85524e4ba898df9b79a79431ffbfbb9a494188c5ca2633fee3aadc485af61972 SHA512 cf47dc3fd80f34e1fec86218f50759af69acf835064c658618d1ac4c21fe78d2f119ce33e5c7367811a0418c31b2f24f2d246571f602c24aeeb324b29c67a471 WHIRLPOOL 01edffa4fc08290c560fc7f73a2f9fefc9e7420afd1178e2c6b8bf0e31737c167ecf4b1f5b96d7223dcc506904568351ca19c6f5dd4aedc995e6ad1ad88707ac +EBUILD python-efl-1.18.0.ebuild 1628 SHA256 8a90a5741365df3e1166435fa115e635dbeb3bccae20e4c41ece58c59a78b63c SHA512 7d9ac3b6be557ea9801f4bf90c9399d9e6f4c4b8d3880fc898c5359aac1f873abe70189d52cbc5f8a8ed3c119da367ba2cb7ca828e39f85582b47cee9cb723fb WHIRLPOOL adf265518a6dd92b6300c502e288b5e1b32611372e005257d3b2967a0af966c1a232a3f258fa7f0747557f7c22704c337b71c7078efac05d8b70c84d481cb13a +MISC ChangeLog 1569 SHA256 63b57e5cb72b969265060106495666c4f77acc132d6d9db020087c9adff6f5e7 SHA512 d57ee6808ec35f75932ac31a027d530781a71a1b58d18055347a4c07282f0f95c95ac048c4048e7bb72df9e8c5e07a6c1c0dd267eb9daf5fcb383de5d6ddf4e3 WHIRLPOOL 02deeb78639239ff40270a385627ee9dc592e10de39d555d9d5d5826589bd41df8a973886a7eb2f1d053ebb606cccae97ef390979ea9698eb77ec3881ae79455 +MISC metadata.xml 258 SHA256 37dfcf5268b6c72244a1e88ef13818d60253d4814da400b82dd3d9a2cfc165e0 SHA512 59d30cd09990b755f6e1f0198e7ce860fe587038c5c020e44a9219aba431d96393ff0c5bdd5dd0db3512cc3d5c7b9992af242810204883663591432a0fa67997 WHIRLPOOL fbf816d88e3fad8cfab6bd5f4765697c37e9047b5122e4e567994e46c257a66939953d73378dd9c7ff0703315176c72e1e2a7edd5629a31de10c10c13c5707d8 diff --git a/dev-python/python-efl/metadata.xml b/dev-python/python-efl/metadata.xml new file mode 100644 index 000000000000..8dca222b9693 --- /dev/null +++ b/dev-python/python-efl/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>enlightenment@gentoo.org</email> + <name>Project Enlightenment</name> +</maintainer> +</pkgmetadata> 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..a03589e844d2 --- /dev/null +++ b/dev-python/python-efl/python-efl-1.17.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="https://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 +} diff --git a/dev-python/python-efl/python-efl-1.18.0.ebuild b/dev-python/python-efl/python-efl-1.18.0.ebuild new file mode 100644 index 000000000000..a077d345f65d --- /dev/null +++ b/dev-python/python-efl/python-efl-1.18.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +MY_P=${P/_/-} + +if [[ "${PV}" == "9999" ]]; then + EGIT_SUB_PROJECT="bindings/python" + EGIT_URI_APPEND="${PN}" + EGIT_REPO_URI="https://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} + >dev-python/dbus-python-0.83[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/cython-0.21[${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 built sources + sed -i 's|"../build/"+d|"'"${BUILD_DIR}"'/lib"|g' doc/conf.py || die + esetup.py build_doc --build-dir "${S}"/build/doc/ + fi +} + +python_test() { + cd "${S}"/tests || die + # violates sandbox + rm -f ecore/test_09_file_download.py || die + 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 +} |