diff options
author | Ulrich Müller <ulm@gentoo.org> | 2008-10-25 23:18:45 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2008-10-25 23:18:45 +0000 |
commit | a95287ae8a7e7f37bb1c8f1c4d0c0502373a7932 (patch) | |
tree | c7e3dbb62cd585c05b05defec1ee06b6d89a59de /app-admin/eselect-emacs | |
parent | Remove old. (diff) | |
download | gentoo-2-a95287ae8a7e7f37bb1c8f1c4d0c0502373a7932.tar.gz gentoo-2-a95287ae8a7e7f37bb1c8f1c4d0c0502373a7932.tar.bz2 gentoo-2-a95287ae8a7e7f37bb1c8f1c4d0c0502373a7932.zip |
Remove old.
(Portage version: 2.2_rc12/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'app-admin/eselect-emacs')
-rw-r--r-- | app-admin/eselect-emacs/ChangeLog | 6 | ||||
-rw-r--r-- | app-admin/eselect-emacs/eselect-emacs-1.3-r2.ebuild | 24 | ||||
-rw-r--r-- | app-admin/eselect-emacs/eselect-emacs-1.5.ebuild | 24 | ||||
-rwxr-xr-x | app-admin/eselect-emacs/files/emacs-updater | 123 |
4 files changed, 5 insertions, 172 deletions
diff --git a/app-admin/eselect-emacs/ChangeLog b/app-admin/eselect-emacs/ChangeLog index 34d4e443f6f5..1c96dc1230f5 100644 --- a/app-admin/eselect-emacs/ChangeLog +++ b/app-admin/eselect-emacs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-admin/eselect-emacs # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-emacs/ChangeLog,v 1.57 2008/09/30 04:18:14 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-emacs/ChangeLog,v 1.58 2008/10/25 23:18:45 ulm Exp $ + + 25 Oct 2008; Ulrich Mueller <ulm@gentoo.org> -files/emacs-updater, + -eselect-emacs-1.3-r2.ebuild, -eselect-emacs-1.5.ebuild: + Remove old. 30 Sep 2008; Jeroen Roovers <jer@gentoo.org> eselect-emacs-1.5-r1.ebuild: Stable for HPPA (bug #238021). diff --git a/app-admin/eselect-emacs/eselect-emacs-1.3-r2.ebuild b/app-admin/eselect-emacs/eselect-emacs-1.3-r2.ebuild deleted file mode 100644 index cca8f36b13b5..000000000000 --- a/app-admin/eselect-emacs/eselect-emacs-1.3-r2.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-emacs/eselect-emacs-1.3-r2.ebuild,v 1.10 2008/04/30 13:49:24 ulm Exp $ - -DESCRIPTION="Manages Emacs versions" -HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" -IUSE="" - -DEPEND="" -RDEPEND=">=app-admin/eselect-1.0.10 - ~app-admin/eselect-ctags-${PV}" - -src_install() { - insinto /usr/share/eselect/modules - doins emacs.eselect || die "doins failed" - doman emacs.eselect.5 || die "doman failed" - dodoc ChangeLog || die "dodoc failed" - dosbin "${FILESDIR}/emacs-updater" || die "dosbin failed" -} diff --git a/app-admin/eselect-emacs/eselect-emacs-1.5.ebuild b/app-admin/eselect-emacs/eselect-emacs-1.5.ebuild deleted file mode 100644 index 88fc56159ee5..000000000000 --- a/app-admin/eselect-emacs/eselect-emacs-1.5.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-emacs/eselect-emacs-1.5.ebuild,v 1.9 2008/10/25 22:39:58 vapier Exp $ - -DESCRIPTION="Manages Emacs versions" -HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" -IUSE="" - -DEPEND="" -RDEPEND=">=app-admin/eselect-1.0.10 - ~app-admin/eselect-ctags-${PV}" - -src_install() { - insinto /usr/share/eselect/modules - doins {emacs,etags}.eselect || die "doins failed" - doman {emacs,etags}.eselect.5 || die "doman failed" - dodoc ChangeLog || die "dodoc failed" - dosbin "${FILESDIR}/emacs-updater" || die "dosbin failed" -} diff --git a/app-admin/eselect-emacs/files/emacs-updater b/app-admin/eselect-emacs/files/emacs-updater deleted file mode 100755 index 83b5ec15179f..000000000000 --- a/app-admin/eselect-emacs/files/emacs-updater +++ /dev/null @@ -1,123 +0,0 @@ -#!/bin/bash - -# Copyright 2007-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id: emacs-updater,v 1.4 2008/05/25 17:26:28 ulm Exp $ - -# Authors: -# Christian Faulhammer <opfer@gentoo.org> -# Ulrich Mueller <ulm@gentoo.org> - -VERSION=0.6 -SITELISP=/usr/share/emacs/site-lisp -TMPFILE="$(mktemp /tmp/emacs-updater.XXXXXX)" - -cat <<-EOF - -Emacs updater version ${VERSION} -Written by the Gentoo Emacs team http://www.gentoo.org/proj/en/lisp/emacs/ -Find packages that are installed in the wrong location - -EOF - -usage() { - sed -e 's/^X//' <<-EOF - Usage: ${0##*/} [OPTION]... - X -n, --nocolour disable colour in output - X -p, --pretend don't actually emerge packages - X -h, --help display this help and exit - EOF - exit ${1} -} - -# Read in all command-line options and force English output -OPTIONS=$(LC_ALL=C getopt -o hpn --long help,pretend,nocolour \ - -n 'emacs-updater' -- "$@") -[ $? -eq 0 ] || usage 1 - -eval set -- "${OPTIONS}" - -while true -do - case "${1}" in - -h|--help) usage 0 ;; - -p|--pretend) PRETEND="true"; shift 1 ;; - -n|--nocolour) NOCOLOUR="true"; shift 1 ;; - --) shift; break ;; - esac -done - -# Only set colours if output is not redirected or the --no-colour -# option is not set -if [ -t 1 ] && [ -z "${NOCOLOUR}" ] ; then - RED=$(tput -S <<<$'setaf 1\nbold') - GREEN=$(tput -S <<<$'setaf 2\nbold') - YELLOW=$(tput -S <<<$'setaf 3\nbold') - BLUE=$(tput -S <<<$'setaf 4\nbold') - MAGENTA=$(tput -S <<<$'setaf 5\nbold') - CYAN=$(tput -S <<<$'setaf 6\nbold') - BOLD=$(tput bold) - NORMAL=$(tput sgr0) -fi - -# Some type of output can be prettified and capsulated in functions -message() { - local OUTPUT=$@ - echo "${GREEN}*${NORMAL}${BOLD} ${OUTPUT}${NORMAL}" -} - -warning() { - local OUTPUT=$@ - echo "${YELLOW}*${NORMAL}${BOLD} ${OUTPUT}${NORMAL}" -} - -failure() { - local OUTPUT=$@ - echo "${RED}*${NORMAL}${BOLD} ${OUTPUT}${NORMAL}" -} - -if ! [ -x /usr/bin/qfile ]; then - echo - failure "Please emerge app-portage/portage-utils to use this tool" - exit 1 -fi - -for sf in "${ROOT}${SITELISP}"/[0-9][0-9]*-gentoo.el -do - [ "${sf##*/}" = 00site-gentoo.el ] && continue - message "Processing ${sf##*/} ..." - qfile -qCR "${sf}" >> "${TMPFILE}" -done -echo - -if [ ! -s "${TMPFILE}" ]; then - warning "No packages to update, quitting." - exit 2 -fi - -NO_OF_PACKAGES=$(sed -n '$=' "${TMPFILE}") - -[ ${NO_OF_PACKAGES} -eq 1 ] && s= || s=s -message "${NO_OF_PACKAGES} package${s} with site files in the wrong location:" -cat "${TMPFILE}" - -if [ "${PRETEND}" ]; then - exit 3 -fi - -echo -echo -n "${BOLD}Remerge packages?${NORMAL} [${GREEN}Yes${NORMAL}/${RED}No${NORMAL}] " -read choice -echo -case "${choice}" in - y*|Y*|"") - ;; - *) - warning "Quitting." - exit 10 ;; -esac - -emerge --oneshot --ask --verbose $(cat "${TMPFILE}") - -warning "If a package is being rebuilt over and over again," -warning "please report it on http://bugs.gentoo.org/" |