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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8FFD9158089 for ; Sun, 8 Oct 2023 08:20:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7EEA2BC0BC; Sun, 8 Oct 2023 08:20:04 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2D982BC0BC for ; Sun, 8 Oct 2023 08:20:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1E644335D46 for ; Sun, 8 Oct 2023 08:20:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C90A9CA for ; Sun, 8 Oct 2023 08:20:02 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1696753196.efd422d58299d716f8c95896ea383dabfca60b88.juippis@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/python-efl-1.26.1.ebuild X-VCS-Directories: dev-python/python-efl/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: efd422d58299d716f8c95896ea383dabfca60b88 X-VCS-Branch: master Date: Sun, 8 Oct 2023 08:20:02 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4a3b1ace-690d-433c-a36c-d291984200fc X-Archives-Hash: 35f5ea44b654dd63762188784879ac44 commit: efd422d58299d716f8c95896ea383dabfca60b88 Author: Joonas Niilola gentoo org> AuthorDate: Sun Oct 8 08:11:44 2023 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Oct 8 08:19:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd422d5 dev-python/python-efl: add 1.26.1 Closes: https://bugs.gentoo.org/909954 Closes: https://bugs.gentoo.org/896846 Signed-off-by: Joonas Niilola gentoo.org> dev-python/python-efl/Manifest | 1 + dev-python/python-efl/python-efl-1.26.1.ebuild | 80 ++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/dev-python/python-efl/Manifest b/dev-python/python-efl/Manifest index b6480f59f96f..618825ce7c79 100644 --- a/dev-python/python-efl/Manifest +++ b/dev-python/python-efl/Manifest @@ -1 +1,2 @@ DIST python-efl-1.26.0.tar.xz 9547648 BLAKE2B b6fd9e86695569291b416140c92316aeb4e3bd42d12fc3fd656b86fe7fae364720c8457c53828dc00838a68620fa604426d86c5d4bce02e94eaa82a4fed120ee SHA512 fe552a65d7d4d3e3664310e6bb7189c883c64361a64a2def04e8d14df3e5a03211e2992333f1c05288b96f1d99f20ad4ac848baea91d43db280dad81315e2473 +DIST python-efl-1.26.1.tar.xz 9554132 BLAKE2B d08c9c695c3667e0d3b1b45b1c7026f1af6ca1c100235c1a412dfa354e549c45db75442693c1d7a3f68b6c63a47cf6d120fd3071856a6e7c7da51f0ccdb309b0 SHA512 42b7586885d47fc67bf3692e65325e58cb0566fb772b415255b2f63b05adfdcdc44762f532bc951781ece118833486b33dc5a3f0aa10e0a14d5226ca4dc30f9e diff --git a/dev-python/python-efl/python-efl-1.26.1.ebuild b/dev-python/python-efl/python-efl-1.26.1.ebuild new file mode 100644 index 000000000000..8e4eaeabe130 --- /dev/null +++ b/dev-python/python-efl/python-efl-1.26.1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Python bindings for Enlightenment Foundation Libraries" +HOMEPAGE="https://github.com/DaveMDS/python-efl https://docs.enlightenment.org/python-efl/current/" +SRC_URI="https://download.enlightenment.org/rel/bindings/python/${P}.tar.xz" + +LICENSE="|| ( GPL-3 LGPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="doc test" + +RESTRICT="!test? ( test )" + +RDEPEND="=dev-libs/efl-$(ver_cut 1-2)* + dev-python/dbus-python[${PYTHON_USEDEP}] + sys-apps/dbus" +DEPEND="${RDEPEND}" +BDEPEND="= 13/>= 10/g' tests/ecore/test_08_exe.py || die + + # Make tests verbose + sed -i 's:verbosity=1:verbosity=3:' tests/00_run_all_tests.py || die + + # Disable any optimization on x86, #704260 + if use x86; then + filter-flags -O? + append-cflags -O0 + fi +} + +python_compile_all() { + if use doc ; then + ${EPYTHON} -m sphinx.cmd.build doc "${S}"/build/doc/ || die "Building docs failed with ${EPYTHON}." + fi + + ${EPYTHON} setup.py build || die "src_compile failed with ${EPYTHON}" +} + +python_test() { + cd tests/ || die + ${EPYTHON} 00_run_all_tests.py --verbose || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( ./build/doc/. ) + distutils-r1_python_install_all +}