From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 05065138330 for ; Fri, 25 May 2018 22:52:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0122CE023C; Fri, 25 May 2018 22:52:31 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B04FEE023C for ; Fri, 25 May 2018 22:52:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9D927335C9B for ; Fri, 25 May 2018 22:52:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 66D582A4 for ; Fri, 25 May 2018 22:52:26 +0000 (UTC) From: "Aaron Bauman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" Message-ID: <1527288623.d851525459f876f2af1dfb71be117b0f20c7900f.bman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-efl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-efl/Manifest dev-python/python-efl/metadata.xml dev-python/python-efl/python-efl-1.20.0.ebuild X-VCS-Directories: dev-python/python-efl/ X-VCS-Committer: bman X-VCS-Committer-Name: Aaron Bauman X-VCS-Revision: d851525459f876f2af1dfb71be117b0f20c7900f X-VCS-Branch: master Date: Fri, 25 May 2018 22:52:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 562ab739-345a-4c99-80c2-7e43da9ebee6 X-Archives-Hash: c6f1930fd783f2bd1cc27ab3e662ead1 commit: d851525459f876f2af1dfb71be117b0f20c7900f Author: Joonas Niilola gmail com> AuthorDate: Wed May 23 07:49:41 2018 +0000 Commit: Aaron Bauman gentoo org> CommitDate: Fri May 25 22:50:23 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8515254 dev-python/python-efl: bump to 1.20.0 Add myself as proxy-maintainer. Bump EAPI to 7. Clean metadata.xml file. Package-Manager: Portage[mgorny]-2.3.36.1 Closes: https://github.com/gentoo/gentoo/pull/8530 dev-python/python-efl/Manifest | 1 + dev-python/python-efl/metadata.xml | 16 +++++- dev-python/python-efl/python-efl-1.20.0.ebuild | 71 ++++++++++++++++++++++++++ 3 files changed, 87 insertions(+), 1 deletion(-) diff --git a/dev-python/python-efl/Manifest b/dev-python/python-efl/Manifest index e40092e6ee1..59edc28ae69 100644 --- a/dev-python/python-efl/Manifest +++ b/dev-python/python-efl/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-python/python-efl/metadata.xml b/dev-python/python-efl/metadata.xml index 6f49eba8f49..1b546bfae6d 100644 --- a/dev-python/python-efl/metadata.xml +++ b/dev-python/python-efl/metadata.xml @@ -1,5 +1,19 @@ - + + juippis@gmail.com + + + proxy-maint@gentoo.org + Proxy Maintainers + + + 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) + 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 00000000000..0fc4a05569d --- /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 +}