commit: 9fc161e7752544c3bcdc8416073be199e3029d46
Author: Cyprien Nicolas (fulax) <cyprien <AT> nicolas <DOT> tf>
AuthorDate: Sun Aug 11 09:03:45 2019 +0000
Commit: Cyprien Nicolas <c.nicolas+gentoo <AT> gmail <DOT> com>
CommitDate: Sun Aug 11 09:04:20 2019 +0000
URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=9fc161e7
dev-lang/swig: Update live ebuild to eapi 7 & github
dev-lang/swig/swig-9999.ebuild | 30 ++++++++++++++----------------
1 file changed, 14 insertions(+), 16 deletions(-)
diff --git a/dev-lang/swig/swig-9999.ebuild b/dev-lang/swig/swig-9999.ebuild
index f657170d..03320b2a 100644
--- a/dev-lang/swig/swig-9999.ebuild
+++ b/dev-lang/swig/swig-9999.ebuild
@@ -1,26 +1,17 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-EAPI=4
+EAPI=7
-inherit base
-
-if [[ ${PV} == "9999" ]] ; then
- ESVN_REPO_URI="https://swig.svn.sourceforge.net/svnroot/swig/trunk"
- ESVN_BOOTSTRAP="autogen.sh"
- inherit subversion
- KEYWORDS=""
-else
- SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
- 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"
-fi
+inherit git-r3
DESCRIPTION="Simplified Wrapper and Interface Generator"
HOMEPAGE="http://www.swig.org/"
+EGIT_REPO_URI="https://github.com/swig/swig.git"
-LICENSE="GPL-3 as-is"
+LICENSE="GPL-3+ BSD BSD-2"
SLOT="0"
+KEYWORDS=""
IUSE="ccache doc pcre"
RESTRICT="test"
@@ -30,6 +21,11 @@ RDEPEND="${DEPEND}"
DOCS=( ANNOUNCE CHANGES CHANGES.current README TODO )
+src_prepare() {
+ default
+ ./autogen.sh
+}
+
src_configure() {
econf \
$(use_enable ccache) \
@@ -38,7 +34,9 @@ src_configure() {
src_install() {
default
+
if use doc; then
- dohtml -r Doc/{Devel,Manual}
+ docinto html
+ dodoc -r Doc/{Devel,Manual}
fi
}