summaryrefslogtreecommitdiff
path: root/dev-python/python-efl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-29 03:22:09 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-29 03:22:09 +0100
commitd4bd6695641f6d2ec7ff8681913d304e995902f5 (patch)
tree6ec8d4c38152bb4f2bb4b93277236ebd9fbbd21d /dev-python/python-efl
parent22910f5d14da606bd7f06e19a2f61c5d1a8fc94b (diff)
gentoo resync : 29.05.2018
Diffstat (limited to 'dev-python/python-efl')
-rw-r--r--dev-python/python-efl/Manifest4
-rw-r--r--dev-python/python-efl/metadata.xml16
-rw-r--r--dev-python/python-efl/python-efl-1.20.0.ebuild71
3 files changed, 89 insertions, 2 deletions
diff --git a/dev-python/python-efl/Manifest b/dev-python/python-efl/Manifest
index cd8de990cfaa..71393ec7b6a2 100644
--- a/dev-python/python-efl/Manifest
+++ b/dev-python/python-efl/Manifest
@@ -1,5 +1,7 @@
DIST python-efl-1.17.0.tar.xz 8835228 BLAKE2B 0380bfa9ac8a9553bf3c1fa4ed7f4c65007e75ebe159427aff12cfd7359859b42e56b5ebcb02af97324696c3addbc9fe31b4dbe23d4dbe2574b056e4e6d23297 SHA512 ff610dbacf72853b6c8fb1dcd41451f97156845efeb67a2d5d6c35d9b20c0f024c145a26a579f675bc2ad5844c23e58d8b21a09374aa195174f1a0c6316c0de4
DIST python-efl-1.18.0.tar.xz 8927932 BLAKE2B c1b41e1316c78fc42cf21541aba386dce799f1ec26549dda8c547de4cf47870a100070bb442d21116ce956808bcf948eba96601343512ba61fb1fc472e2574be SHA512 c1fc8d4129c2ac61b367ad373ad676a60cf0aed4c9150104d7e81bf464c44a3a5ae555d2298bbf1bdf6a3d6ba3b7d934af390e36755a1516972db2675d920c2b
+DIST python-efl-1.20.0.tar.xz 8984492 BLAKE2B 526c530d7b8dad59d01cefcbb6cad2710cb46c3b62eb0b2746c3552c8c1ef42cc4691072fbbce16a8a3b6ea9d6b5651a3645ca739e569a0f4db3dd9988ddf2fa SHA512 93d8d6c990350074e203bf3632d92b5253f34f318b30357b05ab5ab73a9f6656d127ff0c1831af1bf7c736822b483c12754085e52103eb0e41362cc28db5651f
EBUILD python-efl-1.17.0.ebuild 1638 BLAKE2B 28a5d89b530168ff16a66fb26000d556fdf8d25604bb94ca127cbce2f0d3b5de3350ff7bab1d1c77a1607a28eb06d12027386a58ecd4d488052d03732e9f0281 SHA512 5db2e6c586b64417ac53e48af87cd6aa41b070badf25d995487b447f6b138841fc2eeaf5eac7554ad4411383372fc7e46e23a071dc141e11d752931a9b5bfe0d
EBUILD python-efl-1.18.0.ebuild 1629 BLAKE2B ca6e824a0904eba0d36cb72eab685acebb14590494b9d671bfb773a63e5227a107435ff3b5254299fbac22027cba9ba5f420dc2069fbd04637ffd8e86207e74c SHA512 cb97b84674036ac04c849fbdbc15828fba1039c9dfad256f3b43e9a169723b51c55b6d95fb68b4b6e167b23bfbececfe48101a29cff577b3efb0092ee027e3dd
-MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
+EBUILD python-efl-1.20.0.ebuild 1768 BLAKE2B bb41922222b72bd3b67816fe31d18941ba9e77119a0c11c206fb48318aad2da505a3499354b0105f9495e311e73b526765a1f57bc22ca27ff0e0ccc0fb2457be SHA512 a787426bffc01495a98bcbeafdb1095195f367b15fcdce7596ff8bc498dc785e89f606856f5b96b16b8e0a117b1919ff3544591af00e22ccb5557aa762192bb5
+MISC metadata.xml 678 BLAKE2B f63779daf5a74d59f8dc65002ae8ec55585ae58c2bb02d951fd1ced15fd68fbb4ffa18239b8ef48347ff18e5cf033faa4a141f8e4fd8898bed6d74a9fd18d065 SHA512 a618f3bf8c4eed0e00b889f2c1bc85d46dc5ef1118f393f4cf10857d0b1a75720c6a719ed97117e40420600059e34eff0be3771fa684b89d437459f012fb7c5c
diff --git a/dev-python/python-efl/metadata.xml b/dev-python/python-efl/metadata.xml
index 6f49eba8f496..1b546bfae6dd 100644
--- a/dev-python/python-efl/metadata.xml
+++ b/dev-python/python-efl/metadata.xml
@@ -1,5 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>juippis@gmail.com</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ EFL is a collection of libraries for handling many common tasks a
+ developer man have such as data structures, communication,
+ rendering, widgets and more.
+
+ PYTHON-EFL are the python bindings for the whole EFL stack (eo,
+ evas, ecore, edje, emotion, ethumb and elementary)
+ </longdescription>
</pkgmetadata>
diff --git a/dev-python/python-efl/python-efl-1.20.0.ebuild b/dev-python/python-efl/python-efl-1.20.0.ebuild
new file mode 100644
index 000000000000..0fc4a05569d3
--- /dev/null
+++ b/dev-python/python-efl/python-efl-1.20.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for Enlightenment Foundation Libraries"
+HOMEPAGE="https://phab.enlightenment.org/w/projects/python_bindings_for_efl/"
+SRC_URI="https://download.enlightenment.org/rel/bindings/python/${P}.tar.xz"
+
+LICENSE="|| ( GPL-3 LGPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND="
+ >=dev-libs/efl-${PV}
+ >=dev-python/dbus-python-0.83[${PYTHON_USEDEP}]
+"
+DEPEND="
+ ${RDEPEND}
+ >=dev-python/cython-0.21[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ virtual/pkgconfig
+ doc? (
+ >=dev-python/sphinx-1.1[${PYTHON_USEDEP}]
+ media-gfx/graphviz
+ )
+"
+
+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
+
+ distutils-r1_python_compile
+}
+
+python_test() {
+ cd "${S}"/tests || die
+
+ # Tries to download a file under /tmp
+ rm -f ecore/test_09_file_download.py || die
+
+ # Tries to use that file which failed to download
+ rm -f ecore/test_10_file_monitor.py || die
+
+ # Seems to need connman up and running during the test, requires:
+ # net-misc/connman
+ # dev-libs/efl[connman]
+ rm -f ecore/test_11_con.py || die
+
+ # Test fails because of deleted files above
+ sed -i 's/>= 13/>= 10/g' ecore/test_08_exe.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() {
+ if use doc ; then
+ local HTML_DOCS=( build/doc/html/. )
+ fi
+
+ distutils-r1_python_install_all
+}