summaryrefslogtreecommitdiff
path: root/sci-mathematics/sha1-polyml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-22 20:28:19 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-22 20:28:19 +0000
commitabaa75b10f899ada8dd05b23cc03205064394bc6 (patch)
treeeca3dd248b73b92013cba00a0fcc1edf2696e19a /sci-mathematics/sha1-polyml
parent24fd814c326e282c4321965c31f341dad77e270d (diff)
gentoo resync : 22.01.2021
Diffstat (limited to 'sci-mathematics/sha1-polyml')
-rw-r--r--sci-mathematics/sha1-polyml/Manifest2
-rw-r--r--sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild80
2 files changed, 0 insertions, 82 deletions
diff --git a/sci-mathematics/sha1-polyml/Manifest b/sci-mathematics/sha1-polyml/Manifest
index a43b118ec78d..937dc7bd30a7 100644
--- a/sci-mathematics/sha1-polyml/Manifest
+++ b/sci-mathematics/sha1-polyml/Manifest
@@ -1,5 +1,3 @@
-DIST polyml-5.5.0.tar.gz 12776783 BLAKE2B 8ec50df7a43049f564e4f0fd67aa961fb2dd075359934a58340526e77a852006fdc1083d199837ea406524cbe3fc53d5a85d83e5a414662e141257b18d8c9a22 SHA512 4d8accc7083e12a0117fb4e34367e9b22c500d31094d8f0e381b91e91a3e8122cb5ca760ecc86bdcf7ff50a460848a181747bafc068b4a300b01de54e55fbad7
DIST polyml-5.6-1.tar.gz 22041657 BLAKE2B c097dda273b12dfe013706e5fa313f210f1f0bf6b32766db6e459ce1bca46f93504baef3d7644922c60d119431d659cbd69d8cd273fcc94609eadff058d3cb9b SHA512 3107f4a5b17283dc3873b0ecf7eb1c607c42e14e859b50345b666f19412a2592e359ea29f03e56d390491e9104a71e0bf80eb39884f51d8724b37f8f935fa7d2
-EBUILD sha1-polyml-5.5.0.ebuild 2717 BLAKE2B 39e0790e8fdfe25cc4c546827d48a99f75ca0ce2ce1588fff4c7e7111466137d5d7d5fa86a7b95f2e71bbb0ac8b08dedd97c574423ce4e6237e604fe1668b270 SHA512 c60123afd281d043a47d0a501f5ee3171ae78bbc6fe74e086215735abc46f917abf8c543d6bfc6399af5774905258be70101d5b4b15cae4bda282243e23077b6
EBUILD sha1-polyml-5.6_p1.ebuild 1906 BLAKE2B 08981e8894274905a4d4eb428bd85cbe32848b4455196c336cf7859e0ef7b5de5137ec72ce70aa615e276369db04607e44515bd2c40b376f9aa665127a88a822 SHA512 95e93614c546a3b5f08c5917986cee5765e5ba8981832ff5dbb013d070726fa454661b2d2425d452a4cc8228d11b155d4ed2accd00f26b459609101783497ca7
MISC metadata.xml 631 BLAKE2B f1ea7f8c4cde6c764c3c0649d2977636de0984756e1d3953f0ec142688ac75b6c2f909220766115408059e81a596cde28a31b6d9684b41080b0cc6cc36e2904e SHA512 ce2a008b92696040b1de592443a3bf1ca927aa95380bc92e4558c0d362dd1d2dc33c023a522946fe0295936feb95a2b920cbe0fbd44e65d7c9d5ca3f955bb7b1
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
-}