1 |
commit: 9da46f73833db3b5965831f3b00e58bdccd99a3f |
2 |
Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> |
3 |
AuthorDate: Thu May 12 05:35:27 2022 +0000 |
4 |
Commit: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> |
5 |
CommitDate: Thu May 12 05:35:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9da46f73 |
7 |
|
8 |
dev-python/gbinder: new package, add 9999 |
9 |
|
10 |
Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de> |
11 |
|
12 |
dev-python/gbinder/gbinder-9999.ebuild | 35 ++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 35 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/gbinder/gbinder-9999.ebuild b/dev-python/gbinder/gbinder-9999.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000..f2df6a922 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/gbinder/gbinder-9999.ebuild |
20 |
@@ -0,0 +1,35 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=7 |
25 |
+ |
26 |
+PYTHON_COMPAT=( python3_9 ) |
27 |
+ |
28 |
+inherit distutils-r1 |
29 |
+ |
30 |
+if [[ ${PV} != *9999* ]]; then |
31 |
+ MY_PN="${PN}-python" |
32 |
+ MY_P="${MY_PN}-${PV}" |
33 |
+ S="${WORKDIR}/${MY_P}" |
34 |
+ SRC_URI="https://github.com/erfanoabdi/gbinder-python/archive/${PV}.tar.gz -> ${P}.tar.gz" |
35 |
+ KEYWORDS="~amd64" |
36 |
+else |
37 |
+ inherit git-r3 |
38 |
+ EGIT_REPO_URI="https://github.com/erfanoabdi/gbinder-python.git" |
39 |
+fi |
40 |
+ |
41 |
+DESCRIPTION="Python bindings for libgbinder" |
42 |
+HOMEPAGE="https://github.com/erfanoabdi/gbinder-python" |
43 |
+LICENSE="GPL-3" |
44 |
+SLOT="0" |
45 |
+ |
46 |
+DEPEND="dev-libs/gbinder" |
47 |
+RDEPEND="${DEPEND}" |
48 |
+BDEPEND=" |
49 |
+ virtual/pkgconfig |
50 |
+ dev-python/cython[${PYTHON_USEDEP}] |
51 |
+" |
52 |
+ |
53 |
+python_compile() { |
54 |
+ distutils-r1_python_compile --cython |
55 |
+} |