summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyamazon')
-rw-r--r--dev-python/pyamazon/ChangeLog9
-rw-r--r--dev-python/pyamazon/Manifest4
-rw-r--r--dev-python/pyamazon/metadata.xml6
-rw-r--r--dev-python/pyamazon/pyamazon-0.65.ebuild40
4 files changed, 59 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/Manifest b/dev-python/pyamazon/Manifest
new file mode 100644
index 000000000000..55055a4e2da2
--- /dev/null
+++ b/dev-python/pyamazon/Manifest
@@ -0,0 +1,4 @@
+DIST pyamazon-0.65.zip 4715 RMD160 08e41916fb829b7525f6b1707ab440235aa6bcef SHA1 304f8daf2f3698387c01a2cd3162fbe83dcb0366 SHA256 af185612ddb6a845a88991937f7df36cb2f161135ad2e8ba0369c5b012e066fb
+EBUILD pyamazon-0.65.ebuild 850 RMD160 e9237453f367923959cce18b82f86b3674e09629 SHA1 6b56b113bfc56dd067727f78ebcc9ca7d9eb9b27 SHA256 7b031f6f99642dd8c28c72492fc6463779f001a478048e8cc5bcc7c57df13aef
+MISC ChangeLog 376 RMD160 4d36e025258b8a492b0c9fb83168de39692e4a3b SHA1 baf838ab23db44f2831ab12e506bc1cebee98fa2 SHA256 77863e1136fe8bb777cc2eb9fdac0428c47d340c2c1b6e4b4dc3ca1a45c31eef
+MISC metadata.xml 180 RMD160 c2f33738d640d9b5d01befd5fc7f366a58ea462f SHA1 5704f955307c6ff3b2aac62a3458e6cc50e32d62 SHA256 cc06a12ae2dbcff1975aaa40f4b1e52c85cc3522a2a306f8ec0e386025e5ec15
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
+}