1 |
commit: bf4d3d3ff9bceda4ecc2f4a9801fd9ca628bde85 |
2 |
Author: Harri Nieminen <moikkis <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Dec 1 17:51:55 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 2 13:02:47 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf4d3d3f |
7 |
|
8 |
dev-libs/ppl: Remove old EAPI3 |
9 |
|
10 |
Package-Manager: Portage-2.3.16, Repoman-2.3.6 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/6384 |
12 |
|
13 |
dev-libs/ppl/Manifest | 1 - |
14 |
dev-libs/ppl/files/ppl-fix-gmp-5.1.0.patch | 41 --------------- |
15 |
dev-libs/ppl/ppl-0.12.1-r1.ebuild | 83 ------------------------------ |
16 |
3 files changed, 125 deletions(-) |
17 |
|
18 |
diff --git a/dev-libs/ppl/Manifest b/dev-libs/ppl/Manifest |
19 |
index c5bffa1d1e0..336be24d378 100644 |
20 |
--- a/dev-libs/ppl/Manifest |
21 |
+++ b/dev-libs/ppl/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
-DIST ppl-0.12.1.tar.bz2 14938132 SHA256 4022e54772f81c8ef66d3dd4c3d8dca48f72f9af614d8a36d05fbf5917f2b198 SHA512 e8a4c92271f608e79c5828c71ff2d36c681dd4bd48b5d31353b2a27bcf827a5cb8f0dcdfee3e13cf9f202f35a7693ddf9880dc4d5b8445ec558cef1319f43925 WHIRLPOOL 6616253d5c02c84294ec63e0601fa7bc65772fc72e6cea68f1300fa2b46f551311589813268d8e869cb59295d8fdc5be17a5b3d0cbb7b62fe0bc06a8bf9e1f39 |
24 |
DIST ppl-1.1.tar.xz 14734820 SHA256 c48ccd74664ec2cd3cdb5e37f287974ccb062f0384dc658d4053c424b19ad178 SHA512 ae0503fb3eac494fa3edf5d5c9ec61e2419e6e2fa57d30323f7d0360ff080b033686410c7462f5b2ff5514803451cb91e9c0fc14cf953485c5f5fd664448cc27 WHIRLPOOL d1b85fe9b44195f7fdc0573b32291a70183ce9de5e29fbb502a5d181a6e0ae11998dd5cfb52ec7ce3e1aed36433a823484488bfaf93362ac3b45a7556a2e9b6a |
25 |
DIST ppl-1.2.tar.xz 14136236 SHA256 691f0d5a4fb0e206f4e132fc9132c71d6e33cdda168470d40ac3cf62340e9a60 SHA512 b509ed85fa6aedd40119bd4c980b17f33072c56c2acd923da3445b6bc80d48051cfa4c04cce96f6974711f5279c24b31cb3869f87b2eb6a2a1b30a058c809350 WHIRLPOOL cf2d5895d7d740c650707840caadd45d785411875b1c55db141928a288a1475f50d4f1e6ac829062ab021a920e9581be7822679e9cf2ea11dc64ac70cfa2e5dd |
26 |
|
27 |
diff --git a/dev-libs/ppl/files/ppl-fix-gmp-5.1.0.patch b/dev-libs/ppl/files/ppl-fix-gmp-5.1.0.patch |
28 |
deleted file mode 100644 |
29 |
index ff2423e93c7..00000000000 |
30 |
--- a/dev-libs/ppl/files/ppl-fix-gmp-5.1.0.patch |
31 |
+++ /dev/null |
32 |
@@ -1,41 +0,0 @@ |
33 |
---- src/p_std_bits.cc.org 2012-12-30 00:37:03.033948083 +0100 |
34 |
-+++ src/mp_std_bits.cc 2012-12-30 00:44:12.893019313 +0100 |
35 |
-@@ -25,6 +25,9 @@ |
36 |
- #include "ppl-config.h" |
37 |
- #include "mp_std_bits.defs.hh" |
38 |
- |
39 |
-+#if __GNU_MP_VERSION < 5 \ |
40 |
-+ || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1) |
41 |
-+ |
42 |
- const bool std::numeric_limits<mpz_class>::is_specialized; |
43 |
- const int std::numeric_limits<mpz_class>::digits; |
44 |
- const int std::numeric_limits<mpz_class>::digits10; |
45 |
-@@ -70,3 +73,6 @@ |
46 |
- const bool std::numeric_limits<mpq_class>::traps; |
47 |
- const bool std::numeric_limits<mpq_class>::tininess_before; |
48 |
- const std::float_round_style std::numeric_limits<mpq_class>::round_style; |
49 |
-+ |
50 |
-+#endif // __GNU_MP_VERSION < 5 |
51 |
-+ // || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1) |
52 |
---- src/mp_std_bits.defs.hh.org 2012-12-30 00:37:03.037948187 +0100 |
53 |
-+++ src/mp_std_bits.defs.hh 2012-12-30 00:42:32.002424189 +0100 |
54 |
-@@ -38,6 +38,9 @@ |
55 |
- #endif // defined(PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS) |
56 |
- void swap(mpq_class& x, mpq_class& y); |
57 |
- |
58 |
-+#if __GNU_MP_VERSION < 5 \ |
59 |
-+ || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1) |
60 |
-+ |
61 |
- namespace std { |
62 |
- |
63 |
- #ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS |
64 |
-@@ -164,6 +167,9 @@ |
65 |
- |
66 |
- } // namespace std |
67 |
- |
68 |
-+#endif // __GNU_MP_VERSION < 5 |
69 |
-+ // || (__GNU_MP_VERSION == 5 && __GNU_MP_VERSION_MINOR < 1) |
70 |
-+ |
71 |
- #include "mp_std_bits.inlines.hh" |
72 |
- |
73 |
- #endif // !defined(PPL_mp_std_bits_defs_hh) |
74 |
|
75 |
diff --git a/dev-libs/ppl/ppl-0.12.1-r1.ebuild b/dev-libs/ppl/ppl-0.12.1-r1.ebuild |
76 |
deleted file mode 100644 |
77 |
index 630398ef0c2..00000000000 |
78 |
--- a/dev-libs/ppl/ppl-0.12.1-r1.ebuild |
79 |
+++ /dev/null |
80 |
@@ -1,83 +0,0 @@ |
81 |
-# Copyright 1999-2017 Gentoo Foundation |
82 |
-# Distributed under the terms of the GNU General Public License v2 |
83 |
- |
84 |
-EAPI="3" |
85 |
- |
86 |
-inherit eutils |
87 |
- |
88 |
-DESCRIPTION="The Parma Polyhedra Library for numerical analysis of complex systems" |
89 |
-HOMEPAGE="http://bugseng.com/products/ppl" |
90 |
-SRC_URI="http://bugseng.com/products/ppl/download/ftp/releases/${PV}/${P}.tar.bz2" |
91 |
- |
92 |
-LICENSE="GPL-3" |
93 |
-SLOT="0" |
94 |
-KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~sparc-solaris" |
95 |
-IUSE="doc lpsol pch static-libs test" |
96 |
- |
97 |
-RDEPEND=">=dev-libs/gmp-4.1.3[cxx] |
98 |
- lpsol? ( <=sci-mathematics/glpk-4.48 ) |
99 |
- !<dev-libs/cloog-ppl-0.15.10" |
100 |
-DEPEND="${RDEPEND} |
101 |
- sys-devel/m4" |
102 |
- |
103 |
-pkg_setup() { |
104 |
- if use test; then |
105 |
- ewarn "The PPL testsuite will be run." |
106 |
- ewarn "Note that this can take several hours to complete on a fast machine." |
107 |
- fi |
108 |
-} |
109 |
- |
110 |
-src_prepare() { |
111 |
- epatch "${FILESDIR}/ppl-fix-gmp-5.1.0.patch" || die "Failed to patch" |
112 |
-} |
113 |
- |
114 |
-src_configure() { |
115 |
- econf \ |
116 |
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
117 |
- --disable-debugging \ |
118 |
- --disable-optimization \ |
119 |
- $(use_enable doc documentation) \ |
120 |
- $(use_enable lpsol ppl_lpsol) \ |
121 |
- $(use_enable pch) \ |
122 |
- $(use_enable static-libs static) \ |
123 |
- --enable-interfaces="c cxx" \ |
124 |
- $(use test && echo --enable-check=quick) |
125 |
-} |
126 |
- |
127 |
-src_test() { |
128 |
- # default src_test runs with -j1, overriding it here saves about |
129 |
- # 30 minutes and is recommended by upstream |
130 |
- if emake -j1 check -n &> /dev/null; then |
131 |
- emake check || die "tests failed" |
132 |
- fi |
133 |
-} |
134 |
- |
135 |
-src_install() { |
136 |
- emake DESTDIR="${D}" install || die |
137 |
- use static-libs || rm -f "${D}"/usr/lib*/libppl*.la |
138 |
- |
139 |
- local docsdir="${ED}/usr/share/doc/${PF}" |
140 |
- rm "${docsdir}"/gpl* "${docsdir}"/fdl* || die |
141 |
- |
142 |
- if ! use doc; then |
143 |
- rm -r "${docsdir}"/*-html/ || die |
144 |
- fi |
145 |
- |
146 |
- dodoc NEWS README* STANDARDS TODO |
147 |
-} |
148 |
- |
149 |
-pkg_postinst() { |
150 |
- echo |
151 |
- ewarn "After an upgrade of PPL it is important that you rebuild" |
152 |
- ewarn "dev-libs/cloog-ppl." |
153 |
- ewarn |
154 |
- ewarn "If you use gcc-config to switch to an older compiler version than" |
155 |
- ewarn "the one PPL was built with, PPL must be rebuilt with that version." |
156 |
- ewarn |
157 |
- ewarn "In both cases failure to do this will get you this error when" |
158 |
- ewarn "graphite flags are used:" |
159 |
- ewarn |
160 |
- ewarn " sorry, unimplemented: Graphite loop optimizations cannot be used" |
161 |
- ewarn |
162 |
- echo |
163 |
-} |