From 8dd17625671faf6a47abf31d4c96a1e20d764ba5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 20 Feb 2023 02:17:30 +0000 Subject: gentoo auto-resync : 20:02:2023 - 02:17:29 --- sci-calculators/Manifest.gz | Bin 3038 -> 3044 bytes sci-calculators/bc-gh/Manifest | 4 +- sci-calculators/bc-gh/bc-gh-6.2.2.ebuild | 75 ------------------------------- sci-calculators/bc-gh/bc-gh-6.2.6.ebuild | 75 +++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+), 77 deletions(-) delete mode 100644 sci-calculators/bc-gh/bc-gh-6.2.2.ebuild create mode 100644 sci-calculators/bc-gh/bc-gh-6.2.6.ebuild (limited to 'sci-calculators') diff --git a/sci-calculators/Manifest.gz b/sci-calculators/Manifest.gz index 1cb10cc71d4b..f1434074a9a6 100644 Binary files a/sci-calculators/Manifest.gz and b/sci-calculators/Manifest.gz differ diff --git a/sci-calculators/bc-gh/Manifest b/sci-calculators/bc-gh/Manifest index 9dcfe05fbf80..398b8a988883 100644 --- a/sci-calculators/bc-gh/Manifest +++ b/sci-calculators/bc-gh/Manifest @@ -1,5 +1,5 @@ DIST bc-6.1.1.tar.xz 455456 BLAKE2B 7945ac623740abd9cbd894c20b8a03006caf64d2ce9770ade930d912c52b4e29b107b524d4a95ebea99e31921b7940e39e1afdeec837b4a03d3ed4e11b9f517b SHA512 0e7fb4d4223ace8ba5c1961cc0d7eba475174f92b75529fde64446b5d80db5729f848fd95507570711d2b8928996c87e837e926d31028f32e3f97cad47567d39 -DIST bc-6.2.2.tar.xz 456672 BLAKE2B 02a6b9012f3b2d6b87be9112c6ccaea84bb121b1de4ebe1276b2151ff24ff445de0cf5a591c2802069e8c9a69c29ca4985a52117761cbb40bc129b70c6f98a49 SHA512 11389ebd522dddb4b255856452d4ff851915331e36682899e946a3eee46e6a3b7ac7d28a0be8b86fc79c230f8ea3d8f335a4722a0c49daa68c51b6c667e1d1fe +DIST bc-6.2.6.tar.xz 457640 BLAKE2B ab134928292d73ebd41921d8931420b037837f82fe8338a7b5f84137bd05d8d6db1cfce19b506dc2b470a44aa277b73202b599866343d6978c219d65c9f27bf6 SHA512 f3631ff2378e93f9758a133400749973681f142f3eeaf1ae8ffc60f1a31b9ca9a9bcdf14435b72fea8b8ea486d0fb6b53954a511c5db62d834bf6cf270d7e4a5 EBUILD bc-gh-6.1.1-r1.ebuild 537 BLAKE2B 4200e5722878e49ac8e4a0d925480ba52efd49d6c27479195802ecc2e5f4754b9cdecb7e65edea7c4d7c37b1e34811057908af7f479a2858cc3f76d9b7962cb6 SHA512 06d57b507fde0942772db43f1e4c5ed2561bd9835d8693f7ab8220e17950b51d2243dcdf4ebf60ba7a5339012f08a9c7ead7a20bc75774e673fe4b751fbffa42 -EBUILD bc-gh-6.2.2.ebuild 2283 BLAKE2B 44b3d7f61b67b5bdb792d58e04e83103a9cfa99249321f70e2b86ff6414339b7a2a531e6ac3828fa7587b492ce8d27b9fa369e3167b8d690bc016eb95586258d SHA512 818dcbdb490c4bdbe8d1006fa49214ae66ff4bc27e4cf998b6324762198ce86f2210dd509174f012f20000313c4e41d4d963a1dbadfced883cdc13ae64ca3833 +EBUILD bc-gh-6.2.6.ebuild 2283 BLAKE2B 44b3d7f61b67b5bdb792d58e04e83103a9cfa99249321f70e2b86ff6414339b7a2a531e6ac3828fa7587b492ce8d27b9fa369e3167b8d690bc016eb95586258d SHA512 818dcbdb490c4bdbe8d1006fa49214ae66ff4bc27e4cf998b6324762198ce86f2210dd509174f012f20000313c4e41d4d963a1dbadfced883cdc13ae64ca3833 MISC metadata.xml 1050 BLAKE2B 4cf9aabd9e7abf20b857131ada67346f356135f329d8367753778cb406bfd337e695cdc0cbbcd2e237e1cd9ea9cfd8b80fa7458a64a68aec2b0f24882203af98 SHA512 492f8fa1f9abe2da452bc9a5a8ccc29fda87322832bddc1b9c4f55013e549cfaf34f11fa9ea6cc71566e670727bda1899eda598196f20a8931d327b4b4ae6dfb diff --git a/sci-calculators/bc-gh/bc-gh-6.2.2.ebuild b/sci-calculators/bc-gh/bc-gh-6.2.2.ebuild deleted file mode 100644 index 7b4e6bc4cbf5..000000000000 --- a/sci-calculators/bc-gh/bc-gh-6.2.2.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_P="bc-${PV}" -DESCRIPTION="Implementation of POSIX bc with GNU extensions" -HOMEPAGE=" - https://git.gavinhoward.com/gavin/bc/ - https://github.com/gavinhoward/bc/ -" -SRC_URI=" - https://github.com/gavinhoward/bc/releases/download/${PV}/${MY_P}.tar.xz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="libedit readline" - -DEPEND=" - !readline? ( - libedit? ( dev-libs/libedit:= ) - ) - readline? ( - sys-libs/readline:= - sys-libs/ncurses:= - ) -" -RDEPEND=" - ${DEPEND} -" - -src_configure() { - local myconf=( - # GNU and BSD bc's have slightly different behavior. This bc can act - # like both, changing at runtime with environment variables, but it - # needs defaults, which can be set at compile time. This option sets all - # of the defaults to match the GNU bc/dc since it's common on Linux. - -pGNU - # A lot of test results are generated first by a bc compatible with the - # GNU bc. If there is no GNU bc installed, then those tests should be - # skipped. That's what this option does. Without it, we would have a - # dependency cycle. Those tests are super long, anyway. - -G - # Disables the automatic stripping of binaries. - -T - # Enables installing all locales, which is important for packages. - -l - # Disables some "problematic" tests that need specific options on Linux - # to not trigger the OOM killer because malloc() lies. - -P - ) - if use readline ; then - myconf+=( -r ) - elif use libedit ; then - myconf+=( -e ) - fi - - local -x EXECSUFFIX="-gh" - local -x PREFIX="${EPREFIX}/usr" - ./configure.sh "${myconf[@]}" || die -} - -src_test() { - # This is to fix a bug encountered on Arch. It is to ensure we don't get - # segfaults on `make check` when the error messages change because the error - # messages are passed to printf(); they have format specifiers. With these - # env vars, the internal error messages are used, instead of the installed - # locales, which might be different since the new locale files are not - # installed yet. (It is impossible to use uninstalled locales because of the - # poor design of POSIX locales.) - env LANG=C LC_ALL=C emake check -} diff --git a/sci-calculators/bc-gh/bc-gh-6.2.6.ebuild b/sci-calculators/bc-gh/bc-gh-6.2.6.ebuild new file mode 100644 index 000000000000..7b4e6bc4cbf5 --- /dev/null +++ b/sci-calculators/bc-gh/bc-gh-6.2.6.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P="bc-${PV}" +DESCRIPTION="Implementation of POSIX bc with GNU extensions" +HOMEPAGE=" + https://git.gavinhoward.com/gavin/bc/ + https://github.com/gavinhoward/bc/ +" +SRC_URI=" + https://github.com/gavinhoward/bc/releases/download/${PV}/${MY_P}.tar.xz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="libedit readline" + +DEPEND=" + !readline? ( + libedit? ( dev-libs/libedit:= ) + ) + readline? ( + sys-libs/readline:= + sys-libs/ncurses:= + ) +" +RDEPEND=" + ${DEPEND} +" + +src_configure() { + local myconf=( + # GNU and BSD bc's have slightly different behavior. This bc can act + # like both, changing at runtime with environment variables, but it + # needs defaults, which can be set at compile time. This option sets all + # of the defaults to match the GNU bc/dc since it's common on Linux. + -pGNU + # A lot of test results are generated first by a bc compatible with the + # GNU bc. If there is no GNU bc installed, then those tests should be + # skipped. That's what this option does. Without it, we would have a + # dependency cycle. Those tests are super long, anyway. + -G + # Disables the automatic stripping of binaries. + -T + # Enables installing all locales, which is important for packages. + -l + # Disables some "problematic" tests that need specific options on Linux + # to not trigger the OOM killer because malloc() lies. + -P + ) + if use readline ; then + myconf+=( -r ) + elif use libedit ; then + myconf+=( -e ) + fi + + local -x EXECSUFFIX="-gh" + local -x PREFIX="${EPREFIX}/usr" + ./configure.sh "${myconf[@]}" || die +} + +src_test() { + # This is to fix a bug encountered on Arch. It is to ensure we don't get + # segfaults on `make check` when the error messages change because the error + # messages are passed to printf(); they have format specifiers. With these + # env vars, the internal error messages are used, instead of the installed + # locales, which might be different since the new locale files are not + # installed yet. (It is impossible to use uninstalled locales because of the + # poor design of POSIX locales.) + env LANG=C LC_ALL=C emake check +} -- cgit v1.2.3