diff options
author | Rafael Martins <rafaelmartins@gentoo.org> | 2011-07-30 01:57:57 +0000 |
---|---|---|
committer | Rafael Martins <rafaelmartins@gentoo.org> | 2011-07-30 01:57:57 +0000 |
commit | 5c917a4d7bfba166a8355cc3efebc6298c62f5c2 (patch) | |
tree | 8d3e344d49cd13f9eb6f994149b95e1dadfa424b /dev-python/peppercorn | |
parent | Initial version. Based on ebuild by Jan Matějka (bug #368019). (diff) | |
download | gentoo-2-5c917a4d7bfba166a8355cc3efebc6298c62f5c2.tar.gz gentoo-2-5c917a4d7bfba166a8355cc3efebc6298c62f5c2.tar.bz2 gentoo-2-5c917a4d7bfba166a8355cc3efebc6298c62f5c2.zip |
Initial version. Based on ebuild by Jan Matějka (bug #368013).
(Portage version: 2.2.0_alpha46/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/peppercorn')
-rw-r--r-- | dev-python/peppercorn/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/peppercorn/metadata.xml | 6 | ||||
-rw-r--r-- | dev-python/peppercorn/peppercorn-0.3.ebuild | 41 |
3 files changed, 57 insertions, 0 deletions
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 <rafaelmartins@gentoo.org> + +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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> +</pkgmetadata> + 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 +} |