summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2018-02-12 20:52:33 +0000
committerJames Le Cuirot <chewi@gentoo.org>2018-02-12 22:18:41 +0000
commit0b4d194a777cd3b02eaf835c37713904bfe2bd19 (patch)
treee7e766f9aee7b894a46451755cf82b05b2b7672e /eclass
parentapp-admin/syslog-ng: x86 stable (bug #646778) (diff)
downloadgentoo-0b4d194a777cd3b02eaf835c37713904bfe2bd19.tar.gz
gentoo-0b4d194a777cd3b02eaf835c37713904bfe2bd19.tar.bz2
gentoo-0b4d194a777cd3b02eaf835c37713904bfe2bd19.zip
ant-tasks.eclass: Update upstream download URLs
We haven't provided 1.8 for ages and 1.9.2 has now moved to the archive location. Even if we bump to 1.9.10 before 1.10, all the versions are present in the archive location anyway.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ant-tasks.eclass8
1 files changed, 3 insertions, 5 deletions
diff --git a/eclass/ant-tasks.eclass b/eclass/ant-tasks.eclass
index 8b3ee0bcebd2..cebd8f69d5db 100644
--- a/eclass/ant-tasks.eclass
+++ b/eclass/ant-tasks.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# @ECLASS: ant-tasks.eclass
@@ -69,15 +69,13 @@ elif [[ ${PV} == *_rc* ]]; then
else
# default for final releases
MY_PV=${PV}
- UPSTREAM_PREFIX="mirror://apache/ant/source"
case ${PV} in
1.9.*)
+ UPSTREAM_PREFIX="https://archive.apache.org/dist/ant/source"
GENTOO_PREFIX="https://dev.gentoo.org/~tomwij/files/dist"
;;
- 1.8.4)
- GENTOO_PREFIX="https://dev.gentoo.org/~sera/distfiles"
- ;;
*)
+ UPSTREAM_PREFIX="mirror://apache/ant/source"
GENTOO_PREFIX="https://dev.gentoo.org/~caster/distfiles"
;;
esac