From 29f632cc2aa938460cc1c682d855a2b20401ff21 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Fri, 15 Feb 2013 16:37:08 -0800 Subject: [PATCH] chore(app-admin/python-updater): import from portage Change-Id: I39b814884ad1f4597edde0163c953fe99d37bb76 --- .../app-admin/python-updater/ChangeLog | 311 ++++++++++++++++++ .../app-admin/python-updater/Manifest | 8 + .../python-updater-0.10-expand-aliases.patch | 11 + ...pdater-0.10-only-alias-sed-if-exists.patch | 23 ++ .../app-admin/python-updater/metadata.xml | 5 + .../python-updater-0.10-r2.ebuild | 46 +++ .../python-updater/python-updater-0.10.ebuild | 37 +++ .../python-updater/python-updater-9999.ebuild | 37 +++ 8 files changed, 478 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/app-admin/python-updater/ChangeLog create mode 100644 sdk_container/src/third_party/portage-stable/app-admin/python-updater/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/app-admin/python-updater/files/python-updater-0.10-expand-aliases.patch create mode 100644 sdk_container/src/third_party/portage-stable/app-admin/python-updater/files/python-updater-0.10-only-alias-sed-if-exists.patch create mode 100644 sdk_container/src/third_party/portage-stable/app-admin/python-updater/metadata.xml create mode 100644 sdk_container/src/third_party/portage-stable/app-admin/python-updater/python-updater-0.10-r2.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-admin/python-updater/python-updater-0.10.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-admin/python-updater/python-updater-9999.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-admin/python-updater/ChangeLog b/sdk_container/src/third_party/portage-stable/app-admin/python-updater/ChangeLog new file mode 100644 index 0000000000..e2f6c7b76a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-admin/python-updater/ChangeLog @@ -0,0 +1,311 @@ +# ChangeLog for app-admin/python-updater +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/python-updater/ChangeLog,v 1.78 2012/05/28 16:14:43 xarthisius Exp $ + + 28 May 2012; Kacper Kowalik + -files/python-updater-0.9-sed.patch, -python-updater-0.10-r1.ebuild, + -python-updater-0.9-r1.ebuild, -python-updater-0.9.ebuild: + Drop old + + 26 Apr 2012; Alexis Ballier + python-updater-0.10-r2.ebuild: + keyword ~amd64-fbsd + +*python-updater-0.10-r2 (03 Mar 2012) + + 03 Mar 2012; Marien Zwart + +files/python-updater-0.10-only-alias-sed-if-exists.patch, + +python-updater-0.10-r2.ebuild: + Fix regression from bug #370935 on non-prefix portages. Thanks to maksbotan + for reporting. + + 02 Mar 2012; Brent Baude python-updater-0.10.ebuild: + Marking python-updater-0.10 ppc64 for bug 400861 + +*python-updater-0.10-r1 (02 Mar 2012) + + 02 Mar 2012; Naohiro Aota +python-updater-0.10-r1.ebuild, + +files/python-updater-0.10-expand-aliases.patch: + Add expand-aliases patch, bug #370935 + + 08 Feb 2012; Jeroen Roovers python-updater-0.10.ebuild: + Stable for HPPA (bug #400861). + + 01 Feb 2012; Brent Baude python-updater-0.10.ebuild: + Marking python-updater-0.10 ppc for bug 400861 + + 28 Jan 2012; Raúl Porcel python-updater-0.10.ebuild: + alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #400861 + + 28 Jan 2012; Pawel Hajdan jr + python-updater-0.10.ebuild: + x86 stable wrt bug #400861 + + 26 Jan 2012; Agostino Sarubbo python-updater-0.10.ebuild: + Stable for amd64, wrt bug #400861 + + 30 Dec 2011; Maxim Koltsov python-updater-9999.ebuild: + Synchronize live ebuild with other ebuilds. Patch by Arfrever. + +*python-updater-0.10 (30 Dec 2011) + + 30 Dec 2011; Maxim Koltsov + +python-updater-0.10.ebuild: + Version bump. Add support for PyPy. Add support for PYTHON_UPDATER_IGNORE. + Fix indentation of output (regression introduced in 0.9-r1). + +*python-updater-0.9-r1 (29 Aug 2011) + + 29 Aug 2011; Naohiro Aota +python-updater-0.9-r1.ebuild, + +files/python-updater-0.9-sed.patch: + Add patch to use ebuild-helper's version of sed + + 06 Aug 2011; Markos Chandras + -files/python-updater-0.7-fix_import.patch, + -files/python-updater-0.8-splitdebug.patch, +python-updater-0.9.ebuild, + +python-updater-9999.ebuild: + Restore ebuilds that I removed by accident + + 06 Aug 2011; Markos Chandras + -python-updater-0.9.ebuild, -python-updater-9999.ebuild: + Remove old files + + 05 Aug 2011; Markos Chandras + -python-updater-0.7.ebuild, -python-updater-0.7-r1.ebuild, + -python-updater-0.8-r1.ebuild: + Remove old ebuild. Requested by Arfrever + + 20 Jul 2011; Mark Loeser python-updater-0.9.ebuild: + Stable for ppc64; bug #371849 + + 27 Jun 2011; Brent Baude python-updater-0.9.ebuild: + Marking python-updater-0.9 ppc for bug 371849 + + 24 Jun 2011; Raúl Porcel python-updater-0.9.ebuild: + alpha/ia64/m68k/s390/sh/sparc stable wrt #371849 + + 19 Jun 2011; Markus Meier python-updater-0.9.ebuild: + arm stable, bug #371849 + + 18 Jun 2011; Markos Chandras python-updater-0.9.ebuild: + Stable on amd64 wrt bug #371849 + + 18 Jun 2011; Pawel Hajdan jr + python-updater-0.9.ebuild: + x86 stable wrt bug #371849 + + 17 Jun 2011; Jeroen Roovers python-updater-0.9.ebuild: + Stable for HPPA (bug #371849). + +*python-updater-0.9 (16 May 2011) + + 16 May 2011; Arfrever Frehtes Taifersar Arahesis + +python-updater-0.9.ebuild: + Version bump. Fixed bugs: #303037, #347229, #347897. + +*python-updater-0.8-r1 (23 Mar 2011) + + 23 Mar 2011; Jeroen Roovers -python-updater-0.8.ebuild, + +python-updater-0.8-r1.ebuild, +files/python-updater-0.8-splitdebug.patch: + Ignore splitdebug directories thanks to patch by Arfrever Frehtes Taifersar + Arahesis (bug #308579). + + 30 Jul 2010; Jeroen Roovers python-updater-0.8.ebuild: + Stable for HPPA (bug #320043). + + 17 May 2010; Arfrever Frehtes Taifersar Arahesis + python-updater-0.8.ebuild: + amd64 stable (tested by rullzer) (bug #307265). + + 11 May 2010; Brent Baude python-updater-0.8.ebuild: + stable ppc64, bug 307265 + + 17 Apr 2010; Raúl Porcel python-updater-0.8.ebuild: + alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #307265 + + 01 Apr 2010; Christian Faulhammer + python-updater-0.8.ebuild: + stable x86, bug 307265 + + 15 Mar 2010; nixnut python-updater-0.8.ebuild: + ppc stable #307265 + + 09 Mar 2010; Joseph Jezak + python-updater-0.7-r1.ebuild: + Marked ppc64 stable. + + 01 Feb 2010; Christian Faulhammer + python-updater-0.7-r1.ebuild: + stable x86 + +*python-updater-0.7-r1 (29 Jan 2010) + + 29 Jan 2010; Arfrever Frehtes Taifersar Arahesis + +python-updater-0.7-r1.ebuild, +files/python-updater-0.7-fix_import.patch: + Backport fix for bug #288361. + +*python-updater-0.8 (29 Jan 2010) + + 29 Jan 2010; Arfrever Frehtes Taifersar Arahesis + +python-updater-0.8.ebuild: + Version bump. Fixed bugs: #281692, #283284, #289253. + + 17 Oct 2009; Arfrever Frehtes Taifersar Arahesis + python-updater-0.7.ebuild: + Fix dependencies. + + 09 Aug 2009; Raúl Porcel python-updater-0.7.ebuild: + alpha/arm/ia64/m68k/s390/sh/sparc stable wrt #277647 + + 09 Aug 2009; nixnut python-updater-0.7.ebuild: + ppc stable #277647 + + 05 Aug 2009; Markus Meier python-updater-0.7.ebuild: + x86 stable, bug #277647 + + 01 Aug 2009; Jeroen Roovers python-updater-0.7.ebuild: + Stable for HPPA (bug #277647). + + 31 Jul 2009; Jeremy Olexa python-updater-0.7.ebuild: + amd64 stable, bug 277647 + + 26 Jul 2009; Brent Baude python-updater-0.7.ebuild: + stable ppc64, bug 277647 + +*python-updater-0.7 (12 Jul 2009) + + 12 Jul 2009; Arfrever Frehtes Taifersar Arahesis + +python-updater-0.7.ebuild: + Version bump. Fixed bugs: #232304, #232313, #239174, #256342, #272979. + +*python-updater-0.6-r1 (05 Dec 2008) + + 05 Dec 2008; Robin H. Johnson + +files/python-updater-r133-custom-package-manager-command.patch, + +python-updater-0.6-r1.ebuild: + Bug #249891 - Add support for just calling another binary with the + identical syntax to the package manager. Infra-requested feature, commit + acked by hawking@gentoo.org. + +*python-updater-0.6 (25 Aug 2008) + + 25 Aug 2008; Ali Polatel -python-updater-0.3.ebuild, + -python-updater-0.4.ebuild, +python-updater-0.6.ebuild: + Version bump. Fixes bugs, #232467, #232761, #232860. Drop old. + + 18 Jul 2008; Olivier Crête python-updater-0.5.ebuild: + Stable on amd64, bug #208902 + + 13 Jul 2008; Joseph Jezak python-updater-0.5.ebuild: + Marked ppc stable for bug #208902. + + 11 Jul 2008; Jeroen Roovers python-updater-0.5.ebuild: + Stable for HPPA (bug #208902). + + 10 Jul 2008; Raúl Porcel python-updater-0.5.ebuild: + alpha/ia64/sparc stable wrt #208902 + + 09 Jul 2008; Markus Rothe python-updater-0.5.ebuild: + Stable on ppc64; bug #208902 + + 09 Jul 2008; Christian Faulhammer + python-updater-0.5.ebuild: + stable x86, bug 208902 + +*python-updater-0.5 (24 Jun 2008) + + 24 Jun 2008; Ali Polatel +python-updater-0.5.ebuild: + Version bump. + +*python-updater-9999 (20 Jun 2008) + + 20 Jun 2008; Ali Polatel +python-updater-9999.ebuild: + Added scm ebuild for testing. + + 24 Apr 2008; python-updater-0.2.ebuild: + Drop to ~mips due to unstable deps + +*python-updater-0.4 (04 Jan 2008) + + 04 Jan 2008; Ali Polatel +python-updater-0.4.ebuild: + Version bump, handle missing SLOT bug 201848. + +*python-updater-0.3 (29 Oct 2007) + + 29 Oct 2007; Ali Polatel python-updater-0.2.ebuild, + +python-updater-0.3.ebuild: + version bump. fixing bug 180088 and some other problems. changed HOMEPAGE + + 26 Oct 2007; Ali Polatel python-updater-0.2.ebuild: + Changed SRC_URI to mirror://gentoo + + 07 Sep 2007; Ali Polatel -python-updater-0.1.ebuild, + python-updater-0.2.ebuild: + add blocker for older python versions to prevent collisions (bug 190454). + drop old + + 31 May 2007; Bryan Østergaard metadata.xml: + Remove myself as I'm retiring. + + 16 May 2007; Tobias Scherbaum + python-updater-0.2.ebuild: + ppc stable, bug #177804 + + 16 May 2007; Daniel Gryniewicz + python-updater-0.2.ebuild: + Marked stable on amd64 for bug #177804 + + 14 May 2007; Bryan Østergaard + python-updater-0.2.ebuild: + Stable on Alpha and Mips. + + 14 May 2007; Gustavo Zacarias + python-updater-0.2.ebuild: + Stable on sparc wrt security #177804 + + 14 May 2007; Jeroen Roovers python-updater-0.2.ebuild: + Stable for HPPA (preparation for bug #177804). + + 13 May 2007; Markus Rothe python-updater-0.2.ebuild: + Stable on ppc64; bug #177804 + + 12 May 2007; Raúl Porcel python-updater-0.2.ebuild: + ia64 + x86 stable wrt security bug #177804 + + 12 May 2007; Markus Rothe python-updater-0.2.ebuild: + Added ~ppc64; bug #177270 + + 11 May 2007; Bryan Østergaard + python-updater-0.2.ebuild: + Add ~alpha and ~mips keywords. + + 08 May 2007; Roy Marples python-updater-0.2.ebuild: + Added ~sparc-fbsd keyword, #177426. + Added ~x86-fbsd keyword, #177426. + + 08 May 2007; Raúl Porcel python-updater-0.2.ebuild: + Add ~ia64 wrt bug 177270 + + 07 May 2007; Jeroen Roovers python-updater-0.2.ebuild: + Marked ~hppa (bug #177270). + +*python-updater-0.2 (07 May 2007) + + 07 May 2007; Bryan Østergaard + +python-updater-0.2.ebuild: + Small bump, ripping out logging and --new option. + + 06 May 2007; Lukasz Strzygowski + python-updater-0.1.ebuild: + Marked ~amd64. + + 06 May 2007; Bryan Østergaard + python-updater-0.1.ebuild: + Fix RDEPEND. + +*python-updater-0.1 (06 May 2007) + + 06 May 2007; Bryan Østergaard + +python-updater-0.1.ebuild: + Initial import of stand-alone python-updater. + diff --git a/sdk_container/src/third_party/portage-stable/app-admin/python-updater/Manifest b/sdk_container/src/third_party/portage-stable/app-admin/python-updater/Manifest new file mode 100644 index 0000000000..5513fdfa41 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-admin/python-updater/Manifest @@ -0,0 +1,8 @@ +AUX python-updater-0.10-expand-aliases.patch 171 SHA256 734ff3178594cfc7717bf61a07f3686c9d4d664feb28623ae06b9ea0493b8757 SHA512 b8a2775e8b64610caf0f805fcd321406331d5ab4983a6a59bcf06ef7be1a5611473c63a49c9eb97889c6aa0b6ba3d5966d51de9813f4b0cccaebfe99b09f0203 WHIRLPOOL 3e52f837c8aeffb5fb704bfd07e71e733bb4c75be8e340dc507bc11f576009ea07ea2b303a5928e00f994a980aaf00d14ab127f040cf7b5dafccab58023869a6 +AUX python-updater-0.10-only-alias-sed-if-exists.patch 965 SHA256 d9d824edc1478550245e51a3635064c3d245de38f8551a7d9e6225f82d8f5362 SHA512 545a8cd939347f8ad2cbccfb0832e291cf2d7b370abd81b4035d217d9677a2437b5562545fd9d23a9d03d458a8ad25a4ba95d1c9d1d5c8ce728b7c4fc7e0aea7 WHIRLPOOL 8791d6b4bdef33ee706f0eeda8f583feb6daf74428a4465a85f61a8ccf35d7009217538685502a9794b81d44e90f992c0c44e534d745207ed83892f6f98ca24a +DIST python-updater-0.10.tar.bz2 9245 SHA256 7defcf844e3751ce0ead132116b727f947715c7545a7a2f8ffba7cf375213520 SHA512 4e6ce62fef67bc7fd7738d15b49ddff5f0c5c202a197b783bc4ce78005134d0c541ef32e3591cb6523976b2d6a38441677e819905f127e7b25ec1c0f5bf9d68b WHIRLPOOL b68db0d05c03a6aa68f595d23ff072deafa67e1460350e71bac6a30465c4d60459ff6cef54a1bbc4c87711f5d20843aedb575c1248fd698478b23abfbef26eee +EBUILD python-updater-0.10-r2.ebuild 1362 SHA256 cbeda9ee6206982efb20e83ffb1a9424bd3f09b65896eda7d6d6c7d124b8ae04 SHA512 935c9db67426d21009ae9d59000aa946f5966db6bc0abab65ab64a994418496d9cee3ff895cf734c7c961606a61fa91392933cbff01ad0d4bba01af98a3450f1 WHIRLPOOL 34e2cb2e78f64c2e1efa942015aba9eff1a32198eb656b547d7b2021a0c3f4ddeca64e6bad2a0b042bc1642090747085c7420f49c6f41efca092e8da2a8a49d3 +EBUILD python-updater-0.10.ebuild 1169 SHA256 02a95f151bd8c4c18e04b64233482d002c95fb92965a096686f2f203559d80be SHA512 c2864d5dfd896e04df8acb00a09573dc4a7c1675652bfe3a948c999557fb15798ef08c00a03991fac22272a307f52c227c39eb8b89c91be456a59ce48eb1d13f WHIRLPOOL 1fb5c2f6ed6a9f07faf9fe3128c98fbf9c465d89223d653818a31b408043b5b1953928c9a7f84765b4deb9d8c624c9944c0c85f89c9ef9dc47de5b08346da17a +EBUILD python-updater-9999.ebuild 1086 SHA256 b571662164921f3a60bce1fd005b4679499310fe0d06393b54ee2cfa78a4b4bb SHA512 129cc0b2bf4ed6fa1236a247d5737520562101ad5a484b72ec1fe43e542701d3dca9ddf1c9f0fbb5a14d5b1204fcb941318cc352ae8836cd457bc0980e23c83f WHIRLPOOL 9da3c2a90dc72e165ce7be46b6945135c0189305b95f1c0243a4b550698102cd137371784d7ba8485f228cfab4505a6b6c4c051cb1f672e0d9e6f1dd6b869dff +MISC ChangeLog 10869 SHA256 30f5bc056046e07a74a4ce312d00e272c8829206da543970a3a9c323ec8bbcdc SHA512 c0819e4d7093a81878b56d2b6ef0e690f7cb752afda09d52c09fc3471e9941b833edc5b86e3aceaf277b34af84f5918b6661e9b26b3543ec02a3ba179f3392a1 WHIRLPOOL c58786070ac63dbc69f6c780d60a8e8afd0970cc436ab31da27b36b093996b00c2b8d3794865b2b178323854a7edb789c4980ae450e3da35cc53a3bc5c264c93 +MISC metadata.xml 159 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 SHA512 d5a29b9f6ecddfc368dc0f1f8919cd3c3d6ecf2c7a82bc8d4c0dd51b7aa15561ed0462acb8ae39bc84f97e706e82d9b4b06357494f164f1648219f604b473fbe WHIRLPOOL 36e19b63a1b307cc200e1d73499b7477f73799db3909e71b5a0916084728351c76d400f65e2c8b3f8fffb2c9ba54c0bd235f785b47414178d98f11d64a9420d7 diff --git a/sdk_container/src/third_party/portage-stable/app-admin/python-updater/files/python-updater-0.10-expand-aliases.patch b/sdk_container/src/third_party/portage-stable/app-admin/python-updater/files/python-updater-0.10-expand-aliases.patch new file mode 100644 index 0000000000..d48e221f2d --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-admin/python-updater/files/python-updater-0.10-expand-aliases.patch @@ -0,0 +1,11 @@ +--- python-updater ++++ python-updater +@@ -67,6 +67,8 @@ + # Portage variables. + PKG_DBDIR="/var/db/pkg" + ++shopt -s expand_aliases ++ + # usage() + # display usage + usage() { diff --git a/sdk_container/src/third_party/portage-stable/app-admin/python-updater/files/python-updater-0.10-only-alias-sed-if-exists.patch b/sdk_container/src/third_party/portage-stable/app-admin/python-updater/files/python-updater-0.10-only-alias-sed-if-exists.patch new file mode 100644 index 0000000000..20051f5159 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-admin/python-updater/files/python-updater-0.10-only-alias-sed-if-exists.patch @@ -0,0 +1,23 @@ +Only alias sed to /usr/lib/portage/bin/ebuild-helpers/sed if the +latter exists (which should be the case on prefix portages, but not on +normal ones). Fixes fallout from bug #370935 on non-prefix portages. + +--- python-updater ++++ python-updater +@@ -488,8 +488,15 @@ + shift + done + ++# On a prefix portage we need to use sed from ebuild-helpers/ instead ++# of $PATH. On non-prefix portages ebuild-helpers/sed does not exist. ++# Prepending ebuild-helpers/ to $PATH uses too many tools from there. ++# So alias sed to ebuild-helpers/sed if it exists: + if [[ "${PMS_COMMAND[${PMS_INDEX}]}" == "emerge" ]]; then +- alias sed="$(/usr/bin/python -c "import os; print(os.path.dirname(os.path.realpath('$(type -p emerge)')))")/ebuild-helpers/sed" ++ sed="$(/usr/bin/python -c "import os; print(os.path.dirname(os.path.realpath('$(type -p emerge)')))")/ebuild-helpers/sed" ++ if [[ -x "${sed}" ]]; then ++ alias sed="${sed}" ++ fi + fi + + if has_version "=dev-lang/python-2*"; then diff --git a/sdk_container/src/third_party/portage-stable/app-admin/python-updater/metadata.xml b/sdk_container/src/third_party/portage-stable/app-admin/python-updater/metadata.xml new file mode 100644 index 0000000000..de483c5356 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-admin/python-updater/metadata.xml @@ -0,0 +1,5 @@ + + + +python + diff --git a/sdk_container/src/third_party/portage-stable/app-admin/python-updater/python-updater-0.10-r2.ebuild b/sdk_container/src/third_party/portage-stable/app-admin/python-updater/python-updater-0.10-r2.ebuild new file mode 100644 index 0000000000..1f2a10afca --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-admin/python-updater/python-updater-0.10-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/python-updater/python-updater-0.10-r2.ebuild,v 1.2 2012/04/26 14:54:37 aballier Exp $ + +inherit eutils + +if [[ "${PV}" == "9999" ]]; then + inherit subversion +fi + +DESCRIPTION="Script used to reinstall Python packages after changing of active Python versions" +HOMEPAGE="http://www.gentoo.org/proj/en/Python/" +if [[ "${PV}" == "9999" ]]; then + SRC_URI="" + ESVN_REPO_URI="https://gentoo-progress.googlecode.com/svn/projects/python-updater/trunk" +else + SRC_URI="http://people.apache.org/~Arfrever/gentoo/${P}.tar.bz2" +fi + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="$([[ "${PV}" == "9999" ]] && echo "sys-apps/help2man")" +RDEPEND="dev-lang/python + || ( >=sys-apps/portage-2.1.6 >=sys-apps/paludis-0.56.0 )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-expand-aliases.patch + epatch "${FILESDIR}"/${P}-only-alias-sed-if-exists.patch +} + +src_compile() { + if [[ "${PV}" == "9999" ]]; then + emake ${PN}.1 || die "Generation of man page failed" + fi +} + +src_install() { + dosbin ${PN} || die "dosbin failed" + doman ${PN}.1 || die "doman failed" + dodoc AUTHORS || die "dodoc failed" +} diff --git a/sdk_container/src/third_party/portage-stable/app-admin/python-updater/python-updater-0.10.ebuild b/sdk_container/src/third_party/portage-stable/app-admin/python-updater/python-updater-0.10.ebuild new file mode 100644 index 0000000000..78be5c927b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-admin/python-updater/python-updater-0.10.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/python-updater/python-updater-0.10.ebuild,v 1.7 2012/03/02 22:08:06 ranger Exp $ + +if [[ "${PV}" == "9999" ]]; then + inherit subversion +fi + +DESCRIPTION="Script used to reinstall Python packages after changing of active Python versions" +HOMEPAGE="http://www.gentoo.org/proj/en/Python/" +if [[ "${PV}" == "9999" ]]; then + SRC_URI="" + ESVN_REPO_URI="https://gentoo-progress.googlecode.com/svn/projects/python-updater/trunk" +else + SRC_URI="http://people.apache.org/~Arfrever/gentoo/${P}.tar.bz2" +fi + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="$([[ "${PV}" == "9999" ]] && echo "sys-apps/help2man")" +RDEPEND="dev-lang/python + || ( >=sys-apps/portage-2.1.6 >=sys-apps/paludis-0.56.0 )" + +src_compile() { + if [[ "${PV}" == "9999" ]]; then + emake ${PN}.1 || die "Generation of man page failed" + fi +} + +src_install() { + dosbin ${PN} || die "dosbin failed" + doman ${PN}.1 || die "doman failed" + dodoc AUTHORS || die "dodoc failed" +} diff --git a/sdk_container/src/third_party/portage-stable/app-admin/python-updater/python-updater-9999.ebuild b/sdk_container/src/third_party/portage-stable/app-admin/python-updater/python-updater-9999.ebuild new file mode 100644 index 0000000000..7580f74c31 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-admin/python-updater/python-updater-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/python-updater/python-updater-9999.ebuild,v 1.8 2011/12/30 17:41:45 maksbotan Exp $ + +if [[ "${PV}" == "9999" ]]; then + inherit subversion +fi + +DESCRIPTION="Script used to reinstall Python packages after changing of active Python versions" +HOMEPAGE="http://www.gentoo.org/proj/en/Python/" +if [[ "${PV}" == "9999" ]]; then + SRC_URI="" + ESVN_REPO_URI="https://gentoo-progress.googlecode.com/svn/projects/python-updater/trunk" +else + SRC_URI="http://people.apache.org/~Arfrever/gentoo/${P}.tar.bz2" +fi + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +DEPEND="$([[ "${PV}" == "9999" ]] && echo "sys-apps/help2man")" +RDEPEND="dev-lang/python + || ( >=sys-apps/portage-2.1.6 >=sys-apps/paludis-0.56.0 )" + +src_compile() { + if [[ "${PV}" == "9999" ]]; then + emake ${PN}.1 || die "Generation of man page failed" + fi +} + +src_install() { + dosbin ${PN} || die "dosbin failed" + doman ${PN}.1 || die "doman failed" + dodoc AUTHORS || die "dodoc failed" +}