summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2020-04-06 21:32:44 -0500
committerMatthias Maier <tamiko@gentoo.org>2020-04-06 21:55:03 -0500
commit808786866467f4aa947bcfbb9d41304b920dc97f (patch)
tree9bd1adedc166135a67460683640c9c27f20fb1b5 /sci-libs/adolc/adolc-9999.ebuild
parentdev-lua/luasystem: version bump to 0.2.1_p0 (diff)
downloadgentoo-808786866467f4aa947bcfbb9d41304b920dc97f.tar.gz
gentoo-808786866467f4aa947bcfbb9d41304b920dc97f.tar.bz2
gentoo-808786866467f4aa947bcfbb9d41304b920dc97f.zip
sci-libs/adolc: live ebuild: update repository, EAPI 7
Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-libs/adolc/adolc-9999.ebuild')
-rw-r--r--sci-libs/adolc/adolc-9999.ebuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/sci-libs/adolc/adolc-9999.ebuild b/sci-libs/adolc/adolc-9999.ebuild
index bae60dcf2ee8..dc6d88c74f35 100644
--- a/sci-libs/adolc/adolc-9999.ebuild
+++ b/sci-libs/adolc/adolc-9999.ebuild
@@ -1,24 +1,22 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit autotools toolchain-funcs eutils git-r3 ltprune
-
-MYPN=ADOL-C
+inherit autotools toolchain-funcs eutils
DESCRIPTION="Automatic differentiation system for C/C++"
HOMEPAGE="https://projects.coin-or.org/ADOL-C/"
if [[ ${PV} = *9999* ]]; then
inherit git-r3
- EGIT_REPO_URI="https://gitlab.com/adol-c/adol-c.git"
+ EGIT_REPO_URI="https://github.com/coin-or/ADOL-C"
SRC_URI=""
KEYWORDS=""
else
- SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz"
+ SRC_URI="https://github.com/coin-or/ADOL-C/archive/releases/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
- S="${WORKDIR}/${MYPN}-${PV}"
+ S="${WORKDIR}/ADOL-C-releases-${PV}"
fi
LICENSE="|| ( EPL-1.0 GPL-2 )"
@@ -59,5 +57,5 @@ src_test() {
src_install() {
default
- use static-libs || prune_libtool_files --all
+ use static-libs || find "${D}" -name '*.la' -type f -delete || die
}