From 5c917a4d7bfba166a8355cc3efebc6298c62f5c2 Mon Sep 17 00:00:00 2001 From: Rafael Martins Date: Sat, 30 Jul 2011 01:57:57 +0000 Subject: Initial version. Based on ebuild by Jan Matějka (bug #368013). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (Portage version: 2.2.0_alpha46/cvs/Linux x86_64) --- dev-python/peppercorn/ChangeLog | 10 +++++++ dev-python/peppercorn/metadata.xml | 6 +++++ dev-python/peppercorn/peppercorn-0.3.ebuild | 41 +++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 dev-python/peppercorn/ChangeLog create mode 100644 dev-python/peppercorn/metadata.xml create mode 100644 dev-python/peppercorn/peppercorn-0.3.ebuild (limited to 'dev-python/peppercorn') diff --git a/dev-python/peppercorn/ChangeLog b/dev-python/peppercorn/ChangeLog new file mode 100644 index 000000000000..0b1420f551f7 --- /dev/null +++ b/dev-python/peppercorn/ChangeLog @@ -0,0 +1,10 @@ +# 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 $ + +*peppercorn-0.3 (30 Jul 2011) + + 30 Jul 2011; Rafael G. Martins + +peppercorn-0.3.ebuild, +metadata.xml: + Initial version. Based on ebuild by Jan Matějka (bug #368013). + diff --git a/dev-python/peppercorn/metadata.xml b/dev-python/peppercorn/metadata.xml new file mode 100644 index 000000000000..73e82009ebe4 --- /dev/null +++ b/dev-python/peppercorn/metadata.xml @@ -0,0 +1,6 @@ + + + + python + + diff --git a/dev-python/peppercorn/peppercorn-0.3.ebuild b/dev-python/peppercorn/peppercorn-0.3.ebuild new file mode 100644 index 000000000000..471d7ac42738 --- /dev/null +++ b/dev-python/peppercorn/peppercorn-0.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/peppercorn/peppercorn-0.3.ebuild,v 1.1 2011/07/30 01:57:57 rafaelmartins Exp $ + +EAPI=3 + +SUPPORT_PYTHON_ABIS=1 +PYTHON_DEPEND="2" +RESTRICT_PYTHON_ABIS="3.*" +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="http://docs.repoze.org/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="doc test" + +DEPEND="dev-python/setuptools + doc? ( dev-python/sphinx )" +RDEPEND="" + +src_compile() { + distutils_src_compile + + if use doc; then + (cd docs && emake html) || die "make html failed" + fi +} + +src_install() { + distutils_src_install + + if use doc; then + dohtml -r docs/.build/html/* || die "dohtml failed" + fi +} -- cgit v1.2.3-65-gdbad