diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-admin/python-updater | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-admin/python-updater')
8 files changed, 194 insertions, 0 deletions
diff --git a/app-admin/python-updater/Manifest b/app-admin/python-updater/Manifest new file mode 100644 index 000000000000..1e42e3b38339 --- /dev/null +++ b/app-admin/python-updater/Manifest @@ -0,0 +1,3 @@ +DIST python-updater-0.11.tar.bz2 9355 SHA256 5c88b2a56febe67e783855a1c51c4c89637e948704834ad1f5d1b6e46cc4a7b8 SHA512 613d0b772faed65690b3999fb557f4414926f72f2f6084cf2e91c225a036df8c1a3c73e4fa6feac191cb7ac89035d3bcae9a6b23f479e2cf63d69bb8c57217fe WHIRLPOOL 9eab112192a3515e71d4971b89282d3f9725629af5b4db6a090d74f4c3dc9421dbfbc9c6c0393b3d6387d4926b1eb1bbc6291ac18ae31e86ecfeb37cfba68b14 +DIST python-updater-0.12.tar.bz2 10323 SHA256 9df20f8e4acb18428f649ca944e9f6875125d996df6a72f0dab4e1f4b51ffe72 SHA512 6bb092ab52274f22edce479c2efafb3ad96c8969ecf0e72a99c5c6dc2755c6caf9bfaacbcb745a8839b79c891c6356b6cfcba08ce117061a0e6d17d3d43ff3fd WHIRLPOOL 86659c9b5a4f9752416342ed09e710a70133f7b69e61f707d1800f4008db63770b4252a32222c56047a9db37319963558872ea8618fc00f44f4fc4da4b800c62 +DIST python-updater-0.13.tar.bz2 10384 SHA256 9123cdb538f3f05f20562acb1e6bb4f568061f3b6d866b31edb24da325bfbbbe SHA512 5c75cd76e18d19a6d4fdec902d47cccf41d61fd9b6d40c6c22b4579e826130ebdf00c8da57b6ba2752ff10832f5fcebb9a0a2dbeef03551add0382f57b15ac5a WHIRLPOOL bf804db9ac5dcd7aea9141c43378b0c5d938d5a984c9fe73fb9d8db1933354270a2cf74e5ea49066cb5c2fae1e60590638abf9a79cb9394bcbe9c3487cde9af7 diff --git a/app-admin/python-updater/files/python-updater-0.10-expand-aliases.patch b/app-admin/python-updater/files/python-updater-0.10-expand-aliases.patch new file mode 100644 index 000000000000..d48e221f2d30 --- /dev/null +++ b/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/app-admin/python-updater/files/python-updater-0.10-only-alias-sed-if-exists.patch b/app-admin/python-updater/files/python-updater-0.10-only-alias-sed-if-exists.patch new file mode 100644 index 000000000000..20051f51594d --- /dev/null +++ b/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/app-admin/python-updater/metadata.xml b/app-admin/python-updater/metadata.xml new file mode 100644 index 000000000000..de483c53568f --- /dev/null +++ b/app-admin/python-updater/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>python</herd> +</pkgmetadata> diff --git a/app-admin/python-updater/python-updater-0.11.ebuild b/app-admin/python-updater/python-updater-0.11.ebuild new file mode 100644 index 000000000000..8ecee960ddab --- /dev/null +++ b/app-admin/python-updater/python-updater-0.11.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +if [[ "${PV}" == "9999" ]]; then + inherit git-2 +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="" + EGIT_REPO_URI="git://anongit.gentoo.org/proj/python-updater.git" +else + SRC_URI="http://dev.gentoo.org/~floppym/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" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND="$([[ "${PV}" == "9999" ]] && echo "sys-apps/help2man")" +RDEPEND="|| ( >=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} + doman ${PN}.1 + dodoc AUTHORS +} diff --git a/app-admin/python-updater/python-updater-0.12.ebuild b/app-admin/python-updater/python-updater-0.12.ebuild new file mode 100644 index 000000000000..4aff91f1455e --- /dev/null +++ b/app-admin/python-updater/python-updater-0.12.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 +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 + EGIT_REPO_URI="git://anongit.gentoo.org/proj/python-updater.git" +else + SRC_URI="http://dev.gentoo.org/~floppym/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" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +if [[ ${PV} == 9999 ]]; then + DEPEND=" + sys-apps/gentoo-functions + sys-apps/help2man + " +fi +RDEPEND=" + sys-apps/gentoo-functions + || ( >=sys-apps/portage-2.1.6 >=sys-apps/paludis-0.56.0 sys-apps/pkgcore ) +" + +src_compile() { + [[ ${PV} == 9999 ]] && emake python-updater + default +} diff --git a/app-admin/python-updater/python-updater-0.13.ebuild b/app-admin/python-updater/python-updater-0.13.ebuild new file mode 100644 index 000000000000..4aff91f1455e --- /dev/null +++ b/app-admin/python-updater/python-updater-0.13.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 +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 + EGIT_REPO_URI="git://anongit.gentoo.org/proj/python-updater.git" +else + SRC_URI="http://dev.gentoo.org/~floppym/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" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +if [[ ${PV} == 9999 ]]; then + DEPEND=" + sys-apps/gentoo-functions + sys-apps/help2man + " +fi +RDEPEND=" + sys-apps/gentoo-functions + || ( >=sys-apps/portage-2.1.6 >=sys-apps/paludis-0.56.0 sys-apps/pkgcore ) +" + +src_compile() { + [[ ${PV} == 9999 ]] && emake python-updater + default +} diff --git a/app-admin/python-updater/python-updater-9999.ebuild b/app-admin/python-updater/python-updater-9999.ebuild new file mode 100644 index 000000000000..4aff91f1455e --- /dev/null +++ b/app-admin/python-updater/python-updater-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 +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 + EGIT_REPO_URI="git://anongit.gentoo.org/proj/python-updater.git" +else + SRC_URI="http://dev.gentoo.org/~floppym/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" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +if [[ ${PV} == 9999 ]]; then + DEPEND=" + sys-apps/gentoo-functions + sys-apps/help2man + " +fi +RDEPEND=" + sys-apps/gentoo-functions + || ( >=sys-apps/portage-2.1.6 >=sys-apps/paludis-0.56.0 sys-apps/pkgcore ) +" + +src_compile() { + [[ ${PV} == 9999 ]] && emake python-updater + default +} |