diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-python/pyamazon | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-python/pyamazon')
-rw-r--r-- | dev-python/pyamazon/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyamazon/metadata.xml | 6 | ||||
-rw-r--r-- | dev-python/pyamazon/pyamazon-0.65.ebuild | 42 |
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/pyamazon/Manifest b/dev-python/pyamazon/Manifest new file mode 100644 index 000000000000..0c6fd378445f --- /dev/null +++ b/dev-python/pyamazon/Manifest @@ -0,0 +1 @@ +DIST pyamazon-0.65.zip 4715 SHA256 af185612ddb6a845a88991937f7df36cb2f161135ad2e8ba0369c5b012e066fb SHA512 91da5c766f3c8b24429f92c46d27509e6e7ea4f3fe945920774aad88ab7ccfa9418067d9919f14f7800c767a2c59da52452d9949e7cda46c2626c33db7bd9997 WHIRLPOOL 5a62eb667d08ca0535c6be1f88029ce482ffb91f0be707afb8e74df37e05c6d88ca37fba9760b133d9354a0e8354987bccfc724bc2067a2a3ee7e2c19fd120c3 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..65fd0da243a4 --- /dev/null +++ b/dev-python/pyamazon/pyamazon-0.65.ebuild @@ -0,0 +1,42 @@ +# 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 +} |