diff options
author | George Shapovalov <george@gentoo.org> | 2006-05-17 21:32:48 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2006-05-17 21:32:48 +0000 |
commit | 13743375d074d0ab00f8ffdfbd8e95ee1c6fadc8 (patch) | |
tree | d8da8a29ee8b30078cefb9250eb7412c2ee608b7 /app-admin/eselect-gnat | |
parent | removed stale versions (diff) | |
download | gentoo-2-13743375d074d0ab00f8ffdfbd8e95ee1c6fadc8.tar.gz gentoo-2-13743375d074d0ab00f8ffdfbd8e95ee1c6fadc8.tar.bz2 gentoo-2-13743375d074d0ab00f8ffdfbd8e95ee1c6fadc8.zip |
removed stale versions
(Portage version: 2.1_rc1-r2)
(Unsigned Manifest commit)
Diffstat (limited to 'app-admin/eselect-gnat')
-rw-r--r-- | app-admin/eselect-gnat/Manifest | 30 | ||||
-rw-r--r-- | app-admin/eselect-gnat/eselect-gnat-0.5.ebuild | 20 | ||||
-rw-r--r-- | app-admin/eselect-gnat/eselect-gnat-0.6.ebuild | 25 | ||||
-rw-r--r-- | app-admin/eselect-gnat/files/digest-eselect-gnat-0.5 | 1 | ||||
-rw-r--r-- | app-admin/eselect-gnat/files/digest-eselect-gnat-0.6 | 1 | ||||
-rw-r--r-- | app-admin/eselect-gnat/files/gnat.eselect | 175 | ||||
-rw-r--r-- | app-admin/eselect-gnat/files/gnat.eselect-0.6 | 176 |
7 files changed, 4 insertions, 424 deletions
diff --git a/app-admin/eselect-gnat/Manifest b/app-admin/eselect-gnat/Manifest index 439eeb7bb512..dc85cdb119a4 100644 --- a/app-admin/eselect-gnat/Manifest +++ b/app-admin/eselect-gnat/Manifest @@ -1,11 +1,3 @@ -AUX gnat.eselect 4311 RMD160 5b4a1c9c69560f0f6782c7bf4527cb24d16ad05d SHA1 4f25347bd25794db2a284889d2ff2755bfd6e1d9 SHA256 1cdcaccabb4f5c57d32487dd9addd5dcc42c380c07052f8b469fcc296997d05b size 4311 -MD5 ecea91aed77d42448b0b49491f364f30 files/gnat.eselect 4311 -RMD160 5b4a1c9c69560f0f6782c7bf4527cb24d16ad05d files/gnat.eselect 4311 -SHA256 1cdcaccabb4f5c57d32487dd9addd5dcc42c380c07052f8b469fcc296997d05b files/gnat.eselect 4311 -AUX gnat.eselect-0.6 4354 RMD160 b74126359dec9f1465f65fae865570de2275ed9c SHA1 17d6fbfeeeea3c8224ad03f8a596a1ea2c5a2c3c SHA256 6f837d55365ca1ea53f9978cbacd9e1befd06865633f425a10fbf450772f2230 size 4354 -MD5 db251ae42afc360063d8137f13176f98 files/gnat.eselect-0.6 4354 -RMD160 b74126359dec9f1465f65fae865570de2275ed9c files/gnat.eselect-0.6 4354 -SHA256 6f837d55365ca1ea53f9978cbacd9e1befd06865633f425a10fbf450772f2230 files/gnat.eselect-0.6 4354 AUX gnat.eselect-0.7 7998 RMD160 5c827f60eab68e6dc610bc0413fb1c0733a9b3f4 SHA1 f3684ee0ad676dd123f08c3a1e4111907879e1f9 SHA256 523305b841224b8555a4c7256951e82f236e34d6ee120528e4b0ed18f1f35c8b size 7998 MD5 bfdad82d05e2ae0875d864e530a61e51 files/gnat.eselect-0.7 7998 RMD160 5c827f60eab68e6dc610bc0413fb1c0733a9b3f4 files/gnat.eselect-0.7 7998 @@ -18,14 +10,6 @@ AUX gnat.eselect-0.8-r1 8222 RMD160 0c34c47c9ea10dcddb951c1f49ee971e0e2e359a SHA MD5 769d8a0d70b668d2a1b51c1c364e572a files/gnat.eselect-0.8-r1 8222 RMD160 0c34c47c9ea10dcddb951c1f49ee971e0e2e359a files/gnat.eselect-0.8-r1 8222 SHA256 4619fb0eec258a411be8b5fa860f4dd7c377f27a72cb0243e35e321f0b10cd46 files/gnat.eselect-0.8-r1 8222 -EBUILD eselect-gnat-0.5.ebuild 532 RMD160 9829d41174edec589ceea93a32db824e1d7544c1 SHA1 471f313406b1db0c940c9cf8cde276271ac67a3a SHA256 e4dd83ef5dd80054712742b3a0604b35a473cceaba8ceb58ba00074cb568b0b0 size 532 -MD5 cc6de5656c9a32406a8ac1daf4002efe eselect-gnat-0.5.ebuild 532 -RMD160 9829d41174edec589ceea93a32db824e1d7544c1 eselect-gnat-0.5.ebuild 532 -SHA256 e4dd83ef5dd80054712742b3a0604b35a473cceaba8ceb58ba00074cb568b0b0 eselect-gnat-0.5.ebuild 532 -EBUILD eselect-gnat-0.6.ebuild 623 RMD160 0a97dcf6e1f3a8a9d94fe29176236ddcd5cf056c SHA1 81ea2318530ab351e5b7c1721987c0e9d6194d93 SHA256 7822d164d49b0b8ee2e3ef6288a0940c47623301305a1acb3cb1e1dbab272b38 size 623 -MD5 860e7d60cfffda1ccf581b6278fca3bc eselect-gnat-0.6.ebuild 623 -RMD160 0a97dcf6e1f3a8a9d94fe29176236ddcd5cf056c eselect-gnat-0.6.ebuild 623 -SHA256 7822d164d49b0b8ee2e3ef6288a0940c47623301305a1acb3cb1e1dbab272b38 eselect-gnat-0.6.ebuild 623 EBUILD eselect-gnat-0.7.ebuild 623 RMD160 6120ba6e8f37ec328a64658f1f61824c45e678c5 SHA1 a815e77026b2c998bcc0003eaa360b2b4c453cc9 SHA256 2b850296732515727a6969895d9a14e096a06633034fd56e3b88f68d7d6b93ee size 623 MD5 c3af14b9775c7785b643c40150c667e5 eselect-gnat-0.7.ebuild 623 RMD160 6120ba6e8f37ec328a64658f1f61824c45e678c5 eselect-gnat-0.7.ebuild 623 @@ -38,20 +22,14 @@ EBUILD eselect-gnat-0.8.ebuild 628 RMD160 456940a07b15b0dac66f1b0fe1eaf91f7744a1 MD5 10da4a9295792af05b1ac0e7199c3712 eselect-gnat-0.8.ebuild 628 RMD160 456940a07b15b0dac66f1b0fe1eaf91f7744a1cd eselect-gnat-0.8.ebuild 628 SHA256 0f3fbd4c483b3bec5898d9c0ac0b934ab29d15759ab679d38c341296d239f1ee eselect-gnat-0.8.ebuild 628 -MISC ChangeLog 1582 RMD160 2b626d47ef63395bd2418987140dc78e4cf572bb SHA1 3cb86f82a79c18545d61772ffbc6aa017507e434 SHA256 0bb1813cd4488437c581d36234f7110307c15726e187c73a88293c59b6760bc9 size 1582 -MD5 8d5285da9d1c763c72f7f2980e6d4947 ChangeLog 1582 -RMD160 2b626d47ef63395bd2418987140dc78e4cf572bb ChangeLog 1582 -SHA256 0bb1813cd4488437c581d36234f7110307c15726e187c73a88293c59b6760bc9 ChangeLog 1582 +MISC ChangeLog 1763 RMD160 2e17df7b1115e03557e99a421725ceaff50bee8e SHA1 2dac5ff26fdfe81ffd61a5cad97dbc7f9059d817 SHA256 2835242a38b4b48acb9d6b23832d5e669f30d03be481cd10460782328c907a67 size 1763 +MD5 acb3ee98dfa692c2df12b1c13cc3ac94 ChangeLog 1763 +RMD160 2e17df7b1115e03557e99a421725ceaff50bee8e ChangeLog 1763 +SHA256 2835242a38b4b48acb9d6b23832d5e669f30d03be481cd10460782328c907a67 ChangeLog 1763 MISC metadata.xml 244 RMD160 784e7fb6660b05dbdd027b1e23975e26e72b7a39 SHA1 e2df521788bf35a7cf98d8b44adca1a1b03df544 SHA256 c32a1e42a5f85acb0b69af3e2644f98213d48492817c90a82c833927d2881419 size 244 MD5 92e9934d7cc8cadaa1ca50badb669313 metadata.xml 244 RMD160 784e7fb6660b05dbdd027b1e23975e26e72b7a39 metadata.xml 244 SHA256 c32a1e42a5f85acb0b69af3e2644f98213d48492817c90a82c833927d2881419 metadata.xml 244 -MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-eselect-gnat-0.5 1 -RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-eselect-gnat-0.5 1 -SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-eselect-gnat-0.5 1 -MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-eselect-gnat-0.6 1 -RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-eselect-gnat-0.6 1 -SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-eselect-gnat-0.6 1 MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-eselect-gnat-0.7 1 RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-eselect-gnat-0.7 1 SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-eselect-gnat-0.7 1 diff --git a/app-admin/eselect-gnat/eselect-gnat-0.5.ebuild b/app-admin/eselect-gnat/eselect-gnat-0.5.ebuild deleted file mode 100644 index a61174574592..000000000000 --- a/app-admin/eselect-gnat/eselect-gnat-0.5.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-gnat/eselect-gnat-0.5.ebuild,v 1.1 2006/01/17 15:18:52 george Exp $ - -inherit eutils - -DESCRIPTION="gnat module for eselect." -HOMEPAGE="http://www.gentoo.org" -SRC_URI="" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -DEPEND="app-admin/eselect" - -src_install() { - dodir /usr/share/eselect/modules - insinto /usr/share/eselect/modules - doins ${FILESDIR}/gnat.eselect -} diff --git a/app-admin/eselect-gnat/eselect-gnat-0.6.ebuild b/app-admin/eselect-gnat/eselect-gnat-0.6.ebuild deleted file mode 100644 index 4f86d1695832..000000000000 --- a/app-admin/eselect-gnat/eselect-gnat-0.6.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-gnat/eselect-gnat-0.6.ebuild,v 1.1 2006/01/22 20:04:38 george Exp $ - -inherit eutils - -DESCRIPTION="gnat module for eselect." -HOMEPAGE="http://www.gentoo.org" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="" -RDEPEND="app-admin/eselect" - -MODULEDIR="/usr/share/eselect/modules" - -src_install() { - dodir ${MODULEDIR} - insinto ${MODULEDIR} - doins ${FILESDIR}/gnat.eselect-${PV} - mv ${D}${MODULEDIR}/gnat.eselect-${PV} ${D}${MODULEDIR}/gnat.eselect -} diff --git a/app-admin/eselect-gnat/files/digest-eselect-gnat-0.5 b/app-admin/eselect-gnat/files/digest-eselect-gnat-0.5 deleted file mode 100644 index 8b137891791f..000000000000 --- a/app-admin/eselect-gnat/files/digest-eselect-gnat-0.5 +++ /dev/null @@ -1 +0,0 @@ - diff --git a/app-admin/eselect-gnat/files/digest-eselect-gnat-0.6 b/app-admin/eselect-gnat/files/digest-eselect-gnat-0.6 deleted file mode 100644 index 8b137891791f..000000000000 --- a/app-admin/eselect-gnat/files/digest-eselect-gnat-0.6 +++ /dev/null @@ -1 +0,0 @@ - diff --git a/app-admin/eselect-gnat/files/gnat.eselect b/app-admin/eselect-gnat/files/gnat.eselect deleted file mode 100644 index f64ffc55b2a4..000000000000 --- a/app-admin/eselect-gnat/files/gnat.eselect +++ /dev/null @@ -1,175 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id: gnat.eselect,v 1.1 2006/01/17 15:18:52 george Exp $ - -DESCRIPTION="Manage the talled gnat compilers" -MAINTAINER="ada@gentoo.org" -SVN_DATE='$Date: 2006/01/17 15:18:52 $' -VERSION=$(svn_date_to_version "${SVN_DATE}" ) - -SPECSDIR="/etc/eselect/gnat" -ENVDIR="/etc/env.d" -MARKER="55gnat-" - -### Helpers - -# create a list of all gnat env.d files -# for now use trivial implementation - store name of active profile in the -# env file name, so it gets called 55gnat-${ARCH}-${PN}-${SLOT} -get_env_list() { - for fn in ${ENVDIR}/${MARKER}*; do - echo $(basename ${fn}) - done -} - -# return *the* name of the active profile, checking that we do not have multiple -# env files. -# There can be only one! -get_current_gnat() { - local profiles=( $(get_env_list) ) - - if [ ${profiles[@]} == "${MARKER}*" ]; then exit; fi - - if (( 1 == ${#profiles[@]} )); then - local active=${profiles[0]#${MARKER}} - else - die -q "${ENVDIR} contains multiple gnat profiles, please cleanup!" - fi - - if [ -f ${SPECSDIR}/${active} ]; then - echo ${active} - else - die -q "the active env.d profile does not correspond to any installed gnat!" - fi -} - -# find installed compilers and return a list -find_compilers() { - for fn in ${SPECSDIR}/*; do - echo $(basename ${fn}); - done -} - -# check if the passed arg represents the installed gnat and return it or -# not_found -# takes args: -# $1 - list ID to check -get_name_from_list() { - compiler=$1 - - compilers=( $(find_compilers) ) - for (( i = 0 ; i < ${#compilers[@]} ; i = i + 1 )) ; do - if [[ ${compilers[$i]} == ${compiler} ]] ; then - echo ${compiler} - return - fi - done - - echo "(not-found)" -} - - -# extracts values of the passed var definition from given spec file -# params: -# $1: spec file (as generated by gnabuild.eclass) -# $2: variable name -get_var_from_spec() { - local var=$(grep $2 $1|cut -d= -f2) - echo ${var} -} - - -# removes env file -# params: -# $1: the name of profile for which to remove env file -unset_env() { - rm -f ${ENVDIR}/${MARKER}$1 &> /dev/null -} - -### show action ### - -describe_show() { - echo "Show the active gnat compiler/profile" -} - -do_show() { - write_list_start "Current gnat version:" - active=$(get_current_gnat) - [ -z $active ] && active="(none set)" - write_kv_list_entry "$active" "" -} - -### list action ### - -describe_list() { - echo "List installed gnat compilers" -} - -do_list() { - compilers=( $(find_compilers ) ) - active=$(get_current_gnat) - - write_list_start "Available gnat compilers:" - - if [[ -n ${compilers[@]} ]] ; then - local i - for (( i = 0 ; i < ${#compilers[@]} ; i = i + 1 )) ; do - linkversion=${compilers[${i}]} - - [[ $linkversion == $active ]] && \ - compilers[${i}]="${compilers[${i}]} $(highlight '*' )" - done - write_numbered_list "${compilers[@]}" - else - write_kv_list_entry "(none found)" "" - fi -} - -### set action ### - -describe_set() { - echo "Set active gnat compiler" -} - -do_set() { - if [[ -z ${1} ]] ; then - # no parameter - die -q "You didn't tell me which gnat to use" - fi - - local toset=$(get_name_from_list $1) - if [[ ${toset} == "(not-found)" ]] ; then - die -q "I don't recognise the selection" - fi - - # the action! - # in this implementation simply create an appropriate env file - local active=$(get_current_gnat) - local envfile="${ENVDIR}/${MARKER}${toset}" - - # now we need to remove an old env file, which is guaranteed to - # be unique by get_current_gnat above - unset_env ${active} - # just for a good measure remove the one we are going to write - unset_env ${toset} - - local binpath="$(get_var_from_spec ${SPECSDIR}/${toset} binpath)" - local libexecpath="$(get_var_from_spec ${SPECSDIR}/${toset} libexecpath)" - echo "PATH=${binpath}:${libexecpath}" >> "${envfile}" - echo "MANPATH=$(get_var_from_spec ${SPECSDIR}/${toset} manpath)" >> "${envfile}" - echo "INFOPATH=$(get_var_from_spec ${SPECSDIR}/${toset} infopath)" >> "${envfile}" - echo "ADA_INCLUDE_PATH=$(get_var_from_spec ${SPECSDIR}/${toset} ldpath)/adainclude" >> "${envfile}" - echo "ADA_OBJECTS_PATH=$(get_var_from_spec ${SPECSDIR}/${toset} ldpath)/adalib" >> "${envfile}" -} - - -### unset action ### - -describe_unset() { - echo "Remove settings for currently active gnat" -} - -do_unset() { - local active=$(get_current_gnat) - unset_env ${active} -} diff --git a/app-admin/eselect-gnat/files/gnat.eselect-0.6 b/app-admin/eselect-gnat/files/gnat.eselect-0.6 deleted file mode 100644 index f9dcf9f23fc0..000000000000 --- a/app-admin/eselect-gnat/files/gnat.eselect-0.6 +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id: gnat.eselect-0.6,v 1.2 2006/04/11 14:45:15 george Exp $ - -DESCRIPTION="Manage the installed gnat compilers" -MAINTAINER="ada@gentoo.org" -SVN_DATE='$Date: 2006/04/11 14:45:15 $' -VERSION=$(svn_date_to_version "${SVN_DATE}" ) - -SPECSDIR="/usr/share/gnat/eselect" -ENVDIR="/etc/env.d" -MARKER="55gnat-" - -### Helpers - -# create a list of all gnat env.d files -# for now use trivial implementation - store name of active profile in the -# env file name, so it gets called 55gnat-${ARCH}-${PN}-${SLOT} -get_env_list() { - for fn in ${ENVDIR}/${MARKER}*; do - echo $(basename ${fn}) - done -} - -# return *the* name of the active profile, checking that we do not have multiple -# env files. -# There can be only one! -get_current_gnat() { - local profiles=( $(get_env_list) ) - - if [ ${profiles[@]} == "${MARKER}*" ]; then exit; fi - - if (( 1 == ${#profiles[@]} )); then - local active=${profiles[0]#${MARKER}} - else - die -q "${ENVDIR} contains multiple gnat profiles, please cleanup!" - fi - - if [ -f ${SPECSDIR}/${active} ]; then - echo ${active} - else - die -q "the active env.d profile does not correspond to any installed gnat!" - fi -} - -# find installed compilers and return a list -find_compilers() { - [ ! -d ${SPECSDIR} ] && exit - for fn in ${SPECSDIR}/*; do - echo $(basename ${fn}); - done -} - -# check if the passed arg represents the installed gnat and return it or -# not_found -# takes args: -# $1 - list ID to check -get_name_from_list() { - compiler=$1 - - compilers=( $(find_compilers) ) - for (( i = 0 ; i < ${#compilers[@]} ; i = i + 1 )) ; do - if [[ ${compilers[$i]} == ${compiler} ]] ; then - echo ${compiler} - return - fi - done - - echo "(not-found)" -} - - -# extracts values of the passed var definition from given spec file -# params: -# $1: spec file (as generated by gnabuild.eclass) -# $2: variable name -get_var_from_spec() { - local var=$(grep $2 $1|cut -d= -f2) - echo ${var} -} - - -# removes env file -# params: -# $1: the name of profile for which to remove env file -unset_env() { - rm -f ${ENVDIR}/${MARKER}$1 &> /dev/null -} - -### show action ### - -describe_show() { - echo "Show the active gnat compiler/profile" -} - -do_show() { - write_list_start "Current gnat version:" - active=$(get_current_gnat) - [ -z $active ] && active="(none set)" - write_kv_list_entry "$active" "" -} - -### list action ### - -describe_list() { - echo "List installed gnat compilers" -} - -do_list() { - compilers=( $(find_compilers ) ) - active=$(get_current_gnat) - - write_list_start "Available gnat compilers:" - - if [[ -n ${compilers[@]} ]] ; then - local i - for (( i = 0 ; i < ${#compilers[@]} ; i = i + 1 )) ; do - linkversion=${compilers[${i}]} - - [[ $linkversion == $active ]] && \ - compilers[${i}]="${compilers[${i}]} $(highlight '*' )" - done - write_numbered_list "${compilers[@]}" - else - write_kv_list_entry "(none found)" "" - fi -} - -### set action ### - -describe_set() { - echo "Set active gnat compiler" -} - -do_set() { - if [[ -z ${1} ]] ; then - # no parameter - die -q "You didn't tell me which gnat to use" - fi - - local toset=$(get_name_from_list $1) - if [[ ${toset} == "(not-found)" ]] ; then - die -q "I don't recognise the selection" - fi - - # the action! - # in this implementation simply create an appropriate env file - local active=$(get_current_gnat) - local envfile="${ENVDIR}/${MARKER}${toset}" - - # now we need to remove an old env file, which is guaranteed to - # be unique by get_current_gnat above - unset_env ${active} - # just for a good measure remove the one we are going to write - unset_env ${toset} - - local binpath="$(get_var_from_spec ${SPECSDIR}/${toset} binpath)" - local libexecpath="$(get_var_from_spec ${SPECSDIR}/${toset} libexecpath)" - echo "PATH=${binpath}:${libexecpath}" >> "${envfile}" - echo "MANPATH=$(get_var_from_spec ${SPECSDIR}/${toset} manpath)" >> "${envfile}" - echo "INFOPATH=$(get_var_from_spec ${SPECSDIR}/${toset} infopath)" >> "${envfile}" - echo "ADA_INCLUDE_PATH=$(get_var_from_spec ${SPECSDIR}/${toset} ldpath)/adainclude" >> "${envfile}" - echo "ADA_OBJECTS_PATH=$(get_var_from_spec ${SPECSDIR}/${toset} ldpath)/adalib" >> "${envfile}" -} - - -### unset action ### - -describe_unset() { - echo "Remove settings for currently active gnat" -} - -do_unset() { - local active=$(get_current_gnat) - unset_env ${active} -} |