summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2012-03-02 16:00:17 +0000
committerNaohiro Aota <naota@gentoo.org>2012-03-02 16:00:17 +0000
commit63677f39cfa4a4061c647349aeafcd235c4ade0a (patch)
tree9d284c84a361528afd41af21ab6be807102c1303 /app-admin/python-updater
parentadjusted Manifest to correct reuploaded bootstrap for amd64 (#372179) (diff)
downloadgentoo-2-63677f39cfa4a4061c647349aeafcd235c4ade0a.tar.gz
gentoo-2-63677f39cfa4a4061c647349aeafcd235c4ade0a.tar.bz2
gentoo-2-63677f39cfa4a4061c647349aeafcd235c4ade0a.zip
Add expand-aliases patch, bug #370935
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/python-updater')
-rw-r--r--app-admin/python-updater/ChangeLog8
-rw-r--r--app-admin/python-updater/files/python-updater-0.10-expand-aliases.patch11
-rw-r--r--app-admin/python-updater/python-updater-0.10-r1.ebuild45
3 files changed, 63 insertions, 1 deletions
diff --git a/app-admin/python-updater/ChangeLog b/app-admin/python-updater/ChangeLog
index 7bc2fcf034b1..15ad7bb323a0 100644
--- a/app-admin/python-updater/ChangeLog
+++ b/app-admin/python-updater/ChangeLog
@@ -1,6 +1,12 @@
# 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.73 2012/02/08 15:16:03 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/python-updater/ChangeLog,v 1.74 2012/03/02 16:00:16 naota Exp $
+
+*python-updater-0.10-r1 (02 Mar 2012)
+
+ 02 Mar 2012; Naohiro Aota <naota@gentoo.org> +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 <jer@gentoo.org> python-updater-0.10.ebuild:
Stable for HPPA (bug #400861).
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/python-updater-0.10-r1.ebuild b/app-admin/python-updater/python-updater-0.10-r1.ebuild
new file mode 100644
index 000000000000..c705c3400c0e
--- /dev/null
+++ b/app-admin/python-updater/python-updater-0.10-r1.ebuild
@@ -0,0 +1,45 @@
+# 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-r1.ebuild,v 1.1 2012/03/02 16:00:16 naota 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 ~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
+}
+
+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"
+}