summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-01-20 11:15:54 +0100
committerDavid Seifert <soap@gentoo.org>2021-01-20 11:15:54 +0100
commit69c191125794799515227c50c9228c06fbb59c1c (patch)
tree99fe534ac26f7689f3fca1332ecc289025d7325b /sci-mathematics
parentsci-mathematics/petsc: Remove old (diff)
downloadgentoo-69c191125794799515227c50c9228c06fbb59c1c.tar.gz
gentoo-69c191125794799515227c50c9228c06fbb59c1c.tar.bz2
gentoo-69c191125794799515227c50c9228c06fbb59c1c.zip
sci-mathematics/sha1-polyml: Remove old
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/sha1-polyml/Manifest1
-rw-r--r--sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild80
2 files changed, 0 insertions, 81 deletions
diff --git a/sci-mathematics/sha1-polyml/Manifest b/sci-mathematics/sha1-polyml/Manifest
index efdcee3c37dc..1c96d60f6037 100644
--- a/sci-mathematics/sha1-polyml/Manifest
+++ b/sci-mathematics/sha1-polyml/Manifest
@@ -1,2 +1 @@
-DIST polyml-5.5.0.tar.gz 12776783 BLAKE2B 8ec50df7a43049f564e4f0fd67aa961fb2dd075359934a58340526e77a852006fdc1083d199837ea406524cbe3fc53d5a85d83e5a414662e141257b18d8c9a22 SHA512 4d8accc7083e12a0117fb4e34367e9b22c500d31094d8f0e381b91e91a3e8122cb5ca760ecc86bdcf7ff50a460848a181747bafc068b4a300b01de54e55fbad7
DIST polyml-5.6-1.tar.gz 22041657 BLAKE2B c097dda273b12dfe013706e5fa313f210f1f0bf6b32766db6e459ce1bca46f93504baef3d7644922c60d119431d659cbd69d8cd273fcc94609eadff058d3cb9b SHA512 3107f4a5b17283dc3873b0ecf7eb1c607c42e14e859b50345b666f19412a2592e359ea29f03e56d390491e9104a71e0bf80eb39884f51d8724b37f8f935fa7d2
diff --git a/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild b/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild
deleted file mode 100644
index 2ca76f2ee378..000000000000
--- a/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit multilib
-
-MY_PN=polyml
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="implementation of SHA1 is taken from the GNU coreutils package"
-HOMEPAGE="http://isabelle.in.tum.de/"
-SRC_URI="http://isabelle.in.tum.de/components/${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=""
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_P}/sha1"
-
-LIBDIR="/usr/"$(get_libdir)"/${PN}"
-
-# sci-mathematics/isabelle requires sci-mathematics/sha1-polyml, to avoid
-# this warning:
-# ### load_lib </usr/bin/libsha1.so> : /usr/bin/libsha1.so: cannot open shared
-# object file: No such file or directory
-# ### Using slow ML implementation of SHA1.digest
-# sci-mathematics/sha1-polyml supplies the library libsha1.so. Which
-# is the implementation of SHA1 taken from the GNU coreutils package
-# as described in the sci-mathematics/sha1-polyml README. Isabelle
-# builds libsha1.so in the contrib/polyml/$ML_PLATFORM directory.
-# isabelle dynamically loads libsha1.so as a plugin. The Isabelle-2012
-# linux binary bundle places libsha1.so in the contrib/polyml directory, which
-# is referred to as ML_HOME in the Isabelle Pure/General/sha1_polyml.ML source file.
-# ML_HOME is /usr/bin on Gentoo, and we want isabelle to depend o sha1-polyml.
-# For these reasons isabelle is patched to load it from
-# /usr/$(get_libdir)/sha1-polyml/libsha1.so
-
-src_prepare() {
- cp -p "${S}/build" "${S}/build-orig" || die "Could not cp build to build-orig"
- sed -e "s@CFLAGS=\"@CFLAGS=\"${CFLAGS} @g" \
- -e "s@LDFLAGS=\"@LDFLAGS=\"${LDFLAGS} @g" \
- -i "${S}/build" || die "Could not set flags in build"
- cp -p "${S}/build" "${S}/tests" || die "Could not cp build to tests"
- sed -e '/echo "Running tests ..."/,$d' \
- -i "${S}/build" || die "Could not remove run tests from build"
- sed -e '$i\\nexit 0' \
- -i "${S}/build" || die "Could not add exit 0 to build"
- sed -e 's/echo "Running tests ..."/echo "Running tests ..."\necho "Running tests ..."/' \
- -i "${S}/tests" || die "Could not duplicate echo line in tests"
- sed -e '/# building/,/echo "Running tests ..."/d' \
- -i "${S}/tests" || die "Could not remove build from run tests"
- sed -e '$i\\nexit 0' \
- -i "${S}/tests" || die "Could not add exit 0 to tests"
-}
-
-src_compile() {
- arch=$(uname -m)
- uos=$(uname)
- # Switch to ,, when we switch to EAPI=6.
- #local los=${uos,,}
- los=$(tr '[:upper:]' '[:lower:]' <<<"${uos}")
- ./build "${arch}-${los}" || die "build failed"
-}
-
-src_test() {
- ./tests "${arch}-${los}" || die "tests failed"
-}
-
-src_install() {
- dodoc README
- insinto "/usr/"$(get_libdir)
- dodir ${LIBDIR}
- exeinto ${LIBDIR}
- doexe ${arch}-${los}/libsha1.so
-}