mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
dev-python/gbinder: EAPI bump, add python3_10, add 1.0.0
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
parent
fb2ec3dc19
commit
ac44c0f9b9
1
dev-python/gbinder/Manifest
Normal file
1
dev-python/gbinder/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST gbinder-1.0.0.tar.gz 22640 BLAKE2B dbd0b07c693c803c6646fded1ea0b546d7dc40a1a5f1592601d28d63dbe5113b2bcc07314710c7ba1b47f3417b943398e720ece089ff8a68856e7b2cfda55ae1 SHA512 3b52c01c99321108a3d5c0129fb4fcf22d164e5de1e197f0e01a77e3bcbf9c4fd7ee35ce58131f545f65561c622b30f5919f4bdc995005b00a18a15c695fbf51
|
@ -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:
|
36
dev-python/gbinder/gbinder-1.0.0.ebuild
Normal file
36
dev-python/gbinder/gbinder-1.0.0.ebuild
Normal file
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
|
||||
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"
|
||||
PATCHES=( "${FILESDIR}/${P}-setuppy-extensions.patch" )
|
||||
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"
|
||||
|
||||
DEPEND="dev-libs/gbinder"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile --cython
|
||||
}
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user