1 |
commit: 9fc161e7752544c3bcdc8416073be199e3029d46 |
2 |
Author: Cyprien Nicolas (fulax) <cyprien <AT> nicolas <DOT> tf> |
3 |
AuthorDate: Sun Aug 11 09:03:45 2019 +0000 |
4 |
Commit: Cyprien Nicolas <c.nicolas+gentoo <AT> gmail <DOT> com> |
5 |
CommitDate: Sun Aug 11 09:04:20 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=9fc161e7 |
7 |
|
8 |
dev-lang/swig: Update live ebuild to eapi 7 & github |
9 |
|
10 |
dev-lang/swig/swig-9999.ebuild | 30 ++++++++++++++---------------- |
11 |
1 file changed, 14 insertions(+), 16 deletions(-) |
12 |
|
13 |
diff --git a/dev-lang/swig/swig-9999.ebuild b/dev-lang/swig/swig-9999.ebuild |
14 |
index f657170d..03320b2a 100644 |
15 |
--- a/dev-lang/swig/swig-9999.ebuild |
16 |
+++ b/dev-lang/swig/swig-9999.ebuild |
17 |
@@ -1,26 +1,17 @@ |
18 |
-# Copyright 1999-2012 Gentoo Foundation |
19 |
+# Copyright 1999-2019 Gentoo Authors |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
-# $Header: $ |
22 |
|
23 |
-EAPI=4 |
24 |
+EAPI=7 |
25 |
|
26 |
-inherit base |
27 |
- |
28 |
-if [[ ${PV} == "9999" ]] ; then |
29 |
- ESVN_REPO_URI="https://swig.svn.sourceforge.net/svnroot/swig/trunk" |
30 |
- ESVN_BOOTSTRAP="autogen.sh" |
31 |
- inherit subversion |
32 |
- KEYWORDS="" |
33 |
-else |
34 |
- SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
35 |
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
36 |
-fi |
37 |
+inherit git-r3 |
38 |
|
39 |
DESCRIPTION="Simplified Wrapper and Interface Generator" |
40 |
HOMEPAGE="http://www.swig.org/" |
41 |
+EGIT_REPO_URI="https://github.com/swig/swig.git" |
42 |
|
43 |
-LICENSE="GPL-3 as-is" |
44 |
+LICENSE="GPL-3+ BSD BSD-2" |
45 |
SLOT="0" |
46 |
+KEYWORDS="" |
47 |
IUSE="ccache doc pcre" |
48 |
RESTRICT="test" |
49 |
|
50 |
@@ -30,6 +21,11 @@ RDEPEND="${DEPEND}" |
51 |
|
52 |
DOCS=( ANNOUNCE CHANGES CHANGES.current README TODO ) |
53 |
|
54 |
+src_prepare() { |
55 |
+ default |
56 |
+ ./autogen.sh |
57 |
+} |
58 |
+ |
59 |
src_configure() { |
60 |
econf \ |
61 |
$(use_enable ccache) \ |
62 |
@@ -38,7 +34,9 @@ src_configure() { |
63 |
|
64 |
src_install() { |
65 |
default |
66 |
+ |
67 |
if use doc; then |
68 |
- dohtml -r Doc/{Devel,Manual} |
69 |
+ docinto html |
70 |
+ dodoc -r Doc/{Devel,Manual} |
71 |
fi |
72 |
} |