mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-02-27 19:37:27 -08:00
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: Aaron Bauman <bman@gentoo.org>
34 lines
620 B
Bash
34 lines
620 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
|
|
inherit eutils python-single-r1
|
|
|
|
DESCRIPTION="A Python wrapper for the Amazon web API"
|
|
HOMEPAGE="https://www.josephson.org/projects/pyamazon/"
|
|
SRC_URI="https://www.josephson.org/projects/${PN}/files/${P}.zip"
|
|
|
|
LICENSE="PSF-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE=""
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
RDEPEND="${PYTHON_DEPS}"
|
|
DEPEND="${RDEPEND}
|
|
app-arch/unzip"
|
|
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
src_prepare() {
|
|
default
|
|
edos2unix amazon.py
|
|
}
|
|
|
|
src_install() {
|
|
python_domodule amazon.py
|
|
}
|