aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS├ębastien Fabbro <bicatali@gentoo.org>2016-03-03 00:19:20 +0000
committerS├ębastien Fabbro <bicatali@gentoo.org>2016-03-07 21:04:06 +0000
commit2c96e9024b8b1d8ada042bf78f7344bd9b6d77aa (patch)
treea0a20e9cb9e89c4463c143d4ca8a5ba584be8b00 /sci-astronomy
parentsci-astronomy/sextractor: modified to work with EAPI6 and new repo (diff)
downloadsci-2c96e9024b8b1d8ada042bf78f7344bd9b6d77aa.tar.gz
sci-2c96e9024b8b1d8ada042bf78f7344bd9b6d77aa.tar.bz2
sci-2c96e9024b8b1d8ada042bf78f7344bd9b6d77aa.zip
sci-astronomy/weightwatcher: modified to work with EAPI6 and new repo
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/weightwatcher/Manifest1
-rw-r--r--sci-astronomy/weightwatcher/weightwatcher-1.12.ebuild35
-rw-r--r--sci-astronomy/weightwatcher/weightwatcher-9999.ebuild28
3 files changed, 13 insertions, 51 deletions
diff --git a/sci-astronomy/weightwatcher/Manifest b/sci-astronomy/weightwatcher/Manifest
deleted file mode 100644
index 7e5aadecc..000000000
--- a/sci-astronomy/weightwatcher/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST weightwatcher-1.12.tar.gz 460583 SHA256 5730a923d7a4544fc66f21ad7b1f105108a5dca4038b74b5e4ecdd9c1a6a58fd SHA512 392ca6442de96e6c35447b7b34c67b22e7793831337aaf0f06e45d40e63f8c5e9605649fe39a67a5baf9eadcb79fa9f5d998fcb9504f85606f75071d672b0ada WHIRLPOOL fc5bbdfb3caf487941b173bb6e8725c922592a8cff5af2a482839df0d334fc34470536deb71c50deaee85b06521ef6df07b24dbee2456779813d75937fe7fd44
diff --git a/sci-astronomy/weightwatcher/weightwatcher-1.12.ebuild b/sci-astronomy/weightwatcher/weightwatcher-1.12.ebuild
deleted file mode 100644
index 9f90ed11f..000000000
--- a/sci-astronomy/weightwatcher/weightwatcher-1.12.ebuild
+++ /dev/null
@@ -1,35 +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=""
-else
- SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-
-#AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_IN_SOURCE_BUILD=1
-
-inherit autotools-utils
-
-DESCRIPTION="Combine weight maps and polygon for astronomical images weighting"
-HOMEPAGE="http://www.astromatic.net/software/weightwatcher/"
-
-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/weightwatcher/weightwatcher-9999.ebuild b/sci-astronomy/weightwatcher/weightwatcher-9999.ebuild
index 9f90ed11f..ec8071039 100644
--- a/sci-astronomy/weightwatcher/weightwatcher-9999.ebuild
+++ b/sci-astronomy/weightwatcher/weightwatcher-9999.ebuild
@@ -1,23 +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=""
-else
- SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
+inherit subversion
-#AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_IN_SOURCE_BUILD=1
+ESVN_REPO_URI="https://astromatic.net/pubsvn/software/${PN}/trunk"
+ESVN_OPTIONS="--trust-server-cert-failures=unknown-ca"
-inherit autotools-utils
+SRC_URI=""
+KEYWORDS=""
DESCRIPTION="Combine weight maps and polygon for astronomical images weighting"
HOMEPAGE="http://www.astromatic.net/software/weightwatcher/"
@@ -29,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/*
}