summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-30 16:22:03 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-30 16:22:03 +0000
commitbc7e73e88b1607eb81e96246883d45e053d8966a (patch)
tree7b59be696095085ee6c21ace6db058a4ef02cc9e /dev-python
parentppc stable #244230 (diff)
downloadgentoo-2-bc7e73e88b1607eb81e96246883d45e053d8966a.tar.gz
gentoo-2-bc7e73e88b1607eb81e96246883d45e053d8966a.tar.bz2
gentoo-2-bc7e73e88b1607eb81e96246883d45e053d8966a.zip
Initial commit wrt #101296, thanks to Rene Zbinden.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyamazon/ChangeLog9
-rw-r--r--dev-python/pyamazon/metadata.xml6
-rw-r--r--dev-python/pyamazon/pyamazon-0.65.ebuild40
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/pyamazon/ChangeLog b/dev-python/pyamazon/ChangeLog
new file mode 100644
index 000000000000..38ad6ecf4fa6
--- /dev/null
+++ b/dev-python/pyamazon/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/pyamazon
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyamazon/ChangeLog,v 1.1 2009/05/30 16:22:03 ssuominen Exp $
+
+*pyamazon-0.65 (30 May 2009)
+
+ 30 May 2009; Samuli Suominen <ssuominen@gentoo.org> +pyamazon-0.65.ebuild:
+ Initial commit wrt #101296, thanks to Rene Zbinden.
+
diff --git a/dev-python/pyamazon/metadata.xml b/dev-python/pyamazon/metadata.xml
new file mode 100644
index 000000000000..414a5eeccf59
--- /dev/null
+++ b/dev-python/pyamazon/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+ <herd>python</herd>
+</pkgmetadata>
diff --git a/dev-python/pyamazon/pyamazon-0.65.ebuild b/dev-python/pyamazon/pyamazon-0.65.ebuild
new file mode 100644
index 000000000000..f99b7420885b
--- /dev/null
+++ b/dev-python/pyamazon/pyamazon-0.65.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyamazon/pyamazon-0.65.ebuild,v 1.1 2009/05/30 16:22:03 ssuominen Exp $
+
+EAPI=2
+inherit eutils multilib python
+
+DESCRIPTION="A Python wrapper for the Amazon web API."
+HOMEPAGE="http://www.josephson.org/projects/pyamazon"
+SRC_URI="http://www.josephson.org/projects/pyamazon/files/pyamazon-0.65.zip"
+
+LICENSE="PYTHON"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=""
+DEPEND="app-arch/unzip"
+
+pkg_setup() {
+ python_version
+ dest=/usr/$(get_libdir)/python${PYVER}/site-packages
+}
+
+src_prepare() {
+ edos2unix ${PN}/amazon.py
+}
+
+src_install() {
+ insinto ${dest}
+ doins ${PN}/amazon.py || die "doins failed"
+}
+
+pkg_postinst() {
+ python_mod_compile ${dest}/amazon.py
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}