From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1034911-garchives=archives.gentoo.org@lists.gentoo.org> 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 7B9AC138335 for <garchives@archives.gentoo.org>; Sat, 7 Jul 2018 13:54:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98952E0AD6; Sat, 7 Jul 2018 13:54:39 +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 65791E0AD6 for <gentoo-commits@lists.gentoo.org>; Sat, 7 Jul 2018 13:54:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E8FFC335C9E for <gentoo-commits@lists.gentoo.org>; Sat, 7 Jul 2018 13:54:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8D197352 for <gentoo-commits@lists.gentoo.org>; Sat, 7 Jul 2018 13:54:34 +0000 (UTC) From: "Andreas Sturmlechner" <asturm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org> Message-ID: <1530971630.17d9bf968d5079b5b4befe60b6ca97ce9044d3b5.asturm@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/python-efl-1.18.0-r1.ebuild X-VCS-Directories: dev-python/python-efl/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 17d9bf968d5079b5b4befe60b6ca97ce9044d3b5 X-VCS-Branch: master Date: Sat, 7 Jul 2018 13:54:34 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 906220d7-1e4c-4e5f-8809-4f7d03ebd62e X-Archives-Hash: 23bce67777405b600efb8435e4dc8c5d commit: 17d9bf968d5079b5b4befe60b6ca97ce9044d3b5 Author: Joonas Niilola <juippis <AT> gmail <DOT> com> AuthorDate: Sat Jul 7 11:11:29 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat Jul 7 13:53:50 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17d9bf96 dev-python/python-efl: bump 1.18.0 to EAPI-7 Updated HOMEPAGE, DESCRIPTION & IUSE. Package-Manager: Portage[mgorny]-2.3.36.1 Closes: https://github.com/gentoo/gentoo/pull/9051 dev-python/python-efl/python-efl-1.18.0-r1.ebuild | 56 +++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/dev-python/python-efl/python-efl-1.18.0-r1.ebuild b/dev-python/python-efl/python-efl-1.18.0-r1.ebuild new file mode 100644 index 00000000000..d3a6501941a --- /dev/null +++ b/dev-python/python-efl/python-efl-1.18.0-r1.ebuild @@ -0,0 +1,56 @@ +# 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} + 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 + + distutils-r1_python_compile +} + +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() { + if use doc ; then + local HTML_DOCS=( build/doc/html/. ) + fi + + distutils-r1_python_install_all +}