summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-03-27 11:41:12 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-03-27 11:41:12 +0000
commitc741fa26246d01661517c251c99013dda2960f12 (patch)
tree5208699629c2169b4570345c3b466d6e443e5c0a /dev-python/decorator
parentarm/ia64/s390/sh/sparc/x86 stable wrt #260971 (diff)
downloadgentoo-2-c741fa26246d01661517c251c99013dda2960f12.tar.gz
gentoo-2-c741fa26246d01661517c251c99013dda2960f12.tar.bz2
gentoo-2-c741fa26246d01661517c251c99013dda2960f12.zip
Version bump (thanks Romain Perier for his ebuild, bug #260701) and updated long description
(Portage version: 2.2_rc26/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/decorator')
-rw-r--r--dev-python/decorator/ChangeLog11
-rw-r--r--dev-python/decorator/decorator-3.0.1.ebuild30
-rw-r--r--dev-python/decorator/metadata.xml8
3 files changed, 46 insertions, 3 deletions
diff --git a/dev-python/decorator/ChangeLog b/dev-python/decorator/ChangeLog
index e16d2a635b6c..8728f0481bf1 100644
--- a/dev-python/decorator/ChangeLog
+++ b/dev-python/decorator/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/decorator
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/decorator/ChangeLog,v 1.2 2008/05/25 12:40:20 coldwind Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/decorator/ChangeLog,v 1.3 2009/03/27 11:41:12 bicatali Exp $
+
+*decorator-3.0.1 (27 Mar 2009)
+
+ 27 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml,
+ +decorator-3.0.1.ebuild:
+ Version bump (thanks Romain Perier for his ebuild, bug #260701) and
+ updated long description
25 May 2008; Santiago M. Mola <coldwind@gentoo.org>
decorator-2.2.0.ebuild:
diff --git a/dev-python/decorator/decorator-3.0.1.ebuild b/dev-python/decorator/decorator-3.0.1.ebuild
new file mode 100644
index 000000000000..139b0700571d
--- /dev/null
+++ b/dev-python/decorator/decorator-3.0.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/decorator/decorator-3.0.1.ebuild,v 1.1 2009/03/27 11:41:12 bicatali Exp $
+
+inherit distutils
+
+DESCRIPTION="Simplifies the usage of decorators for the average programmer"
+HOMEPAGE="http://pypi.python.org/pypi/decorator"
+SRC_URI="http://pypi.python.org/packages/source/d/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DOCS="CHANGES.txt README.txt"
+
+src_test() {
+ # multiprocessing only in python-2.6 and above, and not use anyway
+ sed -i -e '/multiprocessing/d' documentation.py || die
+ PYTHONPATH=build/lib "${python}" documentation.py || die "tests failed"
+}
+
+src_install() {
+ distutils_src_install
+ if use doc;then
+ dodoc documentation.pdf || die "dodoc pdf doc failed"
+ dohtml documentation.html || die "dohtml html doc failed"
+ fi
+}
diff --git a/dev-python/decorator/metadata.xml b/dev-python/decorator/metadata.xml
index 301d2207cc29..1f064d8f96c3 100644
--- a/dev-python/decorator/metadata.xml
+++ b/dev-python/decorator/metadata.xml
@@ -1,5 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>python</herd>
+ <herd>python</herd>
+ <longdescription lang="en">
+ The aim of the decorator python module is to simplify the usage of
+ decorators for the average programmer and to popularize
+ decorators usage giving examples of useful decorators, such as
+ memoize, tracing, redirecting_stdout, locked, etc.
+ </longdescription>
</pkgmetadata>