From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6DA9858975 for ; Sun, 7 Feb 2016 18:51:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D225321C0B3; Sun, 7 Feb 2016 18:51:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C5DD21C0B3 for ; Sun, 7 Feb 2016 18:51:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 08C9334089F for ; Sun, 7 Feb 2016 18:51:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 106F18F7 for ; Sun, 7 Feb 2016 18:51:06 +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: <1454871055.06f759429143d2a635e05e7e9c3fc2636a7f649e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-python/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-eselect/eselect-python/Manifest app-eselect/eselect-python/eselect-python-20160207.ebuild X-VCS-Directories: app-eselect/eselect-python/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 06f759429143d2a635e05e7e9c3fc2636a7f649e X-VCS-Branch: master Date: Sun, 7 Feb 2016 18:51:06 +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: 6ed1fb96-00a4-4c5b-8bc5-0567ce433dbd X-Archives-Hash: cb059b0ad74bc1388db92ed93c2bbb63 commit: 06f759429143d2a635e05e7e9c3fc2636a7f649e Author: Michał Górny gentoo org> AuthorDate: Sun Feb 7 18:01:47 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Feb 7 18:50:55 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06f75942 app-eselect/eselect-python: Major bump to 20160207 The new version supports >=dev-lang/python-exec-2.3 and the new python-exec.conf configuration format. app-eselect/eselect-python/Manifest | 1 + .../eselect-python/eselect-python-20160207.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/app-eselect/eselect-python/Manifest b/app-eselect/eselect-python/Manifest index 4465049..d2da3df 100644 --- a/app-eselect/eselect-python/Manifest +++ b/app-eselect/eselect-python/Manifest @@ -3,3 +3,4 @@ DIST eselect-python-20131210.tar.bz2 71802 SHA256 61ff5a5a3ae7982c6ffd503886cbcd DIST eselect-python-20140115.tar.bz2 71910 SHA256 5898ee19015ae905168e8b7aa76552b96f691285ab77c426b6a9238ecf742e45 SHA512 65d6a6b9dfa0a0f4bea5352f965bed8942a16382135edea093342fa79a824d114b900cbcf607490f260b4ce4e5a2eb57872169e5494f8e6e65f41dd63cd5d335 WHIRLPOOL 633bca3e8a87e04c54a3790bb207da92d41af604cce7f8600c5317f6a759c55efbd3e5ba658e893d2d079248d2dadb1a0bb60248960e3d20cd766768a228d8c5 DIST eselect-python-20140125.tar.bz2 72102 SHA256 ee7b470f7facc42285bab7f4b947280741515a85c9067339511c219248f8fdfb SHA512 94d4eb5a1af365c6f56a6fc2b75298018267cd4f6004f30b2e4d0c4744d3e82b33f6c82e6f0ea0f15132d5157c3ace99fa167bbf3ebada46edd2e005ca96eb51 WHIRLPOOL 70d5f9af2929507d26e56080ce934066d2de5f16030dfd63b016215465ad5fc89eb952d64cc545c7058d146108e26925741d2c8fbaba08abba1a5cae7b0c23b6 DIST eselect-python-20151117.tar.bz2 62793 SHA256 6f2912ae4d4fc12949ae0c9bb8b93b3a3a8c372336c2138c758f042f91484561 SHA512 3e680f8c851251176d6bb916d003e421e4b414aa9cc59e20cb15d454a3251cdf1e587828e9b2a5db461641f277e3b764ca172f4466fe3f6ef9679a9a05a71732 WHIRLPOOL a2e4ca676ead692b08a6194fb4bf5dabdd383ad158f45a17cb21c59022af139b0646fe39b0f4c9b540c80c4c2a04362c75f90e3c7f1506056b7b0f01e5e51474 +DIST eselect-python-20160207.tar.bz2 57454 SHA256 1da389c71b2b133ce56daae199334e920766d78e9e424d66cd76753a99b19a82 SHA512 ff83fb43df85ef0989ab9f557800e9ef97cd5b4e01316bc4f2b6fbe34e87b3fd5b4b1fb0081c11e2ff1ba42777c50d243eea306ec9211bf820211708f2fc395a WHIRLPOOL db63a490006d5fc53642448a3b19154bc48597a57b052413c42c7713a56665edae1505f9a2f432f88bb37ae5d7563743fc3a25b929896ca3e55a2365e2cd19c4 diff --git a/app-eselect/eselect-python/eselect-python-20160207.ebuild b/app-eselect/eselect-python/eselect-python-20160207.ebuild new file mode 100644 index 0000000..52eb0ce --- /dev/null +++ b/app-eselect/eselect-python/eselect-python-20160207.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +if [[ ${PV} == "99999999" ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" +else + SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-aix ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +fi + +DESCRIPTION="Eselect module for management of multiple Python versions" +HOMEPAGE="https://www.gentoo.org/proj/en/Python/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2.3 + >=dev-lang/python-exec-2.3" + +src_prepare() { + [[ ${PV} == "99999999" ]] && eautoreconf +} + +pkg_postinst() { + local py + + if has_version 'dev-lang/python'; then + eselect python update --if-unset + fi + + if has_version "=dev-lang/python-3*"; then + eselect python update "--python3" --if-unset + fi +}