1 |
commit: 8541788e878d1b02a64296b448dac39f4d0f7d66 |
2 |
Author: Maciej Barć <xgqt <AT> protonmail <DOT> com> |
3 |
AuthorDate: Sun May 3 19:10:00 2020 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> protonmail <DOT> com> |
5 |
CommitDate: Sun May 3 19:10:11 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8541788e |
7 |
|
8 |
dev-python/pure-protobuf: version 2.0.0 revision bump |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com> |
12 |
|
13 |
.../pure-protobuf/pure-protobuf-2.0.0-r1.ebuild | 32 ++++++++++++++++++++++ |
14 |
1 file changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pure-protobuf/pure-protobuf-2.0.0-r1.ebuild b/dev-python/pure-protobuf/pure-protobuf-2.0.0-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..e240faf |
19 |
--- /dev/null |
20 |
+++ b/dev-python/pure-protobuf/pure-protobuf-2.0.0-r1.ebuild |
21 |
@@ -0,0 +1,32 @@ |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python3_7 ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="A more Pythonic version of doxypy, a Doxygen filter for Python" |
32 |
+HOMEPAGE=" |
33 |
+ https://github.com/eigenein/protobuf |
34 |
+ https://pypi.org/project/pure-protobuf/ |
35 |
+" |
36 |
+SRC_URI="https://github.com/eigenein/protobuf/archive/${PV}.tar.gz -> ${P}.tar.gz" |
37 |
+ |
38 |
+LICENSE="MIT" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64" |
41 |
+ |
42 |
+S="${WORKDIR}/protobuf-${PV}" |
43 |
+ |
44 |
+distutils_enable_tests pytest |
45 |
+ |
46 |
+python_install() { |
47 |
+ # Package installs 'tests' package which is forbidden and likely a bug in the build system. |
48 |
+ rm -r tests || die |
49 |
+ |
50 |
+ # Previously it did not actually install any python libs |
51 |
+ python_foreach_impl esetup.py install |
52 |
+ python_foreach_impl python_optimize |
53 |
+} |