From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD830139694 for ; Tue, 9 May 2017 17:18:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2026C21C060; Tue, 9 May 2017 17:18:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E683F21C060 for ; Tue, 9 May 2017 17:18:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C984F3416AF for ; Tue, 9 May 2017 17:18:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 919117436 for ; Tue, 9 May 2017 17:18:40 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1494350314.9448ce017d968c8ced8e8026040e09d0d5e4a5c5.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/protobuf-python/files/, dev-python/protobuf-python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/protobuf-python/Manifest dev-python/protobuf-python/files/protobuf-python-3.0.0_beta3-link-against-installed-lib.patch dev-python/protobuf-python/protobuf-python-3.1.0.ebuild dev-python/protobuf-python/protobuf-python-3.3.0.ebuild X-VCS-Directories: dev-python/protobuf-python/ dev-python/protobuf-python/files/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9448ce017d968c8ced8e8026040e09d0d5e4a5c5 X-VCS-Branch: master Date: Tue, 9 May 2017 17:18:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e1a91a55-2b95-4edc-ada6-cf3a66e34415 X-Archives-Hash: 0646c3f4624e5546bef5de675f9c75e9 commit: 9448ce017d968c8ced8e8026040e09d0d5e4a5c5 Author: Aric Belsito gmail com> AuthorDate: Sun May 7 18:11:08 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue May 9 17:18:34 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9448ce01 dev-python/protobuf-python: version bump to 3.3.0 Change license from Apache-2.0 to BSD Fix python3 incompatibility in patch Bug: https://bugs.gentoo.org/460608 dev-python/protobuf-python/Manifest | 1 + ...buf-python-3.0.0_beta3-link-against-installed-lib.patch | 4 ++-- dev-python/protobuf-python/protobuf-python-3.1.0.ebuild | 2 +- ...uf-python-3.1.0.ebuild => protobuf-python-3.3.0.ebuild} | 14 +++++++------- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/dev-python/protobuf-python/Manifest b/dev-python/protobuf-python/Manifest index 87f950260d6..eefcfffce43 100644 --- a/dev-python/protobuf-python/Manifest +++ b/dev-python/protobuf-python/Manifest @@ -1 +1,2 @@ DIST protobuf-3.1.0.tar.gz 4051503 SHA256 0a0ae63cbffc274efb573bdde9a253e3f32e458c41261df51c5dbc5ad541e8f7 SHA512 8d3289a16944c255bd1cceab696e515e52467f2bfe1cc10f6b32fabdf082d5acdc248ec9cadc572223a24d04d431f75921076153109cea2f90ee533f502ab47a WHIRLPOOL b8a0bee9ff549c8da45c2b56b12aafbed5807959cdb11b3888a0f30fd0d6df83a72f3c6ef9e266522754b8901792f65235a6e81a8b0f74cee15d59ecbe6dee68 +DIST protobuf-3.3.0.tar.gz 4336596 SHA256 94c414775f275d876e5e0e4a276527d155ab2d0da45eed6b7734301c330be36e SHA512 0734a55ae92f0539dfb507e174539d290fd8e93633c1edd8810e0d51c37e67254337b75fc5ba9450316f6416e1f8f8cfb59415864657b55f2a1696fbcdfe7636 WHIRLPOOL 4c18120ad784234ebb5308c0f3a2f3814d77f2fc906407f48285f3ba8f84af8e15defa4e7edf2d2e77cf22316df338b3f5bc0c6ca11c7a4fb951105c3aa7d7d4 diff --git a/dev-python/protobuf-python/files/protobuf-python-3.0.0_beta3-link-against-installed-lib.patch b/dev-python/protobuf-python/files/protobuf-python-3.0.0_beta3-link-against-installed-lib.patch index cb4a5f6cf7e..c0b7aadcd6f 100644 --- a/dev-python/protobuf-python/files/protobuf-python-3.0.0_beta3-link-against-installed-lib.patch +++ b/dev-python/protobuf-python/files/protobuf-python-3.0.0_beta3-link-against-installed-lib.patch @@ -9,8 +9,8 @@ diff -Naur python/setup.py python/setup.py + libD = [] + try: + subprocess.check_call(['pkg-config', '--exists', 'protobuf']) -+ inclD += subprocess.check_output(['pkg-config','--variable=includedir','protobuf']).split() -+ libD = subprocess.check_output(['pkg-config','--variable=libdir','protobuf']).split() ++ inclD += subprocess.check_output(['pkg-config','--variable=includedir','protobuf']).decode().split() ++ libD = subprocess.check_output(['pkg-config','--variable=libdir','protobuf']).decode().split() + except OSError as osex: + if osex.errno == errno.ENOENT: + info('pkg-config not found') diff --git a/dev-python/protobuf-python/protobuf-python-3.1.0.ebuild b/dev-python/protobuf-python/protobuf-python-3.1.0.ebuild index eccc393b386..4a087b35a57 100644 --- a/dev-python/protobuf-python/protobuf-python-3.1.0.ebuild +++ b/dev-python/protobuf-python/protobuf-python-3.1.0.ebuild @@ -14,7 +14,7 @@ DESCRIPTION="Google's Protocol Buffers - official Python bindings" HOMEPAGE="https://github.com/google/protobuf/ https://developers.google.com/protocol-buffers/" SRC_URI="https://github.com/google/protobuf/archive/v${MY_PV}.tar.gz -> protobuf-${PV}.tar.gz" -LICENSE="Apache-2.0" +LICENSE="BSD" SLOT="0/11" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos" IUSE="" diff --git a/dev-python/protobuf-python/protobuf-python-3.1.0.ebuild b/dev-python/protobuf-python/protobuf-python-3.3.0.ebuild similarity index 84% copy from dev-python/protobuf-python/protobuf-python-3.1.0.ebuild copy to dev-python/protobuf-python/protobuf-python-3.3.0.ebuild index eccc393b386..c3076f1f5b6 100644 --- a/dev-python/protobuf-python/protobuf-python-3.1.0.ebuild +++ b/dev-python/protobuf-python/protobuf-python-3.3.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 # pypy fails tests; pypy3 fails even running tests -PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) +PYTHON_COMPAT=( python2_7 python3_{4,5} ) inherit distutils-r1 @@ -14,8 +14,8 @@ DESCRIPTION="Google's Protocol Buffers - official Python bindings" HOMEPAGE="https://github.com/google/protobuf/ https://developers.google.com/protocol-buffers/" SRC_URI="https://github.com/google/protobuf/archive/v${MY_PV}.tar.gz -> protobuf-${PV}.tar.gz" -LICENSE="Apache-2.0" -SLOT="0/11" +LICENSE="BSD" +SLOT="0/13" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos" IUSE="" @@ -23,17 +23,17 @@ IUSE="" # (excluding revision), since we are using the same tarball. # In case of using the (linked) cpp implementation we should be fine with the same subslot. RDEPEND="${PYTHON_DEPS} - !