From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gmp/
Date: Sun, 19 Jan 2020 12:24:13 +0000 (UTC) [thread overview]
Message-ID: <1579436649.03886df38ac40655f6e7af5390ca8a9b4b947cc3.slyfox@gentoo> (raw)
commit: 03886df38ac40655f6e7af5390ca8a9b4b947cc3
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 19 12:23:19 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jan 19 12:24:09 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03886df3
dev-libs/gmp: bump up to 6.2.0
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-libs/gmp/Manifest | 2 +
dev-libs/gmp/gmp-6.2.0.ebuild | 104 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest
index 71954ddbaf3..201af36a7c9 100644
--- a/dev-libs/gmp/Manifest
+++ b/dev-libs/gmp/Manifest
@@ -1,3 +1,5 @@
DIST gmp-4.3.2.tar.bz2 1897483 BLAKE2B 0efecd60c7a585f94ec8cbee77541d409c8e3bdeabaca09f7971560fb0fd504ae8e405256913acbef1434146868885c98068ff59efec92c92fdb73b853cf9396 SHA512 2e0b0fd23e6f10742a5517981e5171c6e88b0a93c83da701b296f5c0861d72c19782daab589a7eac3f9032152a0fc7eff7f5362db8fccc4859564a9aa82329cf
DIST gmp-6.1.2.tar.xz 1946336 BLAKE2B 2a864e80799471037a71c10d871f9782c37fe3a0a1734872e90f14a874ecd6551099d67b2ebd07f82a43b0522249a6b46e79952db11a278f87ca8013198f7604 SHA512 9f098281c0593b76ee174b722936952671fab1dae353ce3ed436a31fe2bc9d542eca752353f6645b7077c1f395ab4fdd355c58e08e2a801368f1375690eee2c6
+DIST gmp-6.2.0.tar.xz 2012444 BLAKE2B 928141cf7b0b70f78b66e7bc52aecd39a5fc30e8865b6de6effb5b061ade05a5a51b4680ef2f36ea0d682b319d54ceb1c6c8ef93bde6c2eef2e8b826a34602c3 SHA512 a066f0456f0314a1359f553c49fc2587e484ff8ac390ff88537266a146ea373f97a1c0ba24608bf6756f4eab11c9056f103c8deb99e5b57741b4f7f0ec44b90c
DIST gmp-man-6.1.2.pdf 825720 BLAKE2B b96340da5f534353b140b361fc1ff74757168024e8039d97a0ed1f14d874ff5fbc50abae2ff3505adc51d72e4acf2882ae6ca6405ae37b594f7b248e1ca05247 SHA512 85de10b2c03f7381881c3e95aa7fc53d8e018115028496ffbb5a79ab4967106c69ed7e97a5e434e6bb39752498aade8c2caa7cf77a8942b7ffd9150368a0d9c3
+DIST gmp-man-6.2.0.pdf 828998 BLAKE2B 0bf56bf0a6f1aac0e1fb9a5a37552f846a2d4a01bfd3f5b5c531d42a9afc48c19552e08971785805f59e3f2a5fd89e3f986f841dca2e340813596cfd76574e61 SHA512 25d129efedd329cd2d4535557c6912191f587bfd8ef028618b4ca6199ec7bf7a9ae862e7f5e5b5448c86888452a39fc7bf95cf9c18311858dd1aa9ae1c716239
diff --git a/dev-libs/gmp/gmp-6.2.0.ebuild b/dev-libs/gmp/gmp-6.2.0.ebuild
new file mode 100644
index 00000000000..c5495e13aef
--- /dev/null
+++ b/dev-libs/gmp/gmp-6.2.0.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic eutils libtool multilib-minimal
+
+MY_PV=${PV/_p*}
+MY_PV=${MY_PV/_/-}
+MY_P=${PN}-${MY_PV}
+PLEVEL=${PV/*p}
+DESCRIPTION="Library for arbitrary-precision arithmetic on different type of numbers"
+HOMEPAGE="https://gmplib.org/"
+SRC_URI="ftp://ftp.gmplib.org/pub/${MY_P}/${MY_P}.tar.xz
+ mirror://gnu/${PN}/${MY_P}.tar.xz
+ doc? ( https://gmplib.org/${PN}-man-${MY_PV}.pdf )"
+
+LICENSE="|| ( LGPL-3+ GPL-2+ )"
+# The subslot reflects the C & C++ SONAMEs.
+SLOT="0/10.4"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="+asm doc cxx static-libs"
+
+DEPEND="sys-devel/m4
+ app-arch/xz-utils"
+RDEPEND=""
+
+S=${WORKDIR}/${MY_P%a}
+
+DOCS=( AUTHORS ChangeLog NEWS README doc/configuration doc/isa_abi_headache )
+HTML_DOCS=( doc )
+MULTILIB_WRAPPED_HEADERS=( /usr/include/gmp.h )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.1.0-noexecstack-detect.patch
+)
+
+src_prepare() {
+ default
+
+ # note: we cannot run autotools here as gcc depends on this package
+ elibtoolize
+
+ # https://bugs.gentoo.org/536894
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ eapply "${FILESDIR}"/${PN}-6.1.2-gcc-apple-4.0.1.patch
+ fi
+
+ # GMP uses the "ABI" env var during configure as does Gentoo (econf).
+ # So, to avoid patching the source constantly, wrap things up.
+ mv configure configure.wrapped || die
+ cat <<-\EOF > configure
+ #!/usr/bin/env sh
+ exec env ABI="${GMPABI}" "$0.wrapped" "$@"
+ EOF
+ # Patches to original configure might have lost the +x bit.
+ chmod a+rx configure{,.wrapped} || die
+}
+
+multilib_src_configure() {
+ # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
+ # https://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)
+ if [[ ${CHOST} == hppa2.0-* ]] ; then
+ GMPABI="1.0"
+ fi
+
+ # ABI mappings (needs all architectures supported)
+ case ${ABI} in
+ 32|x86) GMPABI=32;;
+ 64|amd64|n64) GMPABI=64;;
+ [onx]32) GMPABI=${ABI};;
+ esac
+ export GMPABI
+
+ #367719
+ if [[ ${CHOST} == *-mint* ]]; then
+ filter-flags -O?
+ fi
+
+ tc-export CC
+ ECONF_SOURCE="${S}" econf \
+ --localstatedir="${EPREFIX}"/var/state/gmp \
+ --enable-shared \
+ $(use_enable asm assembly) \
+ $(use_enable cxx) \
+ $(use_enable static-libs static)
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+
+ # should be a standalone lib
+ rm -f "${ED}"/usr/$(get_libdir)/libgmp.la
+ # this requires libgmp
+ local la="${ED}/usr/$(get_libdir)/libgmpxx.la"
+ use static-libs \
+ && sed -i 's:/[^ ]*/libgmp.la:-lgmp:' "${la}" \
+ || rm -f "${la}"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ use doc && cp "${DISTDIR}"/gmp-man-${MY_PV}.pdf "${ED}"/usr/share/doc/${PF}/
+}
next reply other threads:[~2020-01-19 12:24 UTC|newest]
Thread overview: 127+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-19 12:24 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-06 13:10 [gentoo-commits] repo/gentoo:master commit in: dev-libs/gmp/ Sam James
2024-12-06 13:06 Sam James
2024-11-18 14:28 Sam James
2023-12-15 3:25 Sam James
2023-09-24 15:44 Arthur Zamarin
2023-09-08 23:30 Andreas K. Hüttel
2023-09-07 23:27 Sam James
2023-09-07 23:03 Sam James
2023-09-07 23:03 Sam James
2023-09-07 20:53 Sam James
2023-09-07 20:53 Sam James
2023-09-07 20:53 Sam James
2023-09-07 20:53 Sam James
2023-07-30 17:01 Sam James
2023-07-30 13:49 Sam James
2023-05-08 7:36 Sam James
2023-05-07 23:54 Sam James
2023-01-28 19:07 Arthur Zamarin
2023-01-27 10:11 Jakov Smolić
2023-01-27 6:31 Sam James
2023-01-27 6:31 Sam James
2023-01-27 6:27 Sam James
2023-01-27 6:27 Sam James
2023-01-27 6:23 Sam James
2022-12-16 7:18 Sam James
2022-12-06 10:53 Sam James
2022-11-30 8:31 Sam James
2022-11-30 7:48 Sam James
2022-11-30 7:48 Sam James
2022-01-02 9:13 David Seifert
2021-12-22 0:42 Sam James
2021-12-17 12:00 Sam James
2021-12-17 12:00 Sam James
2021-12-17 9:20 Jakov Smolić
2021-12-17 9:20 Jakov Smolić
2021-12-17 7:55 Arthur Zamarin
2021-12-17 7:33 Arthur Zamarin
2021-12-17 7:33 Arthur Zamarin
2021-10-29 8:49 Sam James
2021-04-24 12:37 Sergei Trofimovich
2021-04-11 18:41 Sergei Trofimovich
2021-04-04 21:21 Sergei Trofimovich
2021-04-02 14:14 Sam James
2021-04-02 14:14 Sam James
2021-04-02 14:10 Sam James
2021-04-02 14:09 Sam James
2021-04-02 14:08 Sam James
2021-04-02 14:07 Sam James
2020-12-25 12:17 Sergei Trofimovich
2020-12-23 13:57 Sergei Trofimovich
2020-12-22 6:29 Sam James
2020-12-21 18:01 Sam James
2020-12-21 9:41 Sergei Trofimovich
2020-12-20 20:03 Sam James
2020-12-20 16:30 Thomas Deutschmann
2020-12-20 12:56 Sergei Trofimovich
2020-12-20 6:33 Sam James
2020-12-18 14:25 Sam James
2020-11-15 10:24 Sergei Trofimovich
2020-06-10 18:22 Sergei Trofimovich
2020-05-02 17:51 Sergei Trofimovich
2020-04-05 20:06 Mart Raudsepp
2020-04-01 11:17 Jeroen Roovers
2020-03-29 20:16 Sergei Trofimovich
2020-03-29 10:13 Sergei Trofimovich
2020-03-29 10:13 Sergei Trofimovich
2020-03-26 21:47 Sergei Trofimovich
2020-03-23 23:58 Sergei Trofimovich
2020-03-23 18:23 Sergei Trofimovich
2020-03-22 14:35 Agostino Sarubbo
2020-03-22 14:30 Agostino Sarubbo
2020-03-22 11:08 Agostino Sarubbo
2020-03-22 11:07 Agostino Sarubbo
2020-03-22 10:56 Agostino Sarubbo
2020-03-22 10:55 Agostino Sarubbo
2020-03-22 10:54 Agostino Sarubbo
2020-03-22 10:53 Agostino Sarubbo
2020-01-31 7:57 Sergei Trofimovich
2020-01-30 11:23 Sergei Trofimovich
2019-09-21 18:09 Matt Turner
2019-09-20 6:39 Sergei Trofimovich
2019-09-16 6:52 Agostino Sarubbo
2019-09-13 18:31 Mikle Kolyada
2019-09-13 7:45 Agostino Sarubbo
2019-09-10 7:10 Agostino Sarubbo
2019-09-10 7:00 Sergei Trofimovich
2019-09-10 6:56 Sergei Trofimovich
2019-09-10 6:51 Sergei Trofimovich
2019-09-09 20:56 Aaron Bauman
2019-09-09 17:23 Agostino Sarubbo
2019-05-04 14:53 Andreas K. Hüttel
2019-02-05 22:19 Sergei Trofimovich
2019-02-05 21:37 Sergei Trofimovich
2018-06-10 16:29 Sergei Trofimovich
2018-04-15 17:52 Sergei Trofimovich
2018-01-13 23:22 Mike Frysinger
2017-11-27 7:27 Sergei Trofimovich
2017-11-27 0:20 Thomas Deutschmann
2017-11-26 19:06 Sergei Trofimovich
2017-11-26 1:30 Matt Turner
2017-11-25 20:02 Matt Turner
2017-11-25 12:10 Sergei Trofimovich
2017-05-06 22:20 David Seifert
2017-01-29 16:08 Fabian Groffen
2016-12-20 17:21 Fabian Groffen
2016-12-20 14:18 Fabian Groffen
2016-12-19 18:28 Mike Frysinger
2016-12-08 16:47 Mike Frysinger
2016-11-14 14:50 Mike Frysinger
2016-07-03 19:21 Jeroen Roovers
2016-07-03 11:03 Jeroen Roovers
2016-06-30 14:47 Tobias Klausmann
2016-06-26 18:46 Markus Meier
2016-06-21 2:17 Mike Frysinger
2016-06-21 2:17 Mike Frysinger
2015-11-08 17:38 Mike Frysinger
2015-11-05 17:20 Mike Frysinger
2015-10-29 0:49 Mike Frysinger
2015-10-24 16:18 Mike Frysinger
2015-10-24 16:14 Mike Frysinger
2015-10-24 16:08 Mike Frysinger
2015-10-10 15:34 Mikle Kolyada
2015-10-04 10:14 Agostino Sarubbo
2015-10-04 9:42 Agostino Sarubbo
2015-10-03 18:24 Anthony G. Basile
2015-10-03 18:18 Jeroen Roovers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1579436649.03886df38ac40655f6e7af5390ca8a9b4b947cc3.slyfox@gentoo \
--to=slyfox@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox