gentoo/dev-python/pyamazon/pyamazon-0.65-r1.ebuild
David Seifert 56d66d8396
dev-python/pyamazon: Modernize to python-r1 suite
* EAPI=6

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

Signed-off-by: David Seifert <soap@gentoo.org>
2016-07-02 15:09:39 +02:00

33 lines
563 B
Bash

# 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
}