public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gmp/
Date: Tue, 21 Jun 2016 02:17:16 +0000 (UTC)	[thread overview]
Message-ID: <1466475293.388d873c8f7d3ac8b3f6124b9c1960e252e0f1f5.vapier@gentoo> (raw)

commit:     388d873c8f7d3ac8b3f6124b9c1960e252e0f1f5
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 21 02:14:11 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 02:14:53 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=388d873c

dev-libs/gmp: version bump to 6.1.1

 dev-libs/gmp/Manifest         |   2 +
 dev-libs/gmp/gmp-6.1.1.ebuild | 110 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 112 insertions(+)

diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest
index 4a33f25..ef9966e 100644
--- a/dev-libs/gmp/Manifest
+++ b/dev-libs/gmp/Manifest
@@ -2,6 +2,8 @@ DIST gmp-4.3.2.tar.bz2 1897483 SHA256 936162c0312886c21581002b79932829aa048cfaf9
 DIST gmp-5.1.3.tar.xz 1818812 SHA256 dee2eda37f4ff541f30019932db0c37f6f77a30ba3609234933b1818f9b07071 SHA512 44bbec2b2a6480d4c9a9a633cca4fe0de966c13bc08bdcd8b934d81e21f3dfacaecf273f149dc613d365277d280ecee43cffdafaec1bd1239a7ed903f8658b5b WHIRLPOOL 0c4365a129136655046a8e46c4e2487a981c03de97ec47899f752cbd6e61661c6068b19c547acce8436f7a9af91396545c9bf7aa9de73a0f29384bbfebef927f
 DIST gmp-6.0.0a.tar.xz 1904112 SHA256 9156d32edac6955bc53b0218f5f3763facb890b73a835d5e1b901dcf8eb8b764 SHA512 50368f4368b244b442438ce1768cf0f1166e490d1bafb8feda1ffc90fea3807e7328f30f3faa861799e4f5ff6e3113049ca3231b2f48571e4583fc3d60441816 WHIRLPOOL 81639a9d433ce9ccb26527af309c7c41437bb3463e5986cce3b35f81b527068a2304ec3287e660454f850dedab61463a077f49d4ea2b7ee87eec94b15730c394
 DIST gmp-6.1.0.tar.xz 1950316 SHA256 68dadacce515b0f8a54f510edf07c1b636492bcdb8e8d54c56eb216225d16989 SHA512 3647f07914e6c01b28d94f2d9783e50b0ca9f742a694f56d5759e79a057143ded578b71707ff909c6b0f5710862974606461608e73b33af3114b5338670d8630 WHIRLPOOL 54de621aa9d7c6896fe454e399b8716743d7ac41e312180f8211c961ec8eb358423e75992aa22ee6809ae57cb143783d271e5c0fca61714a556a12ee55882a05
+DIST gmp-6.1.1.tar.xz 1943164 SHA256 d36e9c05df488ad630fff17edb50051d6432357f9ce04e34a09b3d818825e831 SHA512 6ead5fdf15891e0c47b094351497a052cc691973f09c60a8322546418eb615bddb180a93fd7846b88b096b5644cb9d375eab2a4a07af64399f5159eccf3edee2 WHIRLPOOL 0a899c6d414e5d6e0b4d2e8fa45baa74adbcaee8960bbb6a8beb8a2e76baa85f07f8fc198e941ed386cffdf73bdf7ef44be7312c39b786a6584410e86bc887b5
 DIST gmp-man-5.1.3.pdf 1159009 SHA256 56b0e21329f46ef1d59c1f191afc82c59f8b72273a8131ed9b5000b7d0689c38 SHA512 ba6a4b0bd2b5ee4d284dd13e9c5531fcb9cfbbbc80f40df458d73c80a1aa250b750cfdd5039998e8b0c7259a8b4d24bd0c7b59a90108f9b680bee62e6948d59e WHIRLPOOL ade206d7e1f543ed028f51e247067eec4511bd0f2499103e1e6296fad2bf50c4f8e09cf7688cc5dd56ee572cf889508ac7918f85e5f91d29d088882f7734a4e0
 DIST gmp-man-6.0.0a.pdf 1187496 SHA256 b38ed1d760b20c01b734b65380ab667373fa48d8203f762a434cd3f326c67a38 SHA512 528972502d65d23b58c47a594a628e648f11cc027bd0894a39b8f892bb421ceabb7f35640a9eede21cea791f5f597ed4661a1f73444c56a6fb31fa6e362d96c2 WHIRLPOOL e6c4eb3a9adc82496a1872223ceb153e05c3aabd2323aeb38064739a5200eb8fc24fa3bb96f5fb1e632cc90a2576bd3966bae3c7a7a0c750ca56faeb30837eea
 DIST gmp-man-6.1.0.pdf 825716 SHA256 c3fea59f39497839b48010e612d0ef898c3efea9c0601a3b4d1597628c8ea40e SHA512 cec172766c6f5dce6b7306edbd542a63788df590391b8b2e6fb4e9d48947b2fbb47dd23acaf74eab6d35cb627bcb804e7ebb1d63aa5f043e4daa4558b698a5a0 WHIRLPOOL afe825c4dbbde11c2c013d6aa3e168d6e59743f647269487df2679d944b5aa748319e455211f2c20137f56e7177ea0543182a4f5bef8274b205b0a3c03254c81
+DIST gmp-man-6.1.1.pdf 825669 SHA256 f0c87df68a1d6f01c434253986541107a65f350b5388f2b1a1b405f7e06921f2 SHA512 18e6aca87f5ff8848f82456d86233f127328bfbe309e67902c8dd6f25228db344bd3e6cc3a55e48f2c3f19d0a57358bc4ada7cd623799b273030a5119fb1257b WHIRLPOOL ff3ce6f16ae7a1c7954c432d28a88f6abebae769be9a63ca85f481fb85dd3e0e5d691cb4d9b9aec1ad7e2387167eef8413277698dc2d7cbd3b941759979ef6d9

diff --git a/dev-libs/gmp/gmp-6.1.1.ebuild b/dev-libs/gmp/gmp-6.1.1.ebuild
new file mode 100644
index 0000000..4de8a1d
--- /dev/null
+++ b/dev-libs/gmp/gmp-6.1.1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+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 arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers"
+HOMEPAGE="http://gmplib.org/"
+SRC_URI="ftp://ftp.gmplib.org/pub/${MY_P}/${MY_P}.tar.xz
+	mirror://gnu/${PN}/${MY_P}.tar.xz
+	doc? ( http://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 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="+asm doc cxx pgo 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 )
+
+src_prepare() {
+	[[ -d ${FILESDIR}/${PV} ]] && EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch "${FILESDIR}"/${PV}
+
+	# note: we cannot run autotools here as gcc depends on this package
+	elibtoolize
+
+	epatch "${FILESDIR}"/${PN}-6.1.0-noexecstack-detect.patch
+
+	# 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
+	#!/bin/sh
+	exec env ABI="${GMPABI}" "$0.wrapped" "$@"
+	EOF
+	chmod a+rx configure
+}
+
+multilib_src_configure() {
+	# Because of our 32-bit userland, 1.0 is the only HPPA ABI that works
+	# http://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
+
+	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_compile() {
+	emake
+
+	if use pgo ; then
+		emake -j1 -C tune tuneup
+		ebegin "Trying to generate tuned data"
+		./tune/tuneup | tee gmp.mparam.h.new
+		if eend $(( 0 + ${PIPESTATUS[*]/#/+} )) ; then
+			mv gmp.mparam.h.new gmp-mparam.h || die
+			emake clean
+			emake
+		fi
+	fi
+}
+
+multilib_src_test() {
+	emake check
+}
+
+multilib_src_install() {
+	emake DESTDIR="${D}" install
+
+	# should be a standalone lib
+	rm -f "${D}"/usr/$(get_libdir)/libgmp.la
+	# this requires libgmp
+	local la="${D}/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 "${D}"/usr/share/doc/${PF}/
+}


             reply	other threads:[~2016-06-21  2:17 UTC|newest]

Thread overview: 125+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-21  2:17 Mike Frysinger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-18 14:28 [gentoo-commits] repo/gentoo:master commit in: dev-libs/gmp/ 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
2020-01-19 12:24 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
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=1466475293.388d873c8f7d3ac8b3f6124b9c1960e252e0f1f5.vapier@gentoo \
    --to=vapier@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