summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-11-22 02:36:22 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-11-22 02:36:22 +0000
commita94e2da583e44ff44a6b1a2d60edcd968cd08c8a (patch)
tree9186069ad42398169c7ed3c53656cd2abbd0dbfe /app-admin
parentRemove obsolete masks. (diff)
downloadgentoo-2-a94e2da583e44ff44a6b1a2d60edcd968cd08c8a.tar.gz
gentoo-2-a94e2da583e44ff44a6b1a2d60edcd968cd08c8a.tar.bz2
gentoo-2-a94e2da583e44ff44a6b1a2d60edcd968cd08c8a.zip
Remove select-boost since boost is no longer slotted.
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/eselect-boost/ChangeLog111
-rw-r--r--app-admin/eselect-boost/Manifest18
-rw-r--r--app-admin/eselect-boost/eselect-boost-0.2.ebuild22
-rw-r--r--app-admin/eselect-boost/eselect-boost-0.3.ebuild25
-rw-r--r--app-admin/eselect-boost/eselect-boost-0.4.ebuild26
-rw-r--r--app-admin/eselect-boost/files/boost.eselect-0.2205
-rw-r--r--app-admin/eselect-boost/files/boost.eselect-0.3229
-rw-r--r--app-admin/eselect-boost/files/boost.eselect-0.4254
-rw-r--r--app-admin/eselect-boost/metadata.xml13
9 files changed, 0 insertions, 903 deletions
diff --git a/app-admin/eselect-boost/ChangeLog b/app-admin/eselect-boost/ChangeLog
deleted file mode 100644
index ce4fe6bdd379..000000000000
--- a/app-admin/eselect-boost/ChangeLog
+++ /dev/null
@@ -1,111 +0,0 @@
-# ChangeLog for app-admin/eselect-boost
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-boost/ChangeLog,v 1.28 2012/09/05 22:34:58 blueness Exp $
-
- 05 Sep 2012; Anthony G. Basile <blueness@gentoo.org>
- eselect-boost-0.4.ebuild:
- Stable ppc64, bug #425354
-
- 08 Jul 2012; Mike Gilbert <floppym@gentoo.org> metadata.xml:
- Add Arfrever as a maintainer.
-
- 08 Jun 2012; Michael Weber <xmw@gentoo.org> eselect-boost-0.4.ebuild:
- ppc stable (bug 413815)
-
- 03 Jun 2012; Raúl Porcel <armin76@gentoo.org> eselect-boost-0.4.ebuild:
- alpha/ia64/s390/sh/sparc stable wrt #413813
-
- 21 May 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org>
- eselect-boost-0.4.ebuild:
- x86 stable wrt bug #413813
-
- 16 May 2012; Jeroen Roovers <jer@gentoo.org> eselect-boost-0.4.ebuild:
- Stable for HPPA (bug #413813).
-
- 12 May 2012; Markus Meier <maekke@gentoo.org> eselect-boost-0.4.ebuild:
- arm stable, bug #413813
-
- 06 May 2012; Agostino Sarubbo <ago@gentoo.org> eselect-boost-0.4.ebuild:
- Stable for amd64, wrt bug #413813
-
- 05 May 2012; Brent Baude <ranger@gentoo.org> eselect-boost-0.4.ebuild:
- Marking eselect-boost-0.4 ppc for bug 413813
-
- 28 Apr 2012; Alexis Ballier <aballier@gentoo.org> eselect-boost-0.4.ebuild:
- keyword ~amd64-fbsd
-
-*eselect-boost-0.4 (02 Apr 2012)
-
- 02 Apr 2012; Mike Gilbert <floppym@gentoo.org> +eselect-boost-0.4.ebuild,
- +files/boost.eselect-0.4:
- Support python_modules variable for improved handling of Python modules, which
- will execute code from boost_*/__init__.py (bug #404253). Ebuild and updated
- boost.eselect by Arfrever.
-
- 28 Aug 2011; Ulrich Mueller <ulm@gentoo.org> files/boost.eselect-0.3:
- Fix spelling, bug 290968.
-
- 28 Jun 2011; Matt Turner <mattst88@gentoo.org> eselect-boost-0.3.ebuild:
- Add ~mips
-
- 21 Mar 2010; Brent Baude <ranger@gentoo.org> eselect-boost-0.3.ebuild:
- Marking eselect-boost-0.3 ppc64 for bug 306335
-
- 22 Jan 2010; Jeroen Roovers <jer@gentoo.org> files/boost.eselect-0.2,
- files/boost.eselect-0.3:
- Fix quoting thanks to Tobias Nielsen.
-
- 27 Dec 2009; Raúl Porcel <armin76@gentoo.org> eselect-boost-0.3.ebuild:
- alpha/arm/ia64/s390/sh/sparc stable
-
- 10 Dec 2009; Alexis Ballier <aballier@gentoo.org>
- eselect-boost-0.3.ebuild:
- keyword ~x86-fbsd
-
- 25 Oct 2009; Markus Meier <maekke@gentoo.org> eselect-boost-0.3.ebuild:
- amd64/x86 stable, bug #284686
-
- 24 Oct 2009; nixnut <nixnut@gentoo.org> eselect-boost-0.3.ebuild:
- ppc stable #284686
-
- 23 Oct 2009; Jeroen Roovers <jer@gentoo.org> eselect-boost-0.3.ebuild:
- Stable for HPPA (bug #288723).
-
- 20 May 2009; Raúl Porcel <armin76@gentoo.org> eselect-boost-0.2.ebuild,
- eselect-boost-0.3.ebuild:
- Add ~arm/~ia64/~s390/~sh wrt #269456
-
- 16 May 2009; Tobias Klausmann <klausman@gentoo.org>
- eselect-boost-0.3.ebuild:
- Keyworded on alpha, bug #269456
-
- 13 May 2009; Joseph Jezak <josejx@gentoo.org> eselect-boost-0.3.ebuild:
- Marked ~ppc/~ppc64 for bug #269456.
-
- 12 May 2009; Jeroen Roovers <jer@gentoo.org> eselect-boost-0.3.ebuild:
- Marked ~hppa too.
-
-*eselect-boost-0.3 (07 Apr 2009)
-
- 07 Apr 2009; Tiziano Müller <dev-zero@gentoo.org>
- +files/boost.eselect-0.3, +eselect-boost-0.3.ebuild:
- Version bump for new boost versions: full profile support using profile
- files.
-
- 24 Feb 2009; Ferris McCormick <fmccor@gentoo.org>
- eselect-boost-0.2.ebuild:
- Add ~sparc keyword in anticipation of testing.
-
-*eselect-boost-0.2 (06 Jan 2009)
-
- 06 Jan 2009; Tiziano Müller <dev-zero@gentoo.org>
- -files/boost.eselect-0.1, +files/boost.eselect-0.2,
- -eselect-boost-0.1.ebuild, +eselect-boost-0.2.ebuild:
- Version bump to fix bug #252828
-
-*eselect-boost-0.1 (16 Dec 2008)
-
- 16 Dec 2008; Tiziano Müller <dev-zero@gentoo.org>
- +files/boost.eselect-0.1, +metadata.xml, +eselect-boost-0.1.ebuild:
- Initial commit. Eselect module written by Łukasz Michalik with a few
- changes made by me.
diff --git a/app-admin/eselect-boost/Manifest b/app-admin/eselect-boost/Manifest
deleted file mode 100644
index 3e941939b910..000000000000
--- a/app-admin/eselect-boost/Manifest
+++ /dev/null
@@ -1,18 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-AUX boost.eselect-0.2 5944 SHA256 1b40e527feda7186784b1a61dfdd6a0d4fedb137def8bc14e8e8c943ee035458 SHA512 fa36074147e6b4ebb8b2704d3b0209daabfe4a435fa56a980520397f8fb479aa1209a81751e4598a70e52947e99fdf2378aa1920962e3ff45d85387383dda938 WHIRLPOOL c38f9c682f0613405b6071f1cc50f9a82b1dbc546d519106a1224d7187b60b87351d9f7b264806c8e4a2ccce5c66c1f11234445973d25599687a587df9415b02
-AUX boost.eselect-0.3 6586 SHA256 9c882c7b07284ea21fa96daa5f85264deb0b0de5baf69f00e7d642575e4f1a75 SHA512 b5e0d81cebe1dfa69fad8f959f44f328811b273669e4f85631243de74b4e091b47dc8b02ace400568281480c58bc0483bb9a3ebce494cfb854aa017ca059ffa8 WHIRLPOOL a2fda9975e5efbf04365efcba9ac04ccf1758121ba638ea52d01136878440b4892730c6b2bb1fdd26f0c2016a06182c9cfd946871ca46d6eff0f006c4ef6dbd2
-AUX boost.eselect-0.4 7738 SHA256 6b73cd165fcb002f3aba5a263ffc8e803fae41c1a731a5285b7eb7bf8a5e006a SHA512 1bc9c72f989a89d53f021739ecf4e2a1f689f6ec08f7e144bb4512ba060ae968460d6ef9862990e0051b496d6a9bd6f8bdc090298beb7ac10fec7b39a69bf715 WHIRLPOOL 01a317c47243808039489c3d10a393f15a35bf333e8db73bb048d56085b703c0f18ea5310856c42d3d02d4493db7496742eb50deda4a6ea2b6d1090675512e66
-EBUILD eselect-boost-0.2.ebuild 685 SHA256 97c48f868229a5e6400025c0899e514a92276c309468ea1f1b6fc36156d39de6 SHA512 07c852f641db279b4e22c4f7f85217eebb87b9d2ecf0f06b53e56e8b47aa8e7713f03ad96024f7cbb69f24e6e6e4befc6570657a62ced096f66c5e6c3142da72 WHIRLPOOL 7a376f38cda909be166dc74406a16f31b1dfa3eff83b6bb136157ada7085734a0fe7b3e9a16c35316c880910c992c5b57ae1d103b6860c497411c41a82795abd
-EBUILD eselect-boost-0.3.ebuild 789 SHA256 a3cd32759ebdeccc3fec2735859911ad76d9ad35ba8b7865291cab3af912aa31 SHA512 620719d4e7cf6b34e058fa1e86a65e5dc78eb67a6f7c1df7f63fc663abb5a28da8fb027fda113779723596ec3513675f52ef2fd2d70ee10e85c040936f043477 WHIRLPOOL aeed72d44ddaa9acc5e309c655d65cb02ea03c3dc2762a39b5b0c0b7a63f15624d9644a9718a921c607eb86268bbda7fc019e90e02c57eaa975449f72232fb05
-EBUILD eselect-boost-0.4.ebuild 801 SHA256 79525da6641158bb12f37dc6e2ca8ccef4525b7a2378b9d39f07c2ed127535cf SHA512 b2276a159e6cc932295213468a8b8540e7e9a4da3d7f719e074b30bc6df00a0a4da31aeaa8b0bf8a0a7092dd301b98a364ec7dab1dd56d2205d926bee026bf8b WHIRLPOOL 128cb20df93f6aeedfe3b1699cb995aba98d31afb32dffcf807a9e6db8d855a37436062ab7d017c81d877a95ae5abc3a7b70d4abcdf1f98ea3e89da108c51175
-MISC ChangeLog 3911 SHA256 e3f12f18c36ad45619dee1009e0171aecac48bb79ac2a90f9dc5751966fd73ee SHA512 6f1820021503182c96cb5c1d3e98c0bd4df7075927993f1ff4f4ae5076db6046d0ae76ffd207aa455f29ad63593d60fce8eb3b0d8322e91eab4b2d6bb6eda72b WHIRLPOOL 1079485a258d68436815a2f8904f6f715d850667aade794499de5f459fdb3f493513ebb715b46329d8455e27afed20aa66a6d50fba7006d27e0504cdb810e787
-MISC metadata.xml 387 SHA256 d7c453a3827637b67e15e681c9c39dad0a58618bcd2f12eea5e75085aa83b0c8 SHA512 4c5cdeb905d356545d6222cf06d421fc0f4b9291af3ab685cdece1ecd981a3949aad01f920c341db88d10b1d3322e708b23cad16cbceea6c8526efa91d31bb81 WHIRLPOOL afa679f2359ed5da5610901e7a93c99a9012ac717b93eaa93228f56e8dccd800116a6869b25fd9f3fc34ff4221f3aeed3de8733603479d410156b5717694a15a
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iEYEAREIAAYFAlBH038ACgkQl5yvQNBFVTVUWACcCp3x9b5CifKnLm0bccUF1UH6
-Z0YAnRHJRSQNIou8F8HGe0LwLeGBfxYy
-=YA9D
------END PGP SIGNATURE-----
diff --git a/app-admin/eselect-boost/eselect-boost-0.2.ebuild b/app-admin/eselect-boost/eselect-boost-0.2.ebuild
deleted file mode 100644
index 20a81a7439b9..000000000000
--- a/app-admin/eselect-boost/eselect-boost-0.2.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-boost/eselect-boost-0.2.ebuild,v 1.3 2009/05/20 18:04:12 armin76 Exp $
-
-inherit multilib
-
-DESCRIPTION="boost module for eselect"
-HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
-SRC_URI=""
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~s390 ~sh ~sparc ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=">=app-admin/eselect-1.0.5"
-
-src_install() {
- local mdir="/usr/share/eselect/modules"
- dodir ${mdir}
- sed -e "s|%LIBDIR%|$(get_libdir)|g" "${FILESDIR}/boost.eselect-${PVR}" > "${D}${mdir}/boost.eselect" || die "failed to install"
-}
diff --git a/app-admin/eselect-boost/eselect-boost-0.3.ebuild b/app-admin/eselect-boost/eselect-boost-0.3.ebuild
deleted file mode 100644
index 911d286eaaba..000000000000
--- a/app-admin/eselect-boost/eselect-boost-0.3.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-boost/eselect-boost-0.3.ebuild,v 1.12 2011/06/28 21:32:24 mattst88 Exp $
-
-inherit multilib
-
-DESCRIPTION="boost module for eselect"
-HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
-SRC_URI=""
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND=""
-RDEPEND=">=app-admin/eselect-1.0.5"
-
-src_install() {
- local mdir="/usr/share/eselect/modules"
- dodir ${mdir}
- sed -e "s|%LIBDIR%|$(get_libdir)|g" "${FILESDIR}/boost.eselect-${PVR}" > "${D}${mdir}/boost.eselect" || die "failed to install"
-
- keepdir /etc/eselect/boost
- keepdir /usr/share/boost-eselect/profiles
-}
diff --git a/app-admin/eselect-boost/eselect-boost-0.4.ebuild b/app-admin/eselect-boost/eselect-boost-0.4.ebuild
deleted file mode 100644
index 395226980393..000000000000
--- a/app-admin/eselect-boost/eselect-boost-0.4.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-boost/eselect-boost-0.4.ebuild,v 1.9 2012/09/05 22:34:58 blueness Exp $
-
-inherit multilib
-
-DESCRIPTION="boost module for eselect"
-HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
-IUSE=""
-
-DEPEND=""
-RDEPEND=">=app-admin/eselect-1.0.5"
-
-src_install() {
- local mdir="/usr/share/eselect/modules"
- dodir ${mdir}
- sed -e "s|%LIBDIR%|$(get_libdir)|g" "${FILESDIR}/boost.eselect-${PVR}" > "${D}${mdir}/boost.eselect" || die "failed to install"
-
- keepdir /etc/eselect/boost
- keepdir /usr/share/boost-eselect/profiles
-}
diff --git a/app-admin/eselect-boost/files/boost.eselect-0.2 b/app-admin/eselect-boost/files/boost.eselect-0.2
deleted file mode 100644
index 7449dca1bb64..000000000000
--- a/app-admin/eselect-boost/files/boost.eselect-0.2
+++ /dev/null
@@ -1,205 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id: boost.eselect-0.2,v 1.2 2010/01/22 15:00:56 jer Exp $
-
-# This eclass-module has been initially written by Łukasz Michalik <lmi@ift.uni.wroc.pl>
-# Corrections and extensions by Tiziano Müller <dev-zero@gentoo.org>
-
-DESCRIPTION="Manage boost installations"
-
-_boost_tools="bcp bjam compiler_status inspect library_status process_jam_log quickbook wave"
-
-find_targets() {
- local f
- for f in "${ROOT}"/usr/include/boost-[[:digit:]]* ; do
- [[ -d "${f}" ]] && echo $(basename "${f}")
- done
-}
-
-remove_installation() {
- local link
- for link in "${ROOT}/usr/include/boost" "${ROOT}/usr/share/boostbook" ; do
- if [[ -L "${link}" ]] ; then
- rm "${link}" || die -q "Couldn't remove \"${link}\" symlink"
- else
- [[ -e "${link}" ]] && die -q "\"${link}\" exists and isn't a symlink"
- fi
- done
-
- pushd "${ROOT}/usr/%LIBDIR%" 1>/dev/null
- local lib
- for lib in libboost_*.{a,so} ; do
- [[ -L "${lib}" && "${lib}" != libboost_*[[:digit:]]_[[:digit:]][[:digit:]].@(a|so) ]] || continue
- rm "${lib}" || die -q "Unable to remove \"/usr/%LIBDIR%/${lib}\" symlink"
- done
- popd 1>/dev/null
-
- pushd "${ROOT}"/usr/bin 1>/dev/null
- local tool
- for tool in ${_boost_tools} ; do
- [[ -L "${tool}" ]] && ( rm "${tool}" || die -q "Unable to remove \"/usr/bin/${tool}\" symlink" )
- done
- popd 1>/dev/null
-
- local mod="mpi.so"
- for moddir in "${ROOT}"/usr/%LIBDIR%/python*/site-packages ; do
- if [ -L "${moddir}/${mod}" ] ; then
- rm "${moddir}/${mod}" || die -q "Unable to remove \"${moddir}/${mod}\" symlink"
- else
- [[ -e "${moddir}/${mod}" ]] && die -q "\"${moddir}/${mod}\" exists and isn't a symlink"
- fi
- done
-}
-
-set_installation() {
- [[ -z "${2}" ]] && die -q "Too few parameters to set_installation()"
- local target="${1}"
- local version="${2}"
-
- if [[ -d "${ROOT}/usr/include/${target}" ]] ; then
- pushd "${ROOT}/usr/include" 1>/dev/null
- ln -s "${target}/boost" boost || die -q "Couldn't create symlink \"/usr/include/boost\""
- popd 1>/dev/null
-
- pushd "${ROOT}/usr/share/" 1>/dev/null
- [[ -d "boostbook-${version}" ]] && \
- ( ln -s "boostbook-${version}" "boostbook" || die -q "Couldn't create symlink \"/usr/bin/${tool}\"" )
- popd 1>/dev/null
-
- pushd "${ROOT}/usr/%LIBDIR%" 1>/dev/null
- local lib
- for lib in libboost_*-"${version}".{a,so} ; do
- [[ -e "${lib}" ]] && \
- ( ln -s "${lib}" "${lib//-${version}}" || die -q "Couldn't create symlink \"/usr/%LIBDIR%/${lib}\"" )
- done
- popd 1>/dev/null
-
- pushd "${ROOT}/usr/bin/" 1>/dev/null
- local tool
- for tool in ${_boost_tools} ; do
- [[ -e "${tool}" ]] && die -q "\"/usr/bin/${tool}\" exists and isn't a symlink"
- [[ -e "${tool}-${version}" ]] && \
- ( ln -s "${tool}-${version}" "${tool}" || die -q "Couldn't create symlink \"/usr/bin/${tool}\"" )
- done
- popd 1>/dev/null
-
- local mod="mpi.so"
- for moddir in "${ROOT}"/usr/%LIBDIR%/python*/site-packages ; do
- pushd "${moddir}" 1>/dev/null
- [[ -e "${mod}" ]] && die -q "\"${moddir}/${mod}\" exists and isn't a symlink"
- [[ -e "mpi_${version}/mpi.so" ]] && \
- ( ln -s "mpi_${version}/${mod}" "${mod}" || die -q "Couldn't create symlink \"${moddir}/${mod}\"" )
- popd 1>/dev/null
- done
-
- else
- die -q "Target \"${target}\" doesn't appear to be valid!"
- fi
-}
-
-### show action ###
-
-describe_show() {
- echo "Show the current boost version used"
-}
-
-do_show() {
- local include
-
- write_list_start "Current boost version:"
- if [[ -L "${ROOT}"/usr/include/boost ]] ; then
- include=$(basename $(dirname $(canonicalise "${ROOT}"/usr/include/boost )))
- write_kv_list_entry "${include%/}" ""
- else
- write_kv_list_entry "(unset)" ""
- fi
-}
-
-### list action ###
-
-describe_list() {
- echo "List available boost versions"
-}
-
-do_list() {
- local targets=( $(find_targets ) )
- write_list_start "Available boost versions:"
- if [[ -n "${targets[@]}" ]] ; then
- local i
- for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
- [[ "${targets[${i}]}" == $(basename $(dirname $(canonicalise "${ROOT}"/usr/include/boost))) ]] && \
- targets[${i}]="${targets[${i}]} $(highlight '*' )"
- done
- write_numbered_list "${targets[@]}"
- else
- write_kv_list_entry "(none found)" ""
- fi
-}
-
-### set action ###
-
-describe_set() {
- echo "Set a new boost version"
-}
-
-describe_set_parameters() {
- echo "<target>"
-}
-
-describe_set_options() {
- echo "target : Target name or number (from 'list' action)"
-}
-
-do_set() {
- if [[ -z "${1}" ]] ; then
- # no parameter
- die -q "You didn't tell me what to set the version to"
- fi
-
- local target="${1}"
- if is_number "${target}" ; then
- targets=($(find_targets))
- target="${targets[$((${target} - 1))]}"
- fi
- local version="${target//boost-}"
-
- if [[ -L "${ROOT}"/usr/include/boost ]] ; then
- if ! remove_installation ; then
- die -q "Couldn't unset existing installation"
- elif ! set_installation "${target}" "${version}" ; then
- die -q "Couldn't set a new installation"
- fi
- elif [[ -e "${ROOT}"/usr/include/boost ]] ; then
- die -q "Sorry, existing boost installation confuses me"
- else
- set_installation "${target}" "${version}" || die -q "Couldn't set a new version"
- fi
-}
-
-### update action ###
-
-describe_update() {
- echo "Automaticly update boost version used"
-}
-
-do_update() {
- local current=
- if [[ -L "${ROOT}/usr/include/boost" ]]; then
- current=$(basename $(canonicalise "${ROOT}/usr/include/boost") )
- if [[ ! -e $(canonicalise "${ROOT}/usr/include/boost") ]]; then
- # clean up dead symlinks
- remove_installation || die -q "Couldn't remove existing installation"
- fi
- elif [[ -e "${ROOT}/usr/include/boost" ]]; then
- die -q "Sorry, \"/usr/include/boost\" exists but is not a symlink"
- fi
-
- local targets=($(find_targets))
- if [[ ${#targets[@]} -gt 0 ]]; then
- remove_installation
- local target="${targets[@]:(-1)}"
- set_installation "${target}" "${target//boost-}" || die -q "Couldn't set a new symlink"
- else
- die -q "No slotted boost version found"
- fi
-}
diff --git a/app-admin/eselect-boost/files/boost.eselect-0.3 b/app-admin/eselect-boost/files/boost.eselect-0.3
deleted file mode 100644
index 9d9f02edaa2a..000000000000
--- a/app-admin/eselect-boost/files/boost.eselect-0.3
+++ /dev/null
@@ -1,229 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id: boost.eselect-0.3,v 1.3 2011/08/28 06:48:29 ulm Exp $
-
-# This eclass-module has been initially written by Łukasz Michalik <lmi@ift.uni.wroc.pl>
-# Corrections and extensions by Tiziano Müller <dev-zero@gentoo.org>
-
-DESCRIPTION="Manage boost installations"
-MAINTAINER="dev-zero@gentoo.org"
-VERSION="0.3"
-
-_boost_tools="bcp bjam compiler_status inspect library_status process_jam_log quickbook wave"
-
-# ... meaning: <none> and -debug:
-_suffices="|-debug"
-
-find_targets() {
- local f
- # use ls here to get a really empty set in case no boost is installed
- for d in $(ls -d "${ROOT}"/usr/share/boost-eselect/profiles/* 2>/dev/null) ; do
- for p in "${d}"/* ; do
- echo "boost-$(basename ${d})/$(basename ${p})"
- done
- done
-}
-
-remove_installation() {
- echo "Removing symlinks from old version"
-
- local link
- for link in "${ROOT}/usr/include/boost" "${ROOT}/usr/share/boostbook" ; do
- if [[ -L "${link}" ]] ; then
- rm "${link}" || die -q "Couldn't remove \"${link}\" symlink"
- else
- [[ -e "${link}" ]] && die -q "\"${link}\" exists and isn't a symlink"
- fi
- done
-
- pushd "${ROOT}/usr/%LIBDIR%" 1>/dev/null
- local lib
- for lib in libboost_*.{a,so} ; do
- [[ -L "${lib}" && "${lib}" != libboost_*[[:digit:]]_[[:digit:]][[:digit:]]@(${_suffices}).@(a|so) ]] || continue
- rm "${lib}" || die -q "Unable to remove \"/usr/%LIBDIR%/${lib}\" symlink"
- done
- popd 1>/dev/null
-
- pushd "${ROOT}"/usr/bin 1>/dev/null
- local tool
- for tool in ${_boost_tools} ; do
- [[ -L "${tool}" ]] && ( rm "${tool}" || die -q "Unable to remove \"/usr/bin/${tool}\" symlink" )
- done
- popd 1>/dev/null
-
- local mod="mpi.so"
- for moddir in "${ROOT}"/usr/%LIBDIR%/python*/site-packages ; do
- if [ -L "${moddir}/${mod}" ] ; then
- rm "${moddir}/${mod}" || die -q "Unable to remove \"${moddir}/${mod}\" symlink"
- else
- [[ -e "${moddir}/${mod}" ]] && die -q "\"${moddir}/${mod}\" exists and isn't a symlink"
- fi
- done
-
- if [ -L "${ROOT}/etc/eselect/boost/active" ] ; then
- rm "${ROOT}/etc/eselect/boost/active" || die -q "Unable to remove \"${ROOT}/etc/eselect/boost/active\" symlink"
- else
- [[ -e "${ROOT}/etc/eselect/boost/active" ]] && die -q "\"${ROOT}/etc/eselect/boost/active\" exists and isn't a symlink"
- fi
-}
-
-set_installation() {
- [[ -z "${1}" ]] && die -q "Too few parameters to set_installation()"
- local target="${1}"
-
- echo "Creating symlinks for ${target}"
-
- local profile="${target/*\/}"
- local version="${target/\/${profile}}"
- version="${version/boost-}"
- version="${version/./_}"
-
- cd "${ROOT}/etc/eselect/boost"
- ln -s "${ROOT}/usr/share/boost-eselect/profiles/${target//boost-}" active || die -q "Couldn't create symlink active -> /usr/share/boost-eselect/profiles/${target//boost-}/${profile}"
-
- . "${ROOT}/usr/share/boost-eselect/profiles/${target//boost-}"
-
- for t in ${dirs} ${bins} ${libs} ; do
- [[ -e "${ROOT}${t}" ]] || die -q "\"${t}\" listed as target does not exist"
-
- pushd "$(dirname ${ROOT}${t})" 1>/dev/null
- local ts=$(basename "${t}")
- local tt="${ts//-${version}}"
- tt="${tt//${suffix}}"
- ln -s ${ts} ${tt} || die -q "Couldn't create symlink \"$(pwd)/${tt}\""
- popd 1>/dev/null
- done
-
- [[ -d "${ROOT}${includes}" ]] || die -q "\"${includes}\" does not exist"
- pushd "${ROOT}/usr/include" 1>/dev/null
- ln -s ${includes//\/usr\/include\/} boost || die -q "Couldn't create symlink \"/usr/include/boost\""
- popd 1>/dev/null
-
- for t in ${python} ; do
- pushd "$(dirname ${ROOT}${t})/.." 1>/dev/null
- local ts="$(basename $(dirname ${ROOT}${t}))/${t//*\/}"
- ts="${ts//${suffix}}"
- local tt=${t//*\/}
- ln -s "${ts}" "${tt}" || die -q "Couldn't create symlink \"$(pwd)/${tt}\""
- popd 1>/dev/null
- done
-}
-
-### show action ###
-
-describe_show() {
- echo "Show the current boost version used"
-}
-
-do_show() {
- local include
-
- write_list_start "Current boost version:"
- if [[ -L "${ROOT}"/usr/include/boost ]] ; then
- include=$(basename $(dirname $(canonicalise "${ROOT}"/usr/include/boost )))
- write_kv_list_entry "${include%/}" ""
- else
- write_kv_list_entry "(unset)" ""
- fi
-}
-
-### list action ###
-
-describe_list() {
- echo "List available boost versions"
-}
-
-do_list() {
- local targets=( $(find_targets ) )
- write_list_start "Available boost versions:"
- if [[ -n "${targets[@]}" ]] ; then
- local i
- local active_slot=$(canonicalise "${ROOT}/etc/eselect/boost/active")
- active_slot=${active_slot/"${ROOT}/usr/share/boost-eselect/profiles/"/boost-}
- for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
- if [[ "${targets[${i}]}" == ${active_slot} ]] ; then
- targets[${i}]="${targets[${i}]} $(highlight '*' )"
- fi
- done
- write_numbered_list "${targets[@]}"
- else
- write_kv_list_entry "(none found)" ""
- fi
-}
-
-### set action ###
-
-describe_set() {
- echo "Set a new boost version"
-}
-
-describe_set_parameters() {
- echo "<target>"
-}
-
-describe_set_options() {
- echo "target : Target name or number (from 'list' action)"
-}
-
-do_set() {
- if [[ -z "${1}" ]] ; then
- # no parameter
- die -q "You didn't tell me what to set the version to"
- fi
-
- local target="${1}"
- if is_number "${target}" ; then
- targets=($(find_targets))
- target="${targets[$((${target} - 1))]}"
- fi
-
- remove_installation
- set_installation "${target}"
-}
-
-### update action ###
-
-describe_update() {
- echo "Automatically update boost version used"
-}
-
-do_update() {
- # set default profile
- profile="default"
-
- # extract profile if there's already one boost version selected
- if [ -L "${ROOT}"/etc/eselect/boost/active ] ; then
- profile=$(basename $(canonicalise "${ROOT}/etc/eselect/boost/active"))
- fi
-
- echo "Previously selected profile: ${profile}"
-
- remove_installation
-
- local targets=($(find_targets))
- [[ ${#targets[@]} -gt 0 ]] || die -q "No slotted boost version found"
-
- # contains surely the highest available version, but maybe not the right profile
- local last_target="${targets[@]:(-1)}"
- # strip profile
- local target_version="${last_target//\/*}"
-
- # in case the previously used profile isn't available anymore
- local target="${target_version}/default"
- local matching_profile_found=0
- for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
- if [[ "${targets[${i}]}" == "${target_version}/${profile}" ]] ; then
- target="${targets[${i}]}"
- matching_profile_found=1
- break
- fi
- done
-
- if [[ "${matching_profile_found}" == 1 ]] ; then
- echo "Found a matching profile \"${profile}\" for the new version."
- else
- echo "Didn't find the previously selected profile \"${profile}\" for the new version. Resetting to \"default\"."
- fi
-
- set_installation "${target}"
-}
diff --git a/app-admin/eselect-boost/files/boost.eselect-0.4 b/app-admin/eselect-boost/files/boost.eselect-0.4
deleted file mode 100644
index 3baddd74481a..000000000000
--- a/app-admin/eselect-boost/files/boost.eselect-0.4
+++ /dev/null
@@ -1,254 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id: boost.eselect-0.4,v 1.1 2012/04/02 00:51:03 floppym Exp $
-
-# This eclass-module has been initially written by Łukasz Michalik <lmi@ift.uni.wroc.pl>
-# Corrections and extensions by Tiziano Müller <dev-zero@gentoo.org>
-
-DESCRIPTION="Manage boost installations"
-MAINTAINER="dev-zero@gentoo.org"
-VERSION="0.4"
-
-_boost_tools="bcp bjam compiler_status inspect library_status process_jam_log quickbook wave"
-
-# ... meaning: <none> and -debug:
-_suffices="|-debug"
-
-find_targets() {
- local f
- # use ls here to get a really empty set in case no boost is installed
- for d in $(ls -d "${ROOT}"/usr/share/boost-eselect/profiles/* 2>/dev/null) ; do
- for p in "${d}"/* ; do
- echo "boost-$(basename ${d})/$(basename ${p})"
- done
- done
-}
-
-remove_installation() {
- echo "Removing symlinks from old version"
-
- local link
- for link in "${ROOT}/usr/include/boost" "${ROOT}/usr/share/boostbook" ; do
- if [[ -L "${link}" ]] ; then
- rm "${link}" || die -q "Couldn't remove \"${link}\" symlink"
- else
- [[ -e "${link}" ]] && die -q "\"${link}\" exists and isn't a symlink"
- fi
- done
-
- pushd "${ROOT}/usr/%LIBDIR%" 1>/dev/null
- local lib
- for lib in libboost_*.{a,so} ; do
- [[ -L "${lib}" && "${lib}" != libboost_*[[:digit:]]_[[:digit:]][[:digit:]]@(${_suffices}).@(a|so) ]] || continue
- rm "${lib}" || die -q "Unable to remove \"/usr/%LIBDIR%/${lib}\" symlink"
- done
- popd 1>/dev/null
-
- pushd "${ROOT}"/usr/bin 1>/dev/null
- local tool
- for tool in ${_boost_tools} ; do
- [[ -L "${tool}" ]] && ( rm "${tool}" || die -q "Unable to remove \"/usr/bin/${tool}\" symlink" )
- done
- popd 1>/dev/null
-
- local python_module python_module_dir
- for python_module in mpi.py mpi_debug.py ; do
- for python_module_dir in "${ROOT}"usr/%LIBDIR%/python*/site-packages ; do
- if [[ -e "${python_module_dir}/${python_module}" ]] ; then
- rm "${python_module_dir}/${python_module}" || die -q "Unable to remove \"${python_module_dir}/${python_module}\""
- fi
- done
- done
-
- # Deprecated code for older versions of Boost.
- local mod="mpi.so"
- for moddir in "${ROOT}"/usr/%LIBDIR%/python*/site-packages ; do
- if [ -L "${moddir}/${mod}" ] ; then
- rm "${moddir}/${mod}" || die -q "Unable to remove \"${moddir}/${mod}\" symlink"
- else
- [[ -e "${moddir}/${mod}" ]] && die -q "\"${moddir}/${mod}\" exists and isn't a symlink"
- fi
- done
-
- local python_module
- for python_module in ${python_modules} ; do
- local target_python_module="${python_module#*:}"
- local wrapper_python_module="${python_module%:*}"
- echo "from ${target_python_module} import *" > "${ROOT}${wrapper_python_module}" || die -q "Couldn't create wrapper python module \"$(pwd)/${wrapper_python_module}\""
- done
-
- if [ -L "${ROOT}/etc/eselect/boost/active" ] ; then
- rm "${ROOT}/etc/eselect/boost/active" || die -q "Unable to remove \"${ROOT}/etc/eselect/boost/active\" symlink"
- else
- [[ -e "${ROOT}/etc/eselect/boost/active" ]] && die -q "\"${ROOT}/etc/eselect/boost/active\" exists and isn't a symlink"
- fi
-}
-
-set_installation() {
- [[ -z "${1}" ]] && die -q "Too few parameters to set_installation()"
- local target="${1}"
-
- echo "Creating symlinks for ${target}"
-
- local profile="${target/*\/}"
- local version="${target/\/${profile}}"
- version="${version/boost-}"
- version="${version/./_}"
-
- cd "${ROOT}/etc/eselect/boost"
- ln -s "${ROOT}/usr/share/boost-eselect/profiles/${target//boost-}" active || die -q "Couldn't create symlink active -> /usr/share/boost-eselect/profiles/${target//boost-}/${profile}"
-
- . "${ROOT}/usr/share/boost-eselect/profiles/${target//boost-}"
-
- for t in ${dirs} ${bins} ${libs} ; do
- [[ -e "${ROOT}${t}" ]] || die -q "\"${t}\" listed as target does not exist"
-
- pushd "$(dirname ${ROOT}${t})" 1>/dev/null
- local ts=$(basename "${t}")
- local tt="${ts//-${version}}"
- tt="${tt//${suffix}}"
- ln -s ${ts} ${tt} || die -q "Couldn't create symlink \"$(pwd)/${tt}\""
- popd 1>/dev/null
- done
-
- [[ -d "${ROOT}${includes}" ]] || die -q "\"${includes}\" does not exist"
- pushd "${ROOT}/usr/include" 1>/dev/null
- ln -s ${includes//\/usr\/include\/} boost || die -q "Couldn't create symlink \"/usr/include/boost\""
- popd 1>/dev/null
-
- local python_module
- for python_module in ${python_modules} ; do
- local target_python_module="${python_module#*:}"
- local wrapper_python_module="${python_module%:*}"
- echo "from ${target_python_module} import *" > "${ROOT}${wrapper_python_module}" || die -q "Couldn't create wrapper python module \"$(pwd)/${wrapper_python_module}\""
- done
-
- # Deprecated code for older versions of Boost.
- for t in ${python} ; do
- pushd "$(dirname ${ROOT}${t})/.." 1>/dev/null
- local ts="$(basename $(dirname ${ROOT}${t}))/${t//*\/}"
- ts="${ts//${suffix}}"
- local tt=${t//*\/}
- ln -s "${ts}" "${tt}" || die -q "Couldn't create symlink \"$(pwd)/${tt}\""
- popd 1>/dev/null
- done
-}
-
-### show action ###
-
-describe_show() {
- echo "Show the current boost version used"
-}
-
-do_show() {
- local include
-
- write_list_start "Current boost version:"
- if [[ -L "${ROOT}"/usr/include/boost ]] ; then
- include=$(basename $(dirname $(canonicalise "${ROOT}"/usr/include/boost )))
- write_kv_list_entry "${include%/}" ""
- else
- write_kv_list_entry "(unset)" ""
- fi
-}
-
-### list action ###
-
-describe_list() {
- echo "List available boost versions"
-}
-
-do_list() {
- local targets=( $(find_targets ) )
- write_list_start "Available boost versions:"
- if [[ -n "${targets[@]}" ]] ; then
- local i
- local active_slot=$(canonicalise "${ROOT}/etc/eselect/boost/active")
- active_slot=${active_slot/"${ROOT}/usr/share/boost-eselect/profiles/"/boost-}
- for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
- if [[ "${targets[${i}]}" == ${active_slot} ]] ; then
- targets[${i}]="${targets[${i}]} $(highlight '*' )"
- fi
- done
- write_numbered_list "${targets[@]}"
- else
- write_kv_list_entry "(none found)" ""
- fi
-}
-
-### set action ###
-
-describe_set() {
- echo "Set a new boost version"
-}
-
-describe_set_parameters() {
- echo "<target>"
-}
-
-describe_set_options() {
- echo "target : Target name or number (from 'list' action)"
-}
-
-do_set() {
- if [[ -z "${1}" ]] ; then
- # no parameter
- die -q "You didn't tell me what to set the version to"
- fi
-
- local target="${1}"
- if is_number "${target}" ; then
- targets=($(find_targets))
- target="${targets[$((${target} - 1))]}"
- fi
-
- remove_installation
- set_installation "${target}"
-}
-
-### update action ###
-
-describe_update() {
- echo "Automatically update boost version used"
-}
-
-do_update() {
- # set default profile
- profile="default"
-
- # extract profile if there's already one boost version selected
- if [ -L "${ROOT}"/etc/eselect/boost/active ] ; then
- profile=$(basename $(canonicalise "${ROOT}/etc/eselect/boost/active"))
- fi
-
- echo "Previously selected profile: ${profile}"
-
- remove_installation
-
- local targets=($(find_targets))
- [[ ${#targets[@]} -gt 0 ]] || die -q "No slotted boost version found"
-
- # contains surely the highest available version, but maybe not the right profile
- local last_target="${targets[@]:(-1)}"
- # strip profile
- local target_version="${last_target//\/*}"
-
- # in case the previously used profile isn't available anymore
- local target="${target_version}/default"
- local matching_profile_found=0
- for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
- if [[ "${targets[${i}]}" == "${target_version}/${profile}" ]] ; then
- target="${targets[${i}]}"
- matching_profile_found=1
- break
- fi
- done
-
- if [[ "${matching_profile_found}" == 1 ]] ; then
- echo "Found a matching profile \"${profile}\" for the new version."
- else
- echo "Didn't find the previously selected profile \"${profile}\" for the new version. Resetting to \"default\"."
- fi
-
- set_installation "${target}"
-}
diff --git a/app-admin/eselect-boost/metadata.xml b/app-admin/eselect-boost/metadata.xml
deleted file mode 100644
index 5bdede58fca4..000000000000
--- a/app-admin/eselect-boost/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>cpp</herd>
- <maintainer>
- <email>dev-zero@gentoo.org</email>
- <name>Tiziano Müller</name>
- </maintainer>
- <maintainer>
- <email>arfrever.fta@gmail.com</email>
- <name>Arfrever Frehtes Taifersar Arahesis</name>
- </maintainer>
-</pkgmetadata>