1 |
commit: a782f6268c8b946ab63ac834e9bb38844b610cfc |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Mon Jan 8 21:24:03 2018 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 8 21:29:38 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a782f626 |
7 |
|
8 |
dev-python/protobuf-python: Version bump (3.5.1.1). |
9 |
|
10 |
Closes: https://bugs.gentoo.org/639328 |
11 |
|
12 |
dev-python/protobuf-python/Manifest | 1 + |
13 |
.../protobuf-python/protobuf-python-3.5.1.1.ebuild | 46 ++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/protobuf-python/Manifest b/dev-python/protobuf-python/Manifest |
17 |
index 2cf0bd71c2d..952d4005059 100644 |
18 |
--- a/dev-python/protobuf-python/Manifest |
19 |
+++ b/dev-python/protobuf-python/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST protobuf-3.1.0.tar.gz 4051503 BLAKE2B af93f125a6b7b3e0be6f50ff5eaabe0db21f62b01a694d37c0b069956ef5d658df1beef68514b00a22005a36293b4a8a18654b5656f8c614309f0a744039c2fb SHA512 8d3289a16944c255bd1cceab696e515e52467f2bfe1cc10f6b32fabdf082d5acdc248ec9cadc572223a24d04d431f75921076153109cea2f90ee533f502ab47a |
22 |
DIST protobuf-3.4.1.tar.gz 4490100 BLAKE2B e2bc1ef2ee1a0af44830b3c65a6c9e73883fe6ec0d07f6a6136f5564f0e85306005440ca6f8c4eb834c7c70f909792c9e2457a761f10f95431981263a9acd7a3 SHA512 471e52198fa878a79183dc8fbc39d9c65239be4d9dff799e12281ee9b1af61a427584534b1baae1773bc6e4c86467f89ca2e7911a21effd86bc5f40cc7d94c34 |
23 |
+DIST protobuf-3.5.1.1.tar.gz 4584489 BLAKE2B 995ee2f06a6358e9935b488269ee50f0dccede417c1757828b0108fbe8c67034301f3a9cb87517430acd9838ae71bb677f4edd8b59b2418f99c15d8ea3d33591 SHA512 f25ecf772facc8efd196b7c06012ce9ec24152b2c0cde38ed2e29ecded8f534221b008e649f4cbd991436ad3436130cd2e31d51e75019d08240d518111fb4496 |
24 |
|
25 |
diff --git a/dev-python/protobuf-python/protobuf-python-3.5.1.1.ebuild b/dev-python/protobuf-python/protobuf-python-3.5.1.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..cb4653d2f74 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/protobuf-python/protobuf-python-3.5.1.1.ebuild |
30 |
@@ -0,0 +1,46 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI="6" |
35 |
+# pypy fails tests; pypy3 fails even running tests |
36 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Google's Protocol Buffers - Python bindings" |
41 |
+HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/google/protobuf" |
42 |
+SRC_URI="https://github.com/google/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0/15" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos" |
47 |
+IUSE="" |
48 |
+ |
49 |
+DEPEND="${PYTHON_DEPS} |
50 |
+ ~dev-libs/protobuf-${PV} |
51 |
+ dev-python/namespace-google[${PYTHON_USEDEP}] |
52 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
+ dev-python/six[${PYTHON_USEDEP}] |
54 |
+ !<dev-libs/protobuf-3[python(-)]" |
55 |
+RDEPEND="${DEPEND}" |
56 |
+ |
57 |
+S="${WORKDIR}/protobuf-${PV}/python" |
58 |
+ |
59 |
+python_configure_all() { |
60 |
+ mydistutilsargs=(--cpp_implementation) |
61 |
+} |
62 |
+ |
63 |
+python_compile() { |
64 |
+ python_is_python3 || local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" |
65 |
+ distutils-r1_python_compile |
66 |
+} |
67 |
+ |
68 |
+python_test() { |
69 |
+ esetup.py test |
70 |
+} |
71 |
+ |
72 |
+python_install_all() { |
73 |
+ distutils-r1_python_install_all |
74 |
+ |
75 |
+ find "${D}" -name "*.pth" -delete || die |
76 |
+} |