public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gmapcatcher/files/, sci-geosciences/gmapcatcher/
@ 2016-11-27  6:01 Göktürk Yüksek
  0 siblings, 0 replies; 2+ messages in thread
From: Göktürk Yüksek @ 2016-11-27  6:01 UTC (permalink / raw
  To: gentoo-commits

commit:     3cebd7c78ff2ad0268b5595d9be2909f9cf2b0e9
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 27 02:28:14 2016 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Sun Nov 27 05:58:12 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cebd7c7

sci-geosciences/gmapcatcher: migrate away from google code #544092

Package-Manager: portage-2.3.0

 sci-geosciences/gmapcatcher/Manifest                 |  2 +-
 .../files/gmapcatcher-0.8.0.4-setuppy-docs.patch     | 14 +++++++++-----
 .../gmapcatcher/gmapcatcher-0.8.0.4.ebuild           | 20 +++++++++++++++-----
 3 files changed, 25 insertions(+), 11 deletions(-)

diff --git a/sci-geosciences/gmapcatcher/Manifest b/sci-geosciences/gmapcatcher/Manifest
index d55466b..49785db 100644
--- a/sci-geosciences/gmapcatcher/Manifest
+++ b/sci-geosciences/gmapcatcher/Manifest
@@ -1 +1 @@
-DIST mapcatcher_0.8.0.4.tar.gz 441925 SHA256 9cc969e9c4fb7fe42e7afb33b5bf60a868c626e2ec957d3003daeecdaa1dae76 SHA512 9612df238fe2c723d4668a4587fbc2028b4c83e2d6372de4f03bf696a3900114a1b08352910c3ab2dc304eb694d2a5469441fbb35d9325750298c0cb02e40734 WHIRLPOOL 9bf330218c136a6d196ff7620e5983640114ecbbf98a611a1c19abe7faf93b1ee13fea0f09e7298f41c65ed08d79acab6e5aa95d11419a9c46e0524296a34839
+DIST gmapcatcher-0.8.0.4.tar.gz 3782763 SHA256 c08a8116c9be323801bb897474d0b312157d1e523658500ae85898a68abe72b1 SHA512 9ff11ca2c61f01090e7cd616c5fe0c4faf7fb1eb11962071601d87a7f84b309b25de36c82d713c1d08ffdb0f806c8fcccfc877ac7fc5eadf3d49625ce360d719 WHIRLPOOL 045c84b78421b9db48b697682b7b8b863480286a214cc81f72f2cffcb97c652c827d940a22c333c929a30eb88ec96fc806315c6a53290df56471de23c9950928

diff --git a/sci-geosciences/gmapcatcher/files/gmapcatcher-0.8.0.4-setuppy-docs.patch b/sci-geosciences/gmapcatcher/files/gmapcatcher-0.8.0.4-setuppy-docs.patch
index 35efed0..77383f1 100644
--- a/sci-geosciences/gmapcatcher/files/gmapcatcher-0.8.0.4-setuppy-docs.patch
+++ b/sci-geosciences/gmapcatcher/files/gmapcatcher-0.8.0.4-setuppy-docs.patch
@@ -1,14 +1,18 @@
 Drop docs from setup.py, distutils-r1 takes care of it.
+Handle the man pages in the ebuild because the tarball does not
+contain compressed man files.
 
---- setup.py.orig	2013-07-25 03:24:35.987668173 +0200
-+++ setup.py	2013-07-25 03:24:51.770668448 +0200
-@@ -13,8 +13,7 @@
+--- a/setup.py
++++ b/setup.py
+@@ -13,10 +13,7 @@
          description = 'Offline Map Viewer',
          version = VERSION,
          url = WEB_ADDRESS,
 -        data_files = [('share/doc/mapcatcher', ['README', 'changelog']),
 -                    ('share/applications', ['gmapcatcher.desktop']),
+-                    ('share/man/man1',
+-                        ['man/mapcatcher.1.gz', 'man/mapdownloader.1.gz']),
 +        data_files = [('share/applications', ['gmapcatcher.desktop']),
-                     ('share/man/man1',
-                         ['man/mapcatcher.1.gz', 'man/mapdownloader.1.gz']),
                      ('share/pixmaps', ['images/mapcatcher.png']),
+                     ('share/pixmaps/gmapcatcher',
+                     map(lambda(thestr): "images/" + thestr, os.listdir('images')))

diff --git a/sci-geosciences/gmapcatcher/gmapcatcher-0.8.0.4.ebuild b/sci-geosciences/gmapcatcher/gmapcatcher-0.8.0.4.ebuild
index 3ad9eb5..eb6de53 100644
--- a/sci-geosciences/gmapcatcher/gmapcatcher-0.8.0.4.ebuild
+++ b/sci-geosciences/gmapcatcher/gmapcatcher-0.8.0.4.ebuild
@@ -1,15 +1,16 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
 PYTHON_COMPAT=( python2_7 )
-inherit distutils-r1
+inherit vcs-snapshot distutils-r1
 
+MY_COMMIT_HASH="b3156dc56d105bcab8a1123793dcc16b7f9f3a9a"
 DESCRIPTION="An offline viewer for different map providers"
-HOMEPAGE="https://code.google.com/p/gmapcatcher/"
-SRC_URI="https://gmapcatcher.googlecode.com/files/mapcatcher_${PV}.tar.gz"
+HOMEPAGE="https://github.com/heldersepu/GMapCatcher"
+SRC_URI="https://github.com/heldersepu/GMapCatcher/archive/${MY_COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -23,10 +24,19 @@ RDEPEND="x11-libs/gtk+:2
 	dev-python/pillow[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}"
 
-S=${WORKDIR}/mapcatcher-${PV}
 PATCHES=("${FILESDIR}"/${P}-setuppy-docs.patch)
 
 src_prepare() {
+	# Move things around to make setup.py happy
+	mv installer/setup.py "${S}/" || die
+	mv maps.py mapcatcher || die
+	mv download.py mapdownloader || die
+	mv images/map.png images/mapcatcher.png || die
 	sed -i -e "/Version=/d" -e "s/Application;//" gmapcatcher.desktop || die
 	distutils-r1_src_prepare
 }
+
+src_install() {
+	distutils-r1_src_install
+	doman man/mapcatcher.1 man/mapdownloader.1
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gmapcatcher/files/, sci-geosciences/gmapcatcher/
@ 2018-01-06 14:20 Mikle Kolyada
  0 siblings, 0 replies; 2+ messages in thread
From: Mikle Kolyada @ 2018-01-06 14:20 UTC (permalink / raw
  To: gentoo-commits

commit:     741cab355bc21860650e98faaa26d545ce926f68
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  6 14:19:01 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Jan  6 14:20:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=741cab35

sci-geosciences/gmapcatcher: remove last rited package

Closes: https://bugs.gentoo.org/624046

 sci-geosciences/gmapcatcher/Manifest               |  1 -
 .../files/gmapcatcher-0.8.0.4-setuppy-docs.patch   | 18 ----------
 .../gmapcatcher/gmapcatcher-0.8.0.4.ebuild         | 41 ----------------------
 sci-geosciences/gmapcatcher/metadata.xml           |  8 -----
 4 files changed, 68 deletions(-)

diff --git a/sci-geosciences/gmapcatcher/Manifest b/sci-geosciences/gmapcatcher/Manifest
deleted file mode 100644
index ccb44b63dba..00000000000
--- a/sci-geosciences/gmapcatcher/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST gmapcatcher-0.8.0.4.tar.gz 3782763 BLAKE2B 10923766e8c5e238f64772331bf1307d764db7fe5a02c0b1c62da563bd50c3e1dea34901d97896f22302fe47ad4da4ab1b154b8b8c9c176349372d86b427d86c SHA512 9ff11ca2c61f01090e7cd616c5fe0c4faf7fb1eb11962071601d87a7f84b309b25de36c82d713c1d08ffdb0f806c8fcccfc877ac7fc5eadf3d49625ce360d719

diff --git a/sci-geosciences/gmapcatcher/files/gmapcatcher-0.8.0.4-setuppy-docs.patch b/sci-geosciences/gmapcatcher/files/gmapcatcher-0.8.0.4-setuppy-docs.patch
deleted file mode 100644
index 77383f19899..00000000000
--- a/sci-geosciences/gmapcatcher/files/gmapcatcher-0.8.0.4-setuppy-docs.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Drop docs from setup.py, distutils-r1 takes care of it.
-Handle the man pages in the ebuild because the tarball does not
-contain compressed man files.
-
---- a/setup.py
-+++ b/setup.py
-@@ -13,10 +13,7 @@
-         description = 'Offline Map Viewer',
-         version = VERSION,
-         url = WEB_ADDRESS,
--        data_files = [('share/doc/mapcatcher', ['README', 'changelog']),
--                    ('share/applications', ['gmapcatcher.desktop']),
--                    ('share/man/man1',
--                        ['man/mapcatcher.1.gz', 'man/mapdownloader.1.gz']),
-+        data_files = [('share/applications', ['gmapcatcher.desktop']),
-                     ('share/pixmaps', ['images/mapcatcher.png']),
-                     ('share/pixmaps/gmapcatcher',
-                     map(lambda(thestr): "images/" + thestr, os.listdir('images')))

diff --git a/sci-geosciences/gmapcatcher/gmapcatcher-0.8.0.4.ebuild b/sci-geosciences/gmapcatcher/gmapcatcher-0.8.0.4.ebuild
deleted file mode 100644
index 50cf9f4b23a..00000000000
--- a/sci-geosciences/gmapcatcher/gmapcatcher-0.8.0.4.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-inherit vcs-snapshot distutils-r1
-
-MY_COMMIT_HASH="b3156dc56d105bcab8a1123793dcc16b7f9f3a9a"
-DESCRIPTION="An offline viewer for different map providers"
-HOMEPAGE="https://github.com/heldersepu/GMapCatcher"
-SRC_URI="https://github.com/heldersepu/GMapCatcher/archive/${MY_COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="x11-libs/gtk+:2
-	dev-python/pygtk[${PYTHON_USEDEP}]
-	dev-python/pygobject[${PYTHON_USEDEP}]
-	dev-python/pycairo[${PYTHON_USEDEP}]
-	dev-python/pillow[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
-
-PATCHES=("${FILESDIR}"/${P}-setuppy-docs.patch)
-
-src_prepare() {
-	# Move things around to make setup.py happy
-	mv installer/setup.py "${S}/" || die
-	mv maps.py mapcatcher || die
-	mv download.py mapdownloader || die
-	mv images/map.png images/mapcatcher.png || die
-	sed -i -e "/Version=/d" -e "s/Application;//" gmapcatcher.desktop || die
-	distutils-r1_src_prepare
-}
-
-src_install() {
-	distutils-r1_src_install
-	doman man/mapcatcher.1 man/mapdownloader.1
-}

diff --git a/sci-geosciences/gmapcatcher/metadata.xml b/sci-geosciences/gmapcatcher/metadata.xml
deleted file mode 100644
index fb6f59fe329..00000000000
--- a/sci-geosciences/gmapcatcher/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-	<upstream>
-		<remote-id type="github">heldersepu/GMapCatcher</remote-id>
-	</upstream>
-</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-06 14:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-06 14:20 [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gmapcatcher/files/, sci-geosciences/gmapcatcher/ Mikle Kolyada
  -- strict thread matches above, loose matches on Subject: below --
2016-11-27  6:01 Göktürk Yüksek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox