public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/gbinder/files/, dev-python/gbinder/
Date: Thu, 12 May 2022 09:14:53 +0000 (UTC)	[thread overview]
Message-ID: <1652346415.ac44c0f9b9f4b351343b85b07cbf8c268e0296eb.andrewammerlaan@gentoo> (raw)
Message-ID: <20220512091453.rhzxghhuxsj_8yBsy_-kAfDpwUF1_GuyCYa6Fn60hCY@z> (raw)

commit:     ac44c0f9b9f4b351343b85b07cbf8c268e0296eb
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu May 12 09:06:55 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu May 12 09:06:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac44c0f9

dev-python/gbinder: EAPI bump, add python3_10, add 1.0.0

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/gbinder/Manifest                        |  1 +
 .../files/gbinder-1.0.0-setuppy-extensions.patch   | 22 ++++++++++++++++++++++
 .../{gbinder-9999.ebuild => gbinder-1.0.0.ebuild}  |  5 +++--
 dev-python/gbinder/gbinder-9999.ebuild             |  5 +++--
 4 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/dev-python/gbinder/Manifest b/dev-python/gbinder/Manifest
new file mode 100644
index 000000000..a17031d32
--- /dev/null
+++ b/dev-python/gbinder/Manifest
@@ -0,0 +1 @@
+DIST gbinder-1.0.0.tar.gz 22640 BLAKE2B dbd0b07c693c803c6646fded1ea0b546d7dc40a1a5f1592601d28d63dbe5113b2bcc07314710c7ba1b47f3417b943398e720ece089ff8a68856e7b2cfda55ae1 SHA512 3b52c01c99321108a3d5c0129fb4fcf22d164e5de1e197f0e01a77e3bcbf9c4fd7ee35ce58131f545f65561c622b30f5919f4bdc995005b00a18a15c695fbf51

diff --git a/dev-python/gbinder/files/gbinder-1.0.0-setuppy-extensions.patch b/dev-python/gbinder/files/gbinder-1.0.0-setuppy-extensions.patch
new file mode 100644
index 000000000..5990393e3
--- /dev/null
+++ b/dev-python/gbinder/files/gbinder-1.0.0-setuppy-extensions.patch
@@ -0,0 +1,22 @@
+From 79d40e9e564772973f7f085ed5c48e3fc625e0f5 Mon Sep 17 00:00:00 2001
+From: Erfan Abdi <erfangplus@gmail.com>
+Date: Mon, 6 Sep 2021 13:57:22 +0430
+Subject: [PATCH] setup: Drop None from keywords
+
+---
+ setup.py | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/setup.py b/setup.py
+index cf3a42e..ed2b1ed 100644
+--- a/setup.py
++++ b/setup.py
+@@ -19,6 +19,8 @@ def pkgconfig(package, kw):
+ 
+ extension_kwargs = { 'sources': ["gbinder" + file_ext] }
+ extension_kwargs = pkgconfig('libgbinder', extension_kwargs)
++if None in extension_kwargs:
++    del extension_kwargs[None]
+ extensions = [Extension('gbinder', **extension_kwargs)]
+ 
+ if USE_CYTHON:

diff --git a/dev-python/gbinder/gbinder-9999.ebuild b/dev-python/gbinder/gbinder-1.0.0.ebuild
similarity index 88%
copy from dev-python/gbinder/gbinder-9999.ebuild
copy to dev-python/gbinder/gbinder-1.0.0.ebuild
index f2df6a922..913d0d608 100644
--- a/dev-python/gbinder/gbinder-9999.ebuild
+++ b/dev-python/gbinder/gbinder-1.0.0.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_9 )
+PYTHON_COMPAT=( python3_{9..10} )
 
 inherit distutils-r1
 
@@ -13,6 +13,7 @@ if [[ ${PV} != *9999* ]]; then
 	S="${WORKDIR}/${MY_P}"
 	SRC_URI="https://github.com/erfanoabdi/gbinder-python/archive/${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64"
+	PATCHES=( "${FILESDIR}/${P}-setuppy-extensions.patch" )
 else
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/erfanoabdi/gbinder-python.git"

diff --git a/dev-python/gbinder/gbinder-9999.ebuild b/dev-python/gbinder/gbinder-9999.ebuild
index f2df6a922..913d0d608 100644
--- a/dev-python/gbinder/gbinder-9999.ebuild
+++ b/dev-python/gbinder/gbinder-9999.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_9 )
+PYTHON_COMPAT=( python3_{9..10} )
 
 inherit distutils-r1
 
@@ -13,6 +13,7 @@ if [[ ${PV} != *9999* ]]; then
 	S="${WORKDIR}/${MY_P}"
 	SRC_URI="https://github.com/erfanoabdi/gbinder-python/archive/${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64"
+	PATCHES=( "${FILESDIR}/${P}-setuppy-extensions.patch" )
 else
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/erfanoabdi/gbinder-python.git"


             reply	other threads:[~2022-05-12  9:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-12  9:07 Andrew Ammerlaan [this message]
2022-05-12  9:14 ` [gentoo-commits] repo/proj/guru:master commit in: dev-python/gbinder/files/, dev-python/gbinder/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2023-02-25 12:05 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/gbinder/, dev-python/gbinder/files/ Denis Reva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1652346415.ac44c0f9b9f4b351343b85b07cbf8c268e0296eb.andrewammerlaan@gentoo \
    --to=andrewammerlaan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox