1 |
commit: 18b5d746e761c9076f7962cd9895c8b9e31c8952 |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Sat Sep 28 01:49:32 2019 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 29 02:56:12 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18b5d746 |
7 |
|
8 |
dev-python/protobuf-python: Version bump (3.9.2). |
9 |
|
10 |
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org> |
11 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
12 |
|
13 |
dev-python/protobuf-python/Manifest | 1 + |
14 |
.../protobuf-python/protobuf-python-3.9.2.ebuild | 62 ++++++++++++++++++++++ |
15 |
2 files changed, 63 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/protobuf-python/Manifest b/dev-python/protobuf-python/Manifest |
18 |
index c6707e70889..b92c4970368 100644 |
19 |
--- a/dev-python/protobuf-python/Manifest |
20 |
+++ b/dev-python/protobuf-python/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST protobuf-3.6.1.3.tar.gz 4490599 BLAKE2B 5a058f937330bd562e364a8d86e0b1376fd |
22 |
DIST protobuf-3.7.1.tar.gz 4795774 BLAKE2B a91155169623ee24ba49e397b151829321c01ff06bb27541e6c02701c37ac96ea9606961291ef0d4616dd6dba045bf7e893ec6288f5809d30cc026b60ae76590 SHA512 7d4cfabd4bd55926336a3baafa0bc1f1f15380b1b2af945f70a2bb3ba24c6ac6567f49c492326d6d1c43a488166bff178f9266377758a05d8541d8b242f4f80f |
23 |
DIST protobuf-3.8.0.tar.gz 4934577 BLAKE2B 4b86ab216e8a8b2c99c3620da9417c0562498e9d4dbf4957db186f51c62b0ed73b1322635a076b2d4054e015bdf6c8c50cc7fd0cb78d24a93b29d2a5b48f66fe SHA512 ba27c64e5193cd4a144bf0c9dc0d195fbbe6e580aaca01960362f0f185074588ca40046d3bcea76e1deae7508b722f6c5be484ea957122ae8e98229c7c3a4ad2 |
24 |
DIST protobuf-3.9.1.tar.gz 4947402 BLAKE2B c1e366438ca619044d84d7a75453c35b48d5f64867b7aaec78c04966d4e62223a8909a28be850156ce3d47f0e7f42e80a231ec5d814d2820e1edfa963d89e177 SHA512 9accb56c1aadef83bf27280e15a99809a3561cbd4b39d6605dec730cc112bf4fd2e9f1ac39127b32a1b87253e712be4b4f12afe4061a8f7be76266b3f4bca314 |
25 |
+DIST protobuf-3.9.2.tar.gz 4947582 BLAKE2B ff0150970286d1eb452bd2f252fa8200617ddf491dcb3b9b60cebb36268c5a3072df3d24142ca9863306df6690f53ad4d4761c7846c677c4610716ec22e0838c SHA512 510349ddc59b4e53087b5247ca8784e9f852d66d755e1b014c6214e14c003f31dd336a724e9eb87a5b85a70e22793eb3211744c85a514b24b687346563717bec |
26 |
|
27 |
diff --git a/dev-python/protobuf-python/protobuf-python-3.9.2.ebuild b/dev-python/protobuf-python/protobuf-python-3.9.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..634283beb42 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/protobuf-python/protobuf-python-3.9.2.ebuild |
32 |
@@ -0,0 +1,62 @@ |
33 |
+# Copyright 2008-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="7" |
37 |
+PYTHON_COMPAT=(python{2_7,3_5,3_6,3_7}) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+if [[ "${PV}" == "9999" ]]; then |
42 |
+ inherit git-r3 |
43 |
+ |
44 |
+ EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf" |
45 |
+ EGIT_SUBMODULES=() |
46 |
+fi |
47 |
+ |
48 |
+DESCRIPTION="Google's Protocol Buffers - Python bindings" |
49 |
+HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/protocolbuffers/protobuf" |
50 |
+if [[ "${PV}" == "9999" ]]; then |
51 |
+ SRC_URI="" |
52 |
+else |
53 |
+ SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz" |
54 |
+fi |
55 |
+ |
56 |
+LICENSE="BSD" |
57 |
+SLOT="0/20" |
58 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
59 |
+IUSE="" |
60 |
+ |
61 |
+BDEPEND="${PYTHON_DEPS} |
62 |
+ ~dev-libs/protobuf-${PV} |
63 |
+ dev-python/namespace-google[${PYTHON_USEDEP}] |
64 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
65 |
+ dev-python/six[${PYTHON_USEDEP}]" |
66 |
+DEPEND="${PYTHON_DEPS} |
67 |
+ ~dev-libs/protobuf-${PV}" |
68 |
+RDEPEND="${BDEPEND} |
69 |
+ !<dev-libs/protobuf-3[python(-)]" |
70 |
+ |
71 |
+S="${WORKDIR}/protobuf-${PV}/python" |
72 |
+ |
73 |
+if [[ "${PV}" == "9999" ]]; then |
74 |
+ EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}" |
75 |
+fi |
76 |
+ |
77 |
+python_configure_all() { |
78 |
+ mydistutilsargs=(--cpp_implementation) |
79 |
+} |
80 |
+ |
81 |
+python_compile() { |
82 |
+ python_is_python3 || local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" |
83 |
+ distutils-r1_python_compile |
84 |
+} |
85 |
+ |
86 |
+python_test() { |
87 |
+ esetup.py test |
88 |
+} |
89 |
+ |
90 |
+python_install_all() { |
91 |
+ distutils-r1_python_install_all |
92 |
+ |
93 |
+ find "${D}" -name "*.pth" -type f -delete || die |
94 |
+} |