commit:     9ebb2b0df9a1b782b69c1561fcdb0630772c417d
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  3 00:45:35 2016 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Mar  7 21:04:08 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=9ebb2b0d

sci-astronomy/missfits: modified to work with EAPI6 and new repo

 sci-astronomy/missfits/missfits-2.8.0.ebuild | 33 ----------------------------
 sci-astronomy/missfits/missfits-9999.ebuild  | 28 +++++++++++------------
 2 files changed, 14 insertions(+), 47 deletions(-)

diff --git a/sci-astronomy/missfits/missfits-2.8.0.ebuild 
b/sci-astronomy/missfits/missfits-2.8.0.ebuild
deleted file mode 100644
index 19b75a8..0000000
--- a/sci-astronomy/missfits/missfits-2.8.0.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-if [[ ${PV} == "9999" ]] ; then
-       inherit subversion
-       ESVN_REPO_URI="https://astromatic.net/pubsvn/software/${PN}/trunk";
-       SRC_URI=""
-       KEYWORDS=""
-       AUTOTOOLS_AUTORECONF=1
-else
-       SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz";
-       KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-
-inherit autotools-utils
-
-DESCRIPTION="Performs basic maintenance and packaging tasks on FITS files"
-HOMEPAGE="http://www.astromatic.net/software/missfits/";
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="doc"
-
-RDEPEND=""
-DEPEND="${RDEPEND}"
-
-src_install () {
-       autotools-utils_src_install
-       use doc && dodoc doc/*
-}

diff --git a/sci-astronomy/missfits/missfits-9999.ebuild 
b/sci-astronomy/missfits/missfits-9999.ebuild
index 19b75a8..a64aa1f 100644
--- a/sci-astronomy/missfits/missfits-9999.ebuild
+++ b/sci-astronomy/missfits/missfits-9999.ebuild
@@ -1,21 +1,16 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-if [[ ${PV} == "9999" ]] ; then
-       inherit subversion
-       ESVN_REPO_URI="https://astromatic.net/pubsvn/software/${PN}/trunk";
-       SRC_URI=""
-       KEYWORDS=""
-       AUTOTOOLS_AUTORECONF=1
-else
-       SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz";
-       KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
+inherit subversion
 
-inherit autotools-utils
+ESVN_REPO_URI="https://astromatic.net/pubsvn/software/${PN}/trunk";
+ESVN_OPTIONS="--trust-server-cert-failures=unknown-ca"
+
+SRC_URI=""
+KEYWORDS=""
 
 DESCRIPTION="Performs basic maintenance and packaging tasks on FITS files"
 HOMEPAGE="http://www.astromatic.net/software/missfits/";
@@ -27,7 +22,12 @@ IUSE="doc"
 RDEPEND=""
 DEPEND="${RDEPEND}"
 
+src_prepare() {
+       default
+       subversion_src_prepare
+}
+
 src_install () {
-       autotools-utils_src_install
+       default
        use doc && dodoc doc/*
 }

Reply via email to