summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-01-04 03:27:18 +0000
committerIan Delaney <idella4@gentoo.org>2015-01-04 03:27:18 +0000
commit3f1541fcc58ce45cf27c45326fab6046e730cfaf (patch)
treeb5206b774b66d1ab82fcffd78285ab43656feffc /dev-python/pymetar
parentReplace grub2 migration guide URL, bug 534500. (diff)
downloadgentoo-2-3f1541fcc58ce45cf27c45326fab6046e730cfaf.tar.gz
gentoo-2-3f1541fcc58ce45cf27c45326fab6046e730cfaf.tar.bz2
gentoo-2-3f1541fcc58ce45cf27c45326fab6046e730cfaf.zip
revbump; conversion -> distutils-r1, add patch to fix install of data, drop sed statement
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/pymetar')
-rw-r--r--dev-python/pymetar/ChangeLog11
-rw-r--r--dev-python/pymetar/files/setup.patch14
-rw-r--r--dev-python/pymetar/pymetar-0.16.ebuild35
-rw-r--r--dev-python/pymetar/pymetar-0.19-r1.ebuild24
4 files changed, 47 insertions, 37 deletions
diff --git a/dev-python/pymetar/ChangeLog b/dev-python/pymetar/ChangeLog
index 38734eb2ab40..76511913b092 100644
--- a/dev-python/pymetar/ChangeLog
+++ b/dev-python/pymetar/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/pymetar
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pymetar/ChangeLog,v 1.20 2013/11/06 05:21:10 patrick Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pymetar/ChangeLog,v 1.21 2015/01/04 03:27:18 idella4 Exp $
+
+*pymetar-0.19-r1 (04 Jan 2015)
+
+ 04 Jan 2015; Ian Delaney <idella4@gentoo.org> +files/setup.patch,
+ +pymetar-0.19-r1.ebuild, -pymetar-0.16.ebuild:
+ revbump; conversion -> distutils-r1, add patch to fix install of data, drop
+ sed statement
06 Nov 2013; Patrick Lauer <patrick@gentoo.org> pymetar-0.16.ebuild,
pymetar-0.19.ebuild:
diff --git a/dev-python/pymetar/files/setup.patch b/dev-python/pymetar/files/setup.patch
new file mode 100644
index 000000000000..d953af0be4c5
--- /dev/null
+++ b/dev-python/pymetar/files/setup.patch
@@ -0,0 +1,14 @@
+entry for data_files cause unwanted duplicate entry @ install
+diff -u pymetar-0.19.orig/setup.py pymetar-0.19/setup.py
+--- setup.py 2012-01-25 22:01:19.000000000 +0800
++++ setup.py 2015-01-04 10:57:14.698948559 +0800
+@@ -26,7 +26,5 @@
+ packages= [ "" ],
+ py_modules=["pymetar"],
+ scripts = [ "bin/pymetar" ],
+- data_files = [("share/doc/pymetar-%s"%pymetar.__version__,
+- ['README', 'COPYING', 'THANKS', 'librarydoc.txt']),
+- ("share/man/man1", ['pymetar.1'])]
++ data_files = [("share/man/man1", ['pymetar.1'])]
+ )
+
diff --git a/dev-python/pymetar/pymetar-0.16.ebuild b/dev-python/pymetar/pymetar-0.16.ebuild
deleted file mode 100644
index 9baf7faf4755..000000000000
--- a/dev-python/pymetar/pymetar-0.16.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pymetar/pymetar-0.16.ebuild,v 1.4 2013/11/06 05:21:10 patrick Exp $
-
-EAPI="2"
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-
-inherit distutils
-
-DESCRIPTION="Downloads, decodes and provides access to the weather report for a given station ID"
-HOMEPAGE="http://www.schwarzvogel.de/software-pymetar.shtml"
-SRC_URI="http://www.schwarzvogel.de/pkgs/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ppc ~sparc x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-RESTRICT_PYTHON_ABIS="3.*"
-
-DOCS="librarydoc.txt THANKS"
-PYTHON_MODNAME="pymetar.py"
-
-src_prepare() {
- distutils_src_prepare
- sed -e "s/'COPYING', //" -i setup.py || die "sed failed"
-}
-
-src_install() {
- doman pymetar.1
- rm -f pymetar.1
- distutils_src_install
-}
diff --git a/dev-python/pymetar/pymetar-0.19-r1.ebuild b/dev-python/pymetar/pymetar-0.19-r1.ebuild
new file mode 100644
index 000000000000..dfc6d63967c0
--- /dev/null
+++ b/dev-python/pymetar/pymetar-0.19-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pymetar/pymetar-0.19-r1.ebuild,v 1.1 2015/01/04 03:27:18 idella4 Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Downloads, decodes and provides access to the weather report for a given station ID"
+HOMEPAGE="http://www.schwarzvogel.de/software-pymetar.shtml"
+SRC_URI="http://www.schwarzvogel.de/pkgs/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+DOCS="librarydoc.txt README THANKS"
+
+# Fix to install of data
+PATCHES=( "${FILESDIR}"/setup.patch )