mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
dev-python/pyamazon: remove old and deprecated
Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/1814 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit eutils python
|
||||
|
||||
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=""
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
src_prepare() {
|
||||
edos2unix ${PN}/amazon.py
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
insinto $(python_get_sitedir)
|
||||
doins ${PN}/amazon.py
|
||||
}
|
||||
python_execute_function installation
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize amazon.py
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup amazon.py
|
||||
}
|
||||
Reference in New Issue
Block a user