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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 71175158041 for ; Mon, 19 Feb 2024 13:58:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA734E2A8E; Mon, 19 Feb 2024 13:58:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 9523FE2A8E for ; Mon, 19 Feb 2024 13:58:43 +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 7CA81343060 for ; Mon, 19 Feb 2024 13:58:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 546E76F1 for ; Mon, 19 Feb 2024 13:58:40 +0000 (UTC) From: "Denis Reva" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Denis Reva" Message-ID: <1708351094.e667d22d651110b46258765015c9bdd3eb26a2fc.RarogCmex@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/gbinder/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/gbinder/gbinder-1.1.2-r1.ebuild X-VCS-Directories: dev-python/gbinder/ X-VCS-Committer: RarogCmex X-VCS-Committer-Name: Denis Reva X-VCS-Revision: e667d22d651110b46258765015c9bdd3eb26a2fc X-VCS-Branch: dev Date: Mon, 19 Feb 2024 13:58:40 +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: ee31f6fd-465d-4de3-9268-c223e6f71841 X-Archives-Hash: ca845cea223d95f22a67341319c64207 commit: e667d22d651110b46258765015c9bdd3eb26a2fc Author: Denis Reva gmail com> AuthorDate: Mon Feb 19 13:58:14 2024 +0000 Commit: Denis Reva gmail com> CommitDate: Mon Feb 19 13:58:14 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e667d22d dev-python/gbinder: add support for python3_12 Signed-off-by: Denis Reva gmail.com> dev-python/gbinder/gbinder-1.1.2-r1.ebuild | 45 ++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/dev-python/gbinder/gbinder-1.1.2-r1.ebuild b/dev-python/gbinder/gbinder-1.1.2-r1.ebuild new file mode 100644 index 0000000000..1e2c069035 --- /dev/null +++ b/dev-python/gbinder/gbinder-1.1.2-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +DISTUTILS_USE_PEP517="setuptools" +DISTUTILS_EXT=1 + +inherit distutils-r1 + +if [[ ${PV} != *9999* ]]; then + MY_PN="${PN}-python" + MY_P="${MY_PN}-${PV}" + S="${WORKDIR}/${MY_P}" + SRC_URI="https://github.com/erfanoabdi/gbinder-python/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +else + inherit git-r3 + EGIT_REPO_URI="https://github.com/erfanoabdi/gbinder-python.git" +fi + +DESCRIPTION="Python bindings for libgbinder" +HOMEPAGE="https://github.com/erfanoabdi/gbinder-python" +LICENSE="GPL-3" +SLOT="0" + +PATCHES=( + "${FILESDIR}"/gbinder-1.1.1-setuptools.patch +) + + +DEPEND="dev-libs/gbinder + dev-libs/libglibutil" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig + dev-python/cython[${PYTHON_USEDEP}] + ${DISTUTILS_DEPS} +" + +python_configure_all () { + DISTUTILS_ARGS=( --cython ) +}