Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/polylib/, dev-libs/polylib/files/
Date: Sun, 27 May 2018 21:59:43
Message-Id: 1527458373.3a9ddc002c62c45e4b1d3945c6701fe355e9540d.johu@gentoo
1 commit: 3a9ddc002c62c45e4b1d3945c6701fe355e9540d
2 Author: Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
3 AuthorDate: Sun May 20 22:54:23 2018 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Sun May 27 21:59:33 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a9ddc00
7
8 dev-libs/polylib: git-2->git-r3, EAPI 0->6
9
10 Also dropped unneeded patch (upstream code has this header included
11 without need for the patch any longer.) eutils no longer required.
12
13 Package-Manager: Portage-2.3.38, Repoman-2.3.9
14 Signed-off-by: Johannes Huber <johu <AT> gentoo.org>
15
16 dev-libs/polylib/files/polylib-9999-headers.patch | 10 ----------
17 dev-libs/polylib/polylib-9999.ebuild | 16 +++++++---------
18 2 files changed, 7 insertions(+), 19 deletions(-)
19
20 diff --git a/dev-libs/polylib/files/polylib-9999-headers.patch b/dev-libs/polylib/files/polylib-9999-headers.patch
21 deleted file mode 100644
22 index 69b7b271a92..00000000000
23 --- a/dev-libs/polylib/files/polylib-9999-headers.patch
24 +++ /dev/null
25 @@ -1,10 +0,0 @@
26 ---- a/applications/ehrhart_union.c
27 -+++ b/applications/ehrhart_union.c
28 -@@ -1,6 +1,7 @@
29 - #include <stdio.h>
30 - #include <string.h>
31 - #include <stdlib.h>
32 -+#include <unistd.h>
33 -
34 - #include <polylib/polylib.h>
35 -
36
37 diff --git a/dev-libs/polylib/polylib-9999.ebuild b/dev-libs/polylib/polylib-9999.ebuild
38 index 63e1058b6a8..030fb2d7195 100644
39 --- a/dev-libs/polylib/polylib-9999.ebuild
40 +++ b/dev-libs/polylib/polylib-9999.ebuild
41 @@ -1,12 +1,12 @@
42 # Copyright 1999-2018 Gentoo Foundation
43 # Distributed under the terms of the GNU General Public License v2
44
45 -EAPI=0
46 +EAPI=6
47 +
48 +inherit autotools git-r3
49
50 EGIT_REPO_URI="git://repo.or.cz/${PN}.git
51 http://repo.or.cz/r/${PN}.git"
52 -EGIT_BOOTSTRAP="eautoreconf && cd cln && eautoreconf"
53 -inherit git-2 autotools eutils
54
55 DESCRIPTION="ppl port of cloog"
56 HOMEPAGE="http://icps.u-strasbg.fr/polylib/"
57 @@ -16,15 +16,13 @@ SLOT="0"
58 KEYWORDS=""
59 IUSE=""
60
61 -src_unpack() {
62 - git-2_src_unpack
63 - cd "${S}"
64 - epatch "${FILESDIR}"/${P}-headers.patch
65 - # strip LDFLAGS from pkgconfig .pc file
66 +src_prepare() {
67 + default
68 + eautoreconf
69 sed -i '/Libs:/s:@LDFLAGS@::' configure
70 }
71
72 src_install() {
73 - emake DESTDIR="${D}" install || die
74 + default
75 dodoc doc/Changes
76 }