summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyprien Nicolas (fulax) <cyprien@nicolas.tf>2019-08-11 11:03:45 +0200
committerCyprien Nicolas (fulax) <cyprien@nicolas.tf>2019-08-11 11:04:20 +0200
commit9fc161e7752544c3bcdc8416073be199e3029d46 (patch)
tree1e03ae0ed2410f93be7ba57d6fff90f88729d7f0
parentsubversion.eclass: Re-add support for old EAPIs. (diff)
downloadlisp-9fc161e7752544c3bcdc8416073be199e3029d46.tar.gz
lisp-9fc161e7752544c3bcdc8416073be199e3029d46.tar.bz2
lisp-9fc161e7752544c3bcdc8416073be199e3029d46.zip
dev-lang/swig: Update live ebuild to eapi 7 & github
-rw-r--r--dev-lang/swig/Manifest2
-rw-r--r--dev-lang/swig/swig-9999.ebuild30
2 files changed, 15 insertions, 17 deletions
diff --git a/dev-lang/swig/Manifest b/dev-lang/swig/Manifest
index 05be4dc0..f4fae2f3 100644
--- a/dev-lang/swig/Manifest
+++ b/dev-lang/swig/Manifest
@@ -1,2 +1,2 @@
-EBUILD swig-9999.ebuild 1055 BLAKE2B 419da306f37bfe596f035af9e7c9205ffb55b2bf838ba0f2ee4f20dbe3c4ca10025b7e88ff61689de15aac14e6cbc592a622aaa8754e8ded08f78fc16f1bdb1c SHA512 abaf7ddf841d3dece64b5be99c2ca6c860f3e194fff0f2436ab0df8678162f52cb60f6faebfbab24d6e11041185cb2072cb70101a5b75b6a885caf848d7171c6
+EBUILD swig-9999.ebuild 706 BLAKE2B 1ec8243dec5296b917c987e35ebf3cee00fb46e9410ba46b2632c7c62bfef6e0f1138bc15483c4d09d4dcff4a613278b4db3928f80c1f0cb26ef9c245ebc531f SHA512 b55ac99a245c0f3bd899e6dc48798652304639f5695365c733c2081e838e3b89dcf68969fafc59e345b01ec488c7d1d4045dbf992a637c1423cc34ef5e69be06
MISC metadata.xml 956 BLAKE2B c65172142bd060d25c448b1a6541cc20a149f8d9f7f82899441635246f16c3b98daacacf6d5f2ee2c4fc1c243000c119ed303e47b5c3691ace62489f139d9d75 SHA512 544259ad175329fc0f80370241981be2cfd6c26a956036910e17e06385e1b1b05915e67bab06abbdbaf37cafdd91190b3ba4f9499fc2bd7bd94015b3c3807083
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
}