dev-python/pyamazon: Modernize to python-r1 suite
authorDavid Seifert <soap@gentoo.org>
Sat, 2 Jul 2016 12:42:11 +0000 (14:42 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 2 Jul 2016 13:09:39 +0000 (15:09 +0200)
* EAPI=6

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/1814

Signed-off-by: David Seifert <soap@gentoo.org>
dev-python/pyamazon/pyamazon-0.65-r1.ebuild [new file with mode: 0644]

diff --git a/dev-python/pyamazon/pyamazon-0.65-r1.ebuild b/dev-python/pyamazon/pyamazon-0.65-r1.ebuild
new file mode 100644 (file)
index 0000000..81a15b1
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-single-r1
+
+DESCRIPTION="A Python wrapper for the Amazon web API"
+HOMEPAGE="http://www.josephson.org/projects/pyamazon"
+SRC_URI="http://www.josephson.org/projects/${PN}/files/${P}.zip"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+       default
+       edos2unix amazon.py
+}
+
+src_install() {
+       python_domodule amazon.py
+}