summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarien Zwart <marienz@gentoo.org>2012-02-22 23:56:14 +0000
committerMarien Zwart <marienz@gentoo.org>2012-02-22 23:56:14 +0000
commitad45adc937d909c82ec21c5150356e732df1c3dd (patch)
tree869afe96787f391c4d0188715b2f685f2ba64611 /dev-python/peppercorn
parentVersion bump. (diff)
downloadgentoo-2-ad45adc937d909c82ec21c5150356e732df1c3dd.tar.gz
gentoo-2-ad45adc937d909c82ec21c5150356e732df1c3dd.tar.bz2
gentoo-2-ad45adc937d909c82ec21c5150356e732df1c3dd.zip
Version bump, adding Python 3 support.
(Portage version: 2.2.0_alpha88/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/peppercorn')
-rw-r--r--dev-python/peppercorn/ChangeLog9
-rw-r--r--dev-python/peppercorn/peppercorn-0.4.ebuild39
2 files changed, 46 insertions, 2 deletions
diff --git a/dev-python/peppercorn/ChangeLog b/dev-python/peppercorn/ChangeLog
index 0b1420f551f7..c99b71d622d9 100644
--- a/dev-python/peppercorn/ChangeLog
+++ b/dev-python/peppercorn/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/peppercorn
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/peppercorn/ChangeLog,v 1.1 2011/07/30 01:57:57 rafaelmartins Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/peppercorn/ChangeLog,v 1.2 2012/02/22 23:56:14 marienz Exp $
+
+*peppercorn-0.4 (22 Feb 2012)
+
+ 22 Feb 2012; Marien Zwart <marienz@gentoo.org> +peppercorn-0.4.ebuild:
+ Version bump, adding Python 3 support.
*peppercorn-0.3 (30 Jul 2011)
diff --git a/dev-python/peppercorn/peppercorn-0.4.ebuild b/dev-python/peppercorn/peppercorn-0.4.ebuild
new file mode 100644
index 000000000000..18d0a4deb586
--- /dev/null
+++ b/dev-python/peppercorn/peppercorn-0.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/peppercorn/peppercorn-0.4.ebuild,v 1.1 2012/02/22 23:56:14 marienz Exp $
+
+EAPI=3
+
+SUPPORT_PYTHON_ABIS=1
+PYTHON_DEPEND="2 3:3.2"
+RESTRICT_PYTHON_ABIS="2.4 3.0 3.1"
+DISTUTILS_SRC_TEST="setup.py"
+
+inherit distutils
+
+DESCRIPTION="A library for converting a token stream into a data structure for use in web form posts"
+HOMEPAGE="https://github.com/Pylons/peppercorn http://pypi.python.org/pypi/peppercorn"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="repoze"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools"
+RDEPEND=""
+
+# Include COPYRIGHT.txt because the license seems to require it.
+DOCS="CHANGES.txt README.txt COPYRIGHT.txt"
+
+src_install() {
+ distutils_src_install
+
+ # Install only the .rst source, as sphinx processing requires a
+ # theme only available from git that contains hardcoded references
+ # to files on https://static.pylonsproject.org/ (so the docs would
+ # not actually work offline). Install into a "docs" subdirectory
+ # so the reference in the README remains correct.
+ docinto docs
+ dodoc docs/*.rst
+}