commit:     5ea6d06a9c5ad52c156a27bc7f84ec5bcbe193d3
Author:     Andreas K. Huettel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 12 21:22:08 2020 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Mar 12 21:22:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ea6d06a

sci-geosciences/gpsbabel: Start preparing for 1.6.0

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andreas K. Huettel <dilfridge <AT> gentoo.org>

 ...pdate_check.patch => gpsbabel-1.6.0-disable_update_check.patch} | 0
 sci-geosciences/gpsbabel/gpsbabel-9999.ebuild                      | 7 +++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git 
a/sci-geosciences/gpsbabel/files/gpsbabel-9999-disable_update_check.patch 
b/sci-geosciences/gpsbabel/files/gpsbabel-1.6.0-disable_update_check.patch
similarity index 100%
rename from 
sci-geosciences/gpsbabel/files/gpsbabel-9999-disable_update_check.patch
rename to 
sci-geosciences/gpsbabel/files/gpsbabel-1.6.0-disable_update_check.patch

diff --git a/sci-geosciences/gpsbabel/gpsbabel-9999.ebuild 
b/sci-geosciences/gpsbabel/gpsbabel-9999.ebuild
index 7a58d881c90..e7b3f8abc91 100644
--- a/sci-geosciences/gpsbabel/gpsbabel-9999.ebuild
+++ b/sci-geosciences/gpsbabel/gpsbabel-9999.ebuild
@@ -5,6 +5,8 @@ EAPI=6
 
 inherit autotools eutils qmake-utils
 
+MY_PV=${PV//./_}
+
 DESCRIPTION="GPS waypoints, tracks and routes converter"
 HOMEPAGE="https://www.gpsbabel.org/ https://github.com/gpsbabel/gpsbabel";
 LICENSE="GPL-2"
@@ -15,10 +17,11 @@ if [[ ${PV} == 9999 ]] ; then
        SRC_URI="doc? ( https://www.gpsbabel.org/style3.css -> 
gpsbabel.org-style3.css )"
 else
        SRC_URI="
-               https://dev.gentoo.org/~asturm/${P}.tar.gz
+               
https://github.com/gpsbabel/gpsbabel/archive/gpsbabel_${MY_PV}.tar.gz
                doc? ( https://www.gpsbabel.org/style3.css -> 
gpsbabel.org-style3.css )
        "
        KEYWORDS="~amd64 ~ppc ~x86"
+       S="${WORKDIR}/gpsbabel-gpsbabel_${MY_PV}"
 fi
 
 SLOT="0"
@@ -52,7 +55,7 @@ DOCS=( AUTHORS README.{contrib,igc,mapconverter,md,xmapwpt} )
 
 PATCHES=(
        "${FILESDIR}"/${PN}-1.5.4-disable_statistic_uploading.patch
-       "${FILESDIR}"/${PN}-9999-disable_update_check.patch
+       "${FILESDIR}"/${PN}-1.6.0-disable_update_check.patch
        "${FILESDIR}"/${PN}-1.5.4-disable_version_check.patch
        "${FILESDIR}"/${PN}-9999-use_system_shapelib.patch
        "${FILESDIR}"/${PN}-9999-xmldoc.patch

Reply via email to