From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/gbinder/
Date: Mon, 19 Dec 2022 10:56:57 +0000 (UTC) [thread overview]
Message-ID: <1671371833.069d3e00e21db988a3c53a8cdaf5eb9c045a635b.ceamac@gentoo> (raw)
commit: 069d3e00e21db988a3c53a8cdaf5eb9c045a635b
Author: Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sun Dec 18 13:57:13 2022 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 13:57:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=069d3e00
dev-python/gbinder: Updated to new version, added missing ~x86, ~arm and ~arm64 keywords, added metadata.xml, I'm now maintainer
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>
dev-python/gbinder/Manifest | 1 +
dev-python/gbinder/gbinder-1.1.1.ebuild | 36 +++++++++++++++++++++++++++++++++
dev-python/gbinder/metadata.xml | 36 +++++++++++++++++++++++++++++++++
3 files changed, 73 insertions(+)
diff --git a/dev-python/gbinder/Manifest b/dev-python/gbinder/Manifest
index a17031d32..3bc720ddf 100644
--- a/dev-python/gbinder/Manifest
+++ b/dev-python/gbinder/Manifest
@@ -1 +1,2 @@
DIST gbinder-1.0.0.tar.gz 22640 BLAKE2B dbd0b07c693c803c6646fded1ea0b546d7dc40a1a5f1592601d28d63dbe5113b2bcc07314710c7ba1b47f3417b943398e720ece089ff8a68856e7b2cfda55ae1 SHA512 3b52c01c99321108a3d5c0129fb4fcf22d164e5de1e197f0e01a77e3bcbf9c4fd7ee35ce58131f545f65561c622b30f5919f4bdc995005b00a18a15c695fbf51
+DIST gbinder-1.1.1.tar.gz 24340 BLAKE2B d93d332e0c8a04c5adbf0ca2680d32a7e8d7b0ba8350f50b365966b8bce082456b3463509334831fc376ebecc0f2dd67542bd5d45c94e028d325458944a70147 SHA512 1910d6e904ac46da519064e9dc57e4059e1ea7072f2cf4b7ca0888a73701a590ff565fe9e9ca67acf94dba2a69f3138457d8b9533c2360befdd508b983f32a03
diff --git a/dev-python/gbinder/gbinder-1.1.1.ebuild b/dev-python/gbinder/gbinder-1.1.1.ebuild
new file mode 100644
index 000000000..b93707756
--- /dev/null
+++ b/dev-python/gbinder/gbinder-1.1.1.ebuild
@@ -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..11} )
+
+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"
+
+DEPEND="dev-libs/gbinder
+ dev-libs/libglibutil"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ dev-python/cython[${PYTHON_USEDEP}]
+"
+
+python_compile() {
+ distutils-r1_python_compile --cython
+}
diff --git a/dev-python/gbinder/metadata.xml b/dev-python/gbinder/metadata.xml
new file mode 100644
index 000000000..48efb4328
--- /dev/null
+++ b/dev-python/gbinder/metadata.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person">
+ <email>denis7774@gmail.com</email>
+ <name>Denis Reva</name>
+ <description>rarogcmex</description>
+ </maintainer>
+ <longdescription lang="en">
+ Cython extension module for gbinder
+ Prerequisites
+ libgbinder
+ libglibutil
+ pkgconf
+ For development, you will also need Cython:
+
+ pip install cython
+ Description
+ There are two Cython files: cgbinder.pxd describing the C++ API of the libgbinder library, and gbinder.pyx describing classes that will be visible from Python user code. The .pyx imports .pxd to learn about C functions available to be called.
+
+ There is also setup.py file. This file describes how to build the extension module, using distutils. In there, we specify the library to link with as libraries=['gbinder']. The gbinder stands for libgbinder.so that we previously installed.
+
+ There are two options to build the package:
+
+ One, use Cython's cythonize() function to generate a .c file from the .pyx one, and then compile it against the libgbinder.so library.
+ Two, if the .c is already provided, just compile it - no Cython required!
+ Development build
+ For development, use option 1 by providing --cython flag:
+
+ python setup.py build_ext --inplace --cython
+ The result will be a .so shared library named like gbinder.cpython-38-x86_64-linux-gnu.so. build_ext means we're building a C++ extension. --inplace means to put it in the current directory. If you run python from current directory, you'll be able to import gbinder.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">erfanoabdi/gbinder-python</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2022-12-19 10:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-19 10:56 Viorel Munteanu [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-13 21:31 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/gbinder/ Julien Roy
2024-04-13 22:19 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-03-21 23:06 Julien Roy
2024-02-19 22:00 Julien Roy
2023-09-28 10:00 [gentoo-commits] repo/proj/guru:dev " David Roman
2023-09-28 10:01 ` [gentoo-commits] repo/proj/guru:master " David Roman
2023-09-28 10:00 [gentoo-commits] repo/proj/guru:dev " David Roman
2023-09-28 10:01 ` [gentoo-commits] repo/proj/guru:master " David Roman
2023-09-12 13:46 David Roman
2023-03-06 13:38 Florian Schmaus
2023-02-25 20:43 Florian Schmaus
2022-05-12 9:14 Andrew Ammerlaan
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=1671371833.069d3e00e21db988a3c53a8cdaf5eb9c045a635b.ceamac@gentoo \
--to=ceamac@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