From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 906971382C5 for ; Thu, 5 Apr 2018 14:57:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67A5FE0D2E; Thu, 5 Apr 2018 14:57:52 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31D2DE0D2E for ; Thu, 5 Apr 2018 14:57:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 45CC5335C60 for ; Thu, 5 Apr 2018 14:57:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 85174274 for ; Thu, 5 Apr 2018 14:57:47 +0000 (UTC) From: "Aaron Bauman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" Message-ID: <1522940244.db2d2f6d3112d7831815e203d59858a90097971a.bman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/slib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-scheme/slib/Manifest dev-scheme/slib/slib-3.2.1.ebuild dev-scheme/slib/slib-3.2.2.ebuild X-VCS-Directories: dev-scheme/slib/ X-VCS-Committer: bman X-VCS-Committer-Name: Aaron Bauman X-VCS-Revision: db2d2f6d3112d7831815e203d59858a90097971a X-VCS-Branch: master Date: Thu, 5 Apr 2018 14:57:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 69ebaf33-2d1b-4f34-ad08-b727fe7cbcfb X-Archives-Hash: b733da22b038d43690332e7fe161bf4e commit: db2d2f6d3112d7831815e203d59858a90097971a Author: Aaron Bauman gentoo org> AuthorDate: Thu Apr 5 02:12:20 2018 +0000 Commit: Aaron Bauman gentoo org> CommitDate: Thu Apr 5 14:57:24 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db2d2f6d dev-scheme/slib: drop old EAPI ebuilds Package-Manager: Portage-2.3.28, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/7819 dev-scheme/slib/Manifest | 2 - dev-scheme/slib/slib-3.2.1.ebuild | 129 ------------------------------------- dev-scheme/slib/slib-3.2.2.ebuild | 130 -------------------------------------- 3 files changed, 261 deletions(-) diff --git a/dev-scheme/slib/Manifest b/dev-scheme/slib/Manifest index 356407c0f72..14bb0387a23 100644 --- a/dev-scheme/slib/Manifest +++ b/dev-scheme/slib/Manifest @@ -1,3 +1 @@ -DIST slib-3b1.zip 1063227 BLAKE2B 09207ec3dec2a1166f6cf71e7fa7687a47a5969a51f1aadebc1913df20b388383b4a400f81e96f1dfad386b98fc540019676e86b786b92c9d952d8f13d0eba0a SHA512 28eb997a094cfb0a97eb924ed7bd965bb094db773343529f1593446b507908ccdec3086c6ce0b6b938a9742ed84bd8f5f36b14911296549660cc4b301f84c977 -DIST slib-3b2.zip 1067021 BLAKE2B 1b48969ca2d0070efa596cca0a310d5cfce0b6eaa04e4e7778bfab033ba534e56cc575f24aeb512651ac71a38ba5bc10e7b23de3bdc70bb5cce391d8da32fa47 SHA512 199b5ddaffd1213dd144dc7f60de020029586babc83f702830d95a0d387c4f1aad9fcbe1603c0f8d4351e0ec1650fad745fd463a56c3bb86394e81eadae6afd5 DIST slib-3b5.tar.gz 987735 BLAKE2B ad1e6e43885a16277d01f37582db7de068f21da5e10b23e034f5487ac8748303dcc9c12615884ee047dce7c246203f1d0d1cc375794371eae6854199d720c209 SHA512 e5d1210b70cd882cd5e810b3c4102d6060ec82fb2093f472bf31b597f6273e0a02f4d35a82c4b5c8cdc3f8b2c7b9e498fa3e35c7f265fa864cd9dc50e7a874c8 diff --git a/dev-scheme/slib/slib-3.2.1.ebuild b/dev-scheme/slib/slib-3.2.1.ebuild deleted file mode 100644 index 318985c33d5..00000000000 --- a/dev-scheme/slib/slib-3.2.1.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit versionator eutils - -#version magic thanks to masterdriverz and UberLord using bash array instead of tr -trarr="0abcdefghi" -MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)" - -MY_P=${PN}-${MY_PV} -S=${WORKDIR}/${PN} -DESCRIPTION="library providing functions for Scheme implementations" -SRC_URI="http://swiss.csail.mit.edu/ftpdir/scm/${MY_P}.zip" - -HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SLIB" - -SLOT="0" -LICENSE="public-domain BSD" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" -IUSE="" #test" - -#unzip for unpacking -RDEPEND="" -DEPEND="app-arch/unzip" -# test? ( dev-scheme/scm )" - -INSTALL_DIR="/usr/share/slib/" - -src_unpack() { - unpack ${A}; cd "${S}" - -# cp Makefile Makefile.old - - sed "s:prefix = /usr/local/:prefix = ${D}/usr/:" -i Makefile - sed 's:libdir = $(exec_prefix)lib/:libdir = $(exec_prefix)share/:' -i Makefile - sed 's:man1dir = $(prefix)man/:man1dir = $(prefix)/share/man/:' -i Makefile - sed 's:infodir = $(prefix)info/:infodir = $(prefix)share/info/:' -i Makefile - - sed 's:echo SCHEME_LIBRARY_PATH=$(libslibdir) >> $(bindir)slib:echo SCHEME_LIBRARY_PATH=/usr/share/slib/ >> $(bindir)slib:' -i Makefile - -# diff -u Makefile.old Makefile - - sed 's:(lambda () "/usr/local/share/gambc/")):(lambda () "/usr/share/gambit")):' -i gambit.init -} - -src_compile() { - emake || die "make failed" -} - -#slib needs scm for tests, but scm needs slib so we can't depend on it -src_test() { - if has_version dev-scheme/scm; then - make test || die "Make test failed. See above for details." - else - einfo "Skipping test, because dev-scheme/scm is not installed." - fi -} - -src_install() { - emake infoz || die "infoz failed" - emake install || die "install failed" - - dodoc ANNOUNCE ChangeLog FAQ README - dodir /usr/share/gambit/ - more_install -} - -more_install() { - dosym ${INSTALL_DIR} /usr/share/guile/slib # link from guile dir - dosym ${INSTALL_DIR} /usr/lib/slib - dodir /etc/env.d/ && echo "SCHEME_LIBRARY_PATH=\"${INSTALL_DIR}\"" > "${D}"/etc/env.d/50slib - - mkdir "${S}"/installers - pushd installers; make_installers; popd - dosbin installers/* -} - -pkg_postinst() { - [ "${ROOT}" == "/" ] && pkg_config -} - -IMPLEMENTATIONS="bigloo drscheme elk gambit guile scm" # mit-scheme - -pkg_config() { - for impl in ${IMPLEMENTATIONS}; do - install_slib ${impl} -# echo '(slib:report-version)' | slib ${impl} - done -} - -make_load_expression() { - echo "(load \\\"${INSTALL_DIR}$1.init\\\")" -} - -make_installers() -{ - PROGRAM="(require 'new-catalog) (slib:report-version)" - - bigloo_install_command="bigloo -s -eval \"(begin "$(make_load_expression bigloo)" ${PROGRAM} (exit))\"" - drscheme_install_command="mzscheme -vme \"(begin $(make_load_expression mzscheme) ${PROGRAM})\"" - elk_install_command="echo \"$(make_load_expression elk) ${PROGRAM}\" | elk -l -" - gambit_install_command="gambit-interpreter -e \"$(make_load_expression gambit) ${PROGRAM}\"" -# guile_install_command="guile -c \"$(make_load_expression guile) ${PROGRAM}\"" - guile_install_command="guile -c \"(use-modules (ice-9 slib)) ${PROGRAM}\"" - #variable names may not contain hyphens (-) - mitscheme_install_command="echo \"(set! load/suppress-loading-message? #t) $(make_load_expression mitscheme) ${PROGRAM}\" | mit-scheme --batch-mode" - echo ${mitscheme_install_command} - scm_install_command="scm -e \"${PROGRAM}\"" - - for impl in ${IMPLEMENTATIONS}; do - command_var=${impl//-/}_install_command - make_installer ${impl} "${!command_var}" - done -} - -make_installer() { - echo $2 > install_slib_for_${1//-/} -} - -install_slib() { - if has_version dev-scheme/$1; then - script=install_slib_for_${1//-/} - einfo "Registering slib with $1..." -# echo running: $(cat /usr/sbin/${script}) - $script - else - einfo "$1 not installed, not registering..." - fi -} diff --git a/dev-scheme/slib/slib-3.2.2.ebuild b/dev-scheme/slib/slib-3.2.2.ebuild deleted file mode 100644 index 58e87bf2825..00000000000 --- a/dev-scheme/slib/slib-3.2.2.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit versionator eutils - -#version magic thanks to masterdriverz and UberLord using bash array instead of tr -trarr="0abcdefghi" -MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)" - -MY_P=${PN}-${MY_PV} -S=${WORKDIR}/${PN} -DESCRIPTION="library providing functions for Scheme implementations" -SRC_URI="http://swiss.csail.mit.edu/ftpdir/scm/${MY_P}.zip" - -HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SLIB" - -SLOT="0" -LICENSE="public-domain BSD" -KEYWORDS="alpha amd64 ia64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" -IUSE="" #test" - -#unzip for unpacking -RDEPEND="" -DEPEND="app-arch/unzip" -# test? ( dev-scheme/scm )" - -INSTALL_DIR="/usr/share/slib/" - -_fix_txi_file() { - local inplace_filename="${1}" - local tempfile="$(emktemp)" - awk -f "${FILESDIR}"/slib-3.2.2-fix-texinfo.awk < "${inplace_filename}" > "${tempfile}" - mv "${tempfile}" "${inplace_filename}" || die -} - -src_prepare() { - sed "s:prefix = /usr/local/:prefix = ${ED}/usr/:" -i Makefile || die - sed 's:libdir = $(exec_prefix)lib/:libdir = $(exec_prefix)share/:' -i Makefile || die - sed 's:man1dir = $(prefix)man/:man1dir = $(prefix)/share/man/:' -i Makefile || die - sed 's:infodir = $(prefix)info/:infodir = $(prefix)share/info/:' -i Makefile || die - - sed 's:echo SCHEME_LIBRARY_PATH=$(libslibdir) >> $(bindir)slib:echo SCHEME_LIBRARY_PATH='"${EPREFIX}"'/usr/share/slib/ >> $(bindir)slib:' -i Makefile || die - -# diff -u Makefile.old Makefile - - sed 's:(lambda () "/usr/local/share/gambc/")):(lambda () "'"${EPREFIX}"'/usr/share/gambit")):' -i gambit.init || die - - einfo "Fixing Texinfo files..." - for i in *.txi *.texi ; do - _fix_txi_file "${i}" || die - done -} - -src_compile() { - emake || die "make failed" -} - -src_install() { - emake infoz || die "infoz failed" - emake install || die "install failed" - - dodoc ANNOUNCE ChangeLog FAQ README || die - dodir /usr/share/gambit/ - more_install -} - -more_install() { - dosym ${INSTALL_DIR} /usr/share/guile/slib # link from guile dir - dosym ${INSTALL_DIR} /usr/lib/slib - dodir /etc/env.d/ && echo "SCHEME_LIBRARY_PATH=\"${EPREFIX}${INSTALL_DIR}\"" > "${ED}"/etc/env.d/50slib - - mkdir "${S}"/installers - pushd installers; make_installers; popd - dosbin installers/* || die -} - -pkg_postinst() { - [ "${ROOT}" == "/" ] && pkg_config -} - -IMPLEMENTATIONS="bigloo drscheme elk gambit guile scm" # mit-scheme - -pkg_config() { - for impl in ${IMPLEMENTATIONS}; do - install_slib ${impl} -# echo '(slib:report-version)' | slib ${impl} - done -} - -make_load_expression() { - echo "(load \\\"${EPREFIX}${INSTALL_DIR}$1.init\\\")" -} - -make_installers() -{ - PROGRAM="(require 'new-catalog) (slib:report-version)" - - bigloo_install_command="bigloo -s -eval \"(begin "$(make_load_expression bigloo)" ${PROGRAM} (exit))\"" - drscheme_install_command="mzscheme -vme \"(begin $(make_load_expression mzscheme) ${PROGRAM})\"" - elk_install_command="echo \"$(make_load_expression elk) ${PROGRAM}\" | elk -l -" - gambit_install_command="gambit-interpreter -e \"$(make_load_expression gambit) ${PROGRAM}\"" -# guile_install_command="guile -c \"$(make_load_expression guile) ${PROGRAM}\"" - guile_install_command="guile -c \"(use-modules (ice-9 slib)) ${PROGRAM}\"" - #variable names may not contain hyphens (-) - mitscheme_install_command="echo \"(set! load/suppress-loading-message? #t) $(make_load_expression mitscheme) ${PROGRAM}\" | mit-scheme --batch-mode" - echo ${mitscheme_install_command} - scm_install_command="scm -e \"${PROGRAM}\"" - - for impl in ${IMPLEMENTATIONS}; do - command_var=${impl//-/}_install_command - make_installer ${impl} "${!command_var}" - done -} - -make_installer() { - echo $2 > install_slib_for_${1//-/} -} - -install_slib() { - if has_version dev-scheme/$1; then - script=install_slib_for_${1//-/} - einfo "Registering slib with $1..." -# echo running: $(cat "${EPREFIX}"/usr/sbin/${script}) - $script - else - einfo "$1 not installed, not registering..." - fi -}