[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/sha1-polyml/
commit: 20c9a65d2161e59dcaf633ac3a2fb6865fb3302e Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Aug 30 18:18:06 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Aug 30 18:26:26 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20c9a65d sci-mathematics/sha1-polyml: drop 5.6_p1, EAPI-6-- Signed-off-by: Andreas Sturmlechner gentoo.org> sci-mathematics/sha1-polyml/Manifest | 1 - .../sha1-polyml/sha1-polyml-5.6_p1.ebuild | 61 -- 2 files changed, 62 deletions(-) diff --git a/sci-mathematics/sha1-polyml/Manifest b/sci-mathematics/sha1-polyml/Manifest index 2988fb9f62e4..d4ff3f4ccbf4 100644 --- a/sci-mathematics/sha1-polyml/Manifest +++ b/sci-mathematics/sha1-polyml/Manifest @@ -1,2 +1 @@ -DIST polyml-5.6-1.tar.gz 22041657 BLAKE2B c097dda273b12dfe013706e5fa313f210f1f0bf6b32766db6e459ce1bca46f93504baef3d7644922c60d119431d659cbd69d8cd273fcc94609eadff058d3cb9b SHA512 3107f4a5b17283dc3873b0ecf7eb1c607c42e14e859b50345b666f19412a2592e359ea29f03e56d390491e9104a71e0bf80eb39884f51d8724b37f8f935fa7d2 DIST sha1-polyml-5.9.tar.gz 30801508 BLAKE2B d9a12b4a9734d2d663947e8699e6813b9c5f0a85f7527ebd73d578559ed4432a51ed8542733213c137c8235a2f6eebc28af77570c42234220d2993169340fd16 SHA512 da03c0759d633814b860fdc4051a010882b187444c0de1375f90e02ce26cb5e09cbbb48445da9f7d84d8af92352efcd9b509e863a915517e90e3fa6147bcbd0a diff --git a/sci-mathematics/sha1-polyml/sha1-polyml-5.6_p1.ebuild b/sci-mathematics/sha1-polyml/sha1-polyml-5.6_p1.ebuild deleted file mode 100644 index a76fba862963.. --- a/sci-mathematics/sha1-polyml/sha1-polyml-5.6_p1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit multilib toolchain-funcs - -MY_PN="polyml" -MY_PV="5.6-1" -MY_P="${MY_PN}-${MY_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" - -RDEPEND="" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_P}/sha1" - -# sci-mathematics/isabelle requires sci-mathematics/sha1-polyml, to avoid -# this warning: -# ### load_lib : /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_compile() { - $(tc-getCC) \ - ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -I. -fPIC -shared \ - -o libsha1.so sha1.c || die "compile libsha1.so failed" - $(tc-getCC) \ - ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -I. \ - -o test_sha1 test_sha1.c -ldl || die "compile test_sha1 failed" -} - -src_test() { - ./test_sha1 ./libsha1.so || die "tests failed" -} - -src_install() { - dodoc README - - local ld="${EPREFIX%/}/usr/$(get_libdir)/${PN}" - dodir ${ld} - exeinto ${ld} - doexe libsha1.so -}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/sha1-polyml/
commit: 265bdfe9fadad9cadcc320be7b420c30a0d25cd4 Author: Andrew Ammerlaan gentoo org> AuthorDate: Fri Aug 26 09:26:37 2022 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Fri Aug 26 09:26:43 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=265bdfe9 sci-mathematics/sha1-polyml: avoid distfile conflict with dev-lang/polyml Signed-off-by: Andrew Ammerlaan gentoo.org> sci-mathematics/sha1-polyml/Manifest | 2 +- sci-mathematics/sha1-polyml/sha1-polyml-5.9.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/sha1-polyml/Manifest b/sci-mathematics/sha1-polyml/Manifest index a52585dc8b64..2988fb9f62e4 100644 --- a/sci-mathematics/sha1-polyml/Manifest +++ b/sci-mathematics/sha1-polyml/Manifest @@ -1,2 +1,2 @@ DIST polyml-5.6-1.tar.gz 22041657 BLAKE2B c097dda273b12dfe013706e5fa313f210f1f0bf6b32766db6e459ce1bca46f93504baef3d7644922c60d119431d659cbd69d8cd273fcc94609eadff058d3cb9b SHA512 3107f4a5b17283dc3873b0ecf7eb1c607c42e14e859b50345b666f19412a2592e359ea29f03e56d390491e9104a71e0bf80eb39884f51d8724b37f8f935fa7d2 -DIST polyml-5.9.tar.gz 30801508 BLAKE2B d9a12b4a9734d2d663947e8699e6813b9c5f0a85f7527ebd73d578559ed4432a51ed8542733213c137c8235a2f6eebc28af77570c42234220d2993169340fd16 SHA512 da03c0759d633814b860fdc4051a010882b187444c0de1375f90e02ce26cb5e09cbbb48445da9f7d84d8af92352efcd9b509e863a915517e90e3fa6147bcbd0a +DIST sha1-polyml-5.9.tar.gz 30801508 BLAKE2B d9a12b4a9734d2d663947e8699e6813b9c5f0a85f7527ebd73d578559ed4432a51ed8542733213c137c8235a2f6eebc28af77570c42234220d2993169340fd16 SHA512 da03c0759d633814b860fdc4051a010882b187444c0de1375f90e02ce26cb5e09cbbb48445da9f7d84d8af92352efcd9b509e863a915517e90e3fa6147bcbd0a diff --git a/sci-mathematics/sha1-polyml/sha1-polyml-5.9.ebuild b/sci-mathematics/sha1-polyml/sha1-polyml-5.9.ebuild index 3ba8223e0408..184196977413 100644 --- a/sci-mathematics/sha1-polyml/sha1-polyml-5.9.ebuild +++ b/sci-mathematics/sha1-polyml/sha1-polyml-5.9.ebuild @@ -10,7 +10,7 @@ MY_P="${MY_PN}-${PV}" DESCRIPTION="implementation of SHA1 is taken from the GNU coreutils package" HOMEPAGE="https://isabelle.in.tum.de/; -SRC_URI="https://isabelle.in.tum.de/components/${MY_P}.tar.gz; +SRC_URI="https://isabelle.in.tum.de/components/${MY_P}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/sha1-polyml/
commit: 84edcc4433161a222f8c58f616b3ec55a72e5084 Author: Petr Vaněk atlas cz> AuthorDate: Thu Aug 25 21:41:04 2022 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Fri Aug 26 09:11:28 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84edcc44 sci-mathematics/sha1-polyml: Update package metadata - Fix indentation - Use tags in - Remove note about sci-mathematics/isabelle package which is not in the tree since commit 7d2aafd09b8f ("sci-mathematics/isabelle: Remove last-rited pkg") Signed-off-by: Petr Vaněk atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/27020 Signed-off-by: Andrew Ammerlaan gentoo.org> sci-mathematics/sha1-polyml/metadata.xml | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sci-mathematics/sha1-polyml/metadata.xml b/sci-mathematics/sha1-polyml/metadata.xml index 1c58775689e2..f593001d1839 100644 --- a/sci-mathematics/sha1-polyml/metadata.xml +++ b/sci-mathematics/sha1-polyml/metadata.xml @@ -10,8 +10,8 @@ Gentoo Mathematics Project -sci-mathematics/sha1-polyml is the implementation of SHA1 taken from -the GNU coreutils package as described in the sci-mathematics/sha1-polyml -README. It is required by sci-mathematics/isabelle. - +sci-mathematics/sha1-polyml is the implementation of SHA1 taken from +the GNU coreutils package as described in the sci-mathematics/sha1-polyml +README. +
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/sha1-polyml/
commit: 7ef0bccddedc1d4299db077b8e0633f72ca64f94 Author: Andrew Ammerlaan gentoo org> AuthorDate: Fri Aug 26 09:10:20 2022 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Fri Aug 26 09:11:29 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ef0bccd sci-mathematics/sha1-polyml: add 5.9 Signed-off-by: Andrew Ammerlaan gentoo.org> sci-mathematics/sha1-polyml/Manifest | 1 + sci-mathematics/sha1-polyml/sha1-polyml-5.9.ebuild | 56 ++ 2 files changed, 57 insertions(+) diff --git a/sci-mathematics/sha1-polyml/Manifest b/sci-mathematics/sha1-polyml/Manifest index 1c96d60f6037..a52585dc8b64 100644 --- a/sci-mathematics/sha1-polyml/Manifest +++ b/sci-mathematics/sha1-polyml/Manifest @@ -1 +1,2 @@ DIST polyml-5.6-1.tar.gz 22041657 BLAKE2B c097dda273b12dfe013706e5fa313f210f1f0bf6b32766db6e459ce1bca46f93504baef3d7644922c60d119431d659cbd69d8cd273fcc94609eadff058d3cb9b SHA512 3107f4a5b17283dc3873b0ecf7eb1c607c42e14e859b50345b666f19412a2592e359ea29f03e56d390491e9104a71e0bf80eb39884f51d8724b37f8f935fa7d2 +DIST polyml-5.9.tar.gz 30801508 BLAKE2B d9a12b4a9734d2d663947e8699e6813b9c5f0a85f7527ebd73d578559ed4432a51ed8542733213c137c8235a2f6eebc28af77570c42234220d2993169340fd16 SHA512 da03c0759d633814b860fdc4051a010882b187444c0de1375f90e02ce26cb5e09cbbb48445da9f7d84d8af92352efcd9b509e863a915517e90e3fa6147bcbd0a diff --git a/sci-mathematics/sha1-polyml/sha1-polyml-5.9.ebuild b/sci-mathematics/sha1-polyml/sha1-polyml-5.9.ebuild new file mode 100644 index ..3ba8223e0408 --- /dev/null +++ b/sci-mathematics/sha1-polyml/sha1-polyml-5.9.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_PN="polyml" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="implementation of SHA1 is taken from the GNU coreutils package" +HOMEPAGE="https://isabelle.in.tum.de/; +SRC_URI="https://isabelle.in.tum.de/components/${MY_P}.tar.gz; + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}/${MY_P}/sha1" + +# sci-mathematics/isabelle requires sci-mathematics/sha1-polyml, to avoid +# this warning: +# ### load_lib : /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_compile() { + $(tc-getCC) \ + ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -I. -fPIC -shared \ + -o libsha1.so sha1.c || die "compile libsha1.so failed" + $(tc-getCC) \ + ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -I. \ + -o test_sha1 test_sha1.c -ldl || die "compile test_sha1 failed" +} + +src_test() { + ./test_sha1 ./libsha1.so || die "tests failed" +} + +src_install() { + dodoc README + + local ld="${EPREFIX}/usr/$(get_libdir)/${PN}" + exeinto "${ld}" + doexe libsha1.so +}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/sha1-polyml/
commit: e7e3d272e72de86480a4eb28d908d5f4dc2a3e79 Author: Sam James gentoo org> AuthorDate: Fri Jun 11 00:22:35 2021 + Commit: Sam James gentoo org> CommitDate: Fri Jun 11 00:29:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7e3d272 sci-mathematics/sha1-polyml: fix VariableScope (ROOT) Signed-off-by: Sam James gentoo.org> sci-mathematics/sha1-polyml/sha1-polyml-5.6_p1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sci-mathematics/sha1-polyml/sha1-polyml-5.6_p1.ebuild b/sci-mathematics/sha1-polyml/sha1-polyml-5.6_p1.ebuild index 20d02506c3c..a76fba86296 100644 --- a/sci-mathematics/sha1-polyml/sha1-polyml-5.6_p1.ebuild +++ b/sci-mathematics/sha1-polyml/sha1-polyml-5.6_p1.ebuild @@ -53,7 +53,8 @@ src_test() { src_install() { dodoc README - local ld="${ROOT}usr/"$(get_libdir)"/${PN}" + + local ld="${EPREFIX%/}/usr/$(get_libdir)/${PN}" dodir ${ld} exeinto ${ld} doexe libsha1.so
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/sha1-polyml/
commit: ff25beef18eda71b7f66acb49777a6d4f4328aaa Author: Sam James gentoo org> AuthorDate: Sat May 29 19:02:51 2021 + Commit: David Seifert gentoo org> CommitDate: Sat May 29 19:02:51 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff25beef sci-mathematics/sha1-polyml: ebuild tidying Package-Manager: Portage-3.0.18-prefix, Repoman-3.0.3 Signed-off-by: Sam James gentoo.org> Signed-off-by: David Seifert gentoo.org> sci-mathematics/sha1-polyml/sha1-polyml-5.6_p1.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sci-mathematics/sha1-polyml/sha1-polyml-5.6_p1.ebuild b/sci-mathematics/sha1-polyml/sha1-polyml-5.6_p1.ebuild index 66505a9d8b1..20d02506c3c 100644 --- a/sci-mathematics/sha1-polyml/sha1-polyml-5.6_p1.ebuild +++ b/sci-mathematics/sha1-polyml/sha1-polyml-5.6_p1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -16,7 +16,6 @@ SRC_URI="http://isabelle.in.tum.de/components/${MY_P}.tar.gz; LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" RDEPEND="" DEPEND="${RDEPEND}"
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/sha1-polyml/files/
commit: b99a4404cb1e672d31e66f4d26996f19af0cfdc9 Author: Michael Mair-Keimberger (asterix) gmail com> AuthorDate: Wed Feb 1 18:48:06 2017 + Commit: David Seifert gentoo org> CommitDate: Wed Feb 1 22:39:31 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b99a4404 sci-mathematics/sha1-polyml: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/3764 .../files/sha1-polyml-5.6_p1-build.patch | 60 -- 1 file changed, 60 deletions(-) diff --git a/sci-mathematics/sha1-polyml/files/sha1-polyml-5.6_p1-build.patch b/sci-mathematics/sha1-polyml/files/sha1-polyml-5.6_p1-build.patch deleted file mode 100644 index 86645b9.. --- a/sci-mathematics/sha1-polyml/files/sha1-polyml-5.6_p1-build.patch +++ /dev/null @@ -1,60 +0,0 @@ polyml-5.6-1-orig/sha1/build 2015-09-09 03:05:54.0 +1000 -+++ polyml-5.6-1/sha1/build2016-12-28 19:10:36.148579115 +1100 -@@ -32,34 +32,34 @@ - - case "$target" in - x86-linux) --CFLAGS="-fPIC -I. -m32" --LDFLAGS="-fPIC -m32 -shared" -+CFLAGS="-O2 -march=native -ggdb -fvar-tracking-assignments -fvar-tracking -pipe -fPIC -I. -m32" -+LDFLAGS="-Wl,-O1 -Wl,--as-needed -fPIC -m32 -shared" - library="$target/libsha1.so" - test_sha1="test_sha1" - ;; - x86_64-linux) --CFLAGS="-fPIC -I. -m64" --LDFLAGS="-fPIC -m64 -shared" -+CFLAGS="-O2 -march=native -ggdb -fvar-tracking-assignments -fvar-tracking -pipe -fPIC -I. -m64" -+LDFLAGS="-Wl,-O1 -Wl,--as-needed -fPIC -m64 -shared" - library="$target/libsha1.so" - test_sha1="test_sha1" - ;; - x86-darwin) - LD=libtool --CFLAGS="-fPIC -I. -m32" --LDFLAGS="-dynamic -lc" -+CFLAGS="-O2 -march=native -ggdb -fvar-tracking-assignments -fvar-tracking -pipe -fPIC -I. -m32" -+LDFLAGS="-Wl,-O1 -Wl,--as-needed -dynamic -lc" - library="$target/libsha1.so" - test_sha1="test_sha1" - ;; - x86_64-darwin) - LD=libtool --CFLAGS="-fPIC -I. -m64" --LDFLAGS="-dynamic -lc" -+CFLAGS="-O2 -march=native -ggdb -fvar-tracking-assignments -fvar-tracking -pipe -fPIC -I. -m64" -+LDFLAGS="-Wl,-O1 -Wl,--as-needed -dynamic -lc" - library="$target/libsha1.so" - test_sha1="test_sha1" - ;; - x86-cygwin) --CFLAGS="-I. -m32" --LDFLAGS="-shared" -+CFLAGS="-O2 -march=native -ggdb -fvar-tracking-assignments -fvar-tracking -pipe -I. -m32" -+LDFLAGS="-Wl,-O1 -Wl,--as-needed -shared" - library="$target/sha1.dll" - test_sha1="test_sha1.exe" - ;; -@@ -105,10 +105,6 @@ - $CC $CFLAGS -o $test_sha1 test_sha1.c -ldl - [ "$?" -ne 0 ] && { exit 1; } - --echo "Running tests ..." --./$test_sha1 $library --[ "$?" -ne 0 ] && { exit 1; } -- --rm test_sha1 sha1.o -+exit 0 - - fi -\ No newline at end of file
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/sha1-polyml/, sci-mathematics/sha1-polyml/files/
commit: 1772772b7973e844b580481f4912f949b75890f4 Author: Mark Wright gentoo org> AuthorDate: Mon Jan 2 23:00:36 2017 + Commit: Mark Wright gentoo org> CommitDate: Mon Jan 2 23:02:02 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1772772b sci-mathematics/sha1-polyml: Bump to 5.6-1. Fix get_libdir called in global scope, thanks to mgorny for reporting. Gentoo-bug: 593380 Package-Manager: portage-2.3.3 sci-mathematics/sha1-polyml/Manifest | 1 + .../files/sha1-polyml-5.6_p1-build.patch | 60 + .../sha1-polyml/sha1-polyml-5.6_p1.ebuild | 62 ++ 3 files changed, 123 insertions(+) diff --git a/sci-mathematics/sha1-polyml/Manifest b/sci-mathematics/sha1-polyml/Manifest index 480d96f..11d31b3 100644 --- a/sci-mathematics/sha1-polyml/Manifest +++ b/sci-mathematics/sha1-polyml/Manifest @@ -1 +1,2 @@ DIST polyml-5.5.0.tar.gz 12776783 SHA256 1ada41fba3f3cd5bb9b3e3dd1585e8576284e9a74ad7c4ddf88c020f716ec7dc SHA512 4d8accc7083e12a0117fb4e34367e9b22c500d31094d8f0e381b91e91a3e8122cb5ca760ecc86bdcf7ff50a460848a181747bafc068b4a300b01de54e55fbad7 WHIRLPOOL 2bc658af92f0b85ae8ba63d3f07caced91a335a3d5541e3988fa78147ef6f6c8713e479cde0ed41077621ead4b3d6eaca466a05d6d87d2f27d427299513d7033 +DIST polyml-5.6-1.tar.gz 22041657 SHA256 6091bbdbad437b6a0293e8091642bf204ff1d71f8d262de46ae200357d98f113 SHA512 3107f4a5b17283dc3873b0ecf7eb1c607c42e14e859b50345b666f19412a2592e359ea29f03e56d390491e9104a71e0bf80eb39884f51d8724b37f8f935fa7d2 WHIRLPOOL 13e8d61c0271855b8034426b6e41aacb1ff694f3fa0ce5c5b4806487567bded7230c5ff64390f163e07da8d78a08f19780ac84d3931e033e8496079a9f18f523 diff --git a/sci-mathematics/sha1-polyml/files/sha1-polyml-5.6_p1-build.patch b/sci-mathematics/sha1-polyml/files/sha1-polyml-5.6_p1-build.patch new file mode 100644 index ..86645b9 --- /dev/null +++ b/sci-mathematics/sha1-polyml/files/sha1-polyml-5.6_p1-build.patch @@ -0,0 +1,60 @@ +--- polyml-5.6-1-orig/sha1/build 2015-09-09 03:05:54.0 +1000 polyml-5.6-1/sha1/build2016-12-28 19:10:36.148579115 +1100 +@@ -32,34 +32,34 @@ + + case "$target" in + x86-linux) +-CFLAGS="-fPIC -I. -m32" +-LDFLAGS="-fPIC -m32 -shared" ++CFLAGS="-O2 -march=native -ggdb -fvar-tracking-assignments -fvar-tracking -pipe -fPIC -I. -m32" ++LDFLAGS="-Wl,-O1 -Wl,--as-needed -fPIC -m32 -shared" + library="$target/libsha1.so" + test_sha1="test_sha1" + ;; + x86_64-linux) +-CFLAGS="-fPIC -I. -m64" +-LDFLAGS="-fPIC -m64 -shared" ++CFLAGS="-O2 -march=native -ggdb -fvar-tracking-assignments -fvar-tracking -pipe -fPIC -I. -m64" ++LDFLAGS="-Wl,-O1 -Wl,--as-needed -fPIC -m64 -shared" + library="$target/libsha1.so" + test_sha1="test_sha1" + ;; + x86-darwin) + LD=libtool +-CFLAGS="-fPIC -I. -m32" +-LDFLAGS="-dynamic -lc" ++CFLAGS="-O2 -march=native -ggdb -fvar-tracking-assignments -fvar-tracking -pipe -fPIC -I. -m32" ++LDFLAGS="-Wl,-O1 -Wl,--as-needed -dynamic -lc" + library="$target/libsha1.so" + test_sha1="test_sha1" + ;; + x86_64-darwin) + LD=libtool +-CFLAGS="-fPIC -I. -m64" +-LDFLAGS="-dynamic -lc" ++CFLAGS="-O2 -march=native -ggdb -fvar-tracking-assignments -fvar-tracking -pipe -fPIC -I. -m64" ++LDFLAGS="-Wl,-O1 -Wl,--as-needed -dynamic -lc" + library="$target/libsha1.so" + test_sha1="test_sha1" + ;; + x86-cygwin) +-CFLAGS="-I. -m32" +-LDFLAGS="-shared" ++CFLAGS="-O2 -march=native -ggdb -fvar-tracking-assignments -fvar-tracking -pipe -I. -m32" ++LDFLAGS="-Wl,-O1 -Wl,--as-needed -shared" + library="$target/sha1.dll" + test_sha1="test_sha1.exe" + ;; +@@ -105,10 +105,6 @@ + $CC $CFLAGS -o $test_sha1 test_sha1.c -ldl + [ "$?" -ne 0 ] && { exit 1; } + +-echo "Running tests ..." +-./$test_sha1 $library +-[ "$?" -ne 0 ] && { exit 1; } +- +-rm test_sha1 sha1.o ++exit 0 + + fi +\ No newline at end of file diff --git a/sci-mathematics/sha1-polyml/sha1-polyml-5.6_p1.ebuild b/sci-mathematics/sha1-polyml/sha1-polyml-5.6_p1.ebuild new file mode 100644 index ..7349cf9 --- /dev/null +++ b/sci-mathematics/sha1-polyml/sha1-polyml-5.6_p1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +inherit multilib toolchain-funcs + +MY_PN="polyml" +MY_PV="5.6-1" +MY_P="${MY_PN}-${MY_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="~x86 ~amd64" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}/sha1" + +# sci-mathematics/isabelle requires sci-mathematics/sha1-polyml, to avoid +# this warning: +# ### load_lib : /usr/bin/libsha1.so: cannot open shared +# object file: No such file or directory +# ###
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/sha1-polyml/
commit: 68f5f806a26ddee80ee9b50d57d36f44fdd14080 Author: Justin Lecher gentoo org> AuthorDate: Fri Nov 13 09:37:01 2015 + Commit: Justin Lecher gentoo org> CommitDate: Fri Nov 13 09:37:01 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68f5f806 sci-mathematics/sha1-polyml: Make var declaration globally Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=565650 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher gentoo.org> sci-mathematics/sha1-polyml/metadata.xml | 12 ++-- sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sci-mathematics/sha1-polyml/metadata.xml b/sci-mathematics/sha1-polyml/metadata.xml index c3a2e90..50a414f 100644 --- a/sci-mathematics/sha1-polyml/metadata.xml +++ b/sci-mathematics/sha1-polyml/metadata.xml @@ -1,12 +1,12 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - gie...@gentoo.org - Mark Wright - -sci-mathematics - + +gie...@gentoo.org +Mark Wright + + sci-mathematics + sci-mathematics/sha1-polyml is the implementation of SHA1 taken from the GNU coreutils package as described in the sci-mathematics/sha1-polyml README. It is required by sci-mathematics/isabelle. diff --git a/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild b/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild index a5d6856..1aaf428 100644 --- a/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild +++ b/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild @@ -60,11 +60,11 @@ src_prepare() { } src_compile() { - local arch=$(uname -m) - local uos=$(uname) + arch=$(uname -m) + uos=$(uname) # Switch to ,, when we switch to EAPI=6. #local los=${uos,,} - local los=$(tr '[:upper:]' '[:lower:]' <<<"${uos}") + los=$(tr '[:upper:]' '[:lower:]' <<<"${uos}") ./build "${arch}-${los}" || die "build failed" }