Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyamazon/
Date: Sat, 02 Jul 2016 13:10:20
Message-Id: 1467464979.56d66d8396ed2823ca93669888dca87f04a6cc0b.soap@gentoo
1 commit: 56d66d8396ed2823ca93669888dca87f04a6cc0b
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 2 12:42:11 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 2 13:09:39 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56d66d83
7
8 dev-python/pyamazon: Modernize to python-r1 suite
9
10 * EAPI=6
11
12 Package-Manager: portage-2.3.0
13 Closes: https://github.com/gentoo/gentoo/pull/1814
14
15 Signed-off-by: David Seifert <soap <AT> gentoo.org>
16
17 dev-python/pyamazon/pyamazon-0.65-r1.ebuild | 32 +++++++++++++++++++++++++++++
18 1 file changed, 32 insertions(+)
19
20 diff --git a/dev-python/pyamazon/pyamazon-0.65-r1.ebuild b/dev-python/pyamazon/pyamazon-0.65-r1.ebuild
21 new file mode 100644
22 index 0000000..81a15b1
23 --- /dev/null
24 +++ b/dev-python/pyamazon/pyamazon-0.65-r1.ebuild
25 @@ -0,0 +1,32 @@
26 +# Copyright 1999-2016 Gentoo Foundation
27 +# Distributed under the terms of the GNU General Public License v2
28 +# $Id$
29 +
30 +EAPI=6
31 +
32 +PYTHON_COMPAT=( python2_7 )
33 +
34 +inherit eutils python-single-r1
35 +
36 +DESCRIPTION="A Python wrapper for the Amazon web API"
37 +HOMEPAGE="http://www.josephson.org/projects/pyamazon"
38 +SRC_URI="http://www.josephson.org/projects/${PN}/files/${P}.zip"
39 +
40 +LICENSE="PSF-2"
41 +SLOT="0"
42 +KEYWORDS="~amd64"
43 +IUSE=""
44 +
45 +DEPEND="app-arch/unzip"
46 +RDEPEND=""
47 +
48 +S="${WORKDIR}/${PN}"
49 +
50 +src_prepare() {
51 + default
52 + edos2unix amazon.py
53 +}
54 +
55 +src_install() {
56 + python_domodule amazon.py
57 +}