From ad45adc937d909c82ec21c5150356e732df1c3dd Mon Sep 17 00:00:00 2001 From: Marien Zwart Date: Wed, 22 Feb 2012 23:56:14 +0000 Subject: Version bump, adding Python 3 support. (Portage version: 2.2.0_alpha88/cvs/Linux x86_64) --- dev-python/peppercorn/ChangeLog | 9 +++++-- dev-python/peppercorn/peppercorn-0.4.ebuild | 39 +++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 dev-python/peppercorn/peppercorn-0.4.ebuild 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 +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 +} -- cgit v1.2.3-65-gdbad