You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/pyamazon/pyamazon-0.65-r1.ebuild

34 lines
620 B

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