diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2018-10-21 22:37:59 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-10-28 23:36:52 +0100 |
commit | e168d020c520476234a7a5121718b01ce34dac21 (patch) | |
tree | f81b1d723b52b8f460006c5e4bbe15c0373130ce /dev-python/peppercorn | |
parent | dev-cpp/eigen: Drop old (diff) | |
download | gentoo-e168d020c520476234a7a5121718b01ce34dac21.tar.gz gentoo-e168d020c520476234a7a5121718b01ce34dac21.tar.bz2 gentoo-e168d020c520476234a7a5121718b01ce34dac21.zip |
dev-python/peppercorn: version bump.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-python/peppercorn')
-rw-r--r-- | dev-python/peppercorn/Manifest | 1 | ||||
-rw-r--r-- | dev-python/peppercorn/peppercorn-0.6.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/peppercorn/Manifest b/dev-python/peppercorn/Manifest index d0b688fd5c77..efa42f0aeb1a 100644 --- a/dev-python/peppercorn/Manifest +++ b/dev-python/peppercorn/Manifest @@ -1 +1,2 @@ DIST peppercorn-0.5.tar.gz 19637 BLAKE2B 13a94c3bc09b5cdf75cf44b40111b1d5cfbc79b8cfe97bceb9f1cbcbac2983a912dd25676d1e68366e471cc86ec8832cb55c105d3fd3332cafb80e5f086a8e9c SHA512 37f9df282872b0c664780f5e27caf81cc379b05009756cf6c79290b09893d88427f3619916688412dabf20e99f264da8832d959563943e2910b1fcac696edc31 +DIST peppercorn-0.6.tar.gz 16386 BLAKE2B fe72e6585f8fc6e0dc23d9bae321482ec1b2c50e7d13faff11c8a3beedb645a99b1e90852896ac6807938d7e23e1cbb5bc80cb10fd11d657d6574172e61a71d4 SHA512 6363c22cec2c6bdca7a4520d8bd81aae02a74ca473733b22d2557ee7299dbc1bafc77c04808c6e9520f23ac6e1c6bd8acbb8e8dba0deebdac55a170ed0396a60 diff --git a/dev-python/peppercorn/peppercorn-0.6.ebuild b/dev-python/peppercorn/peppercorn-0.6.ebuild new file mode 100644 index 000000000000..f1d39fb4bfe2 --- /dev/null +++ b/dev-python/peppercorn/peppercorn-0.6.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Convert a token stream into a web form data structure" +HOMEPAGE="https://github.com/Pylons/peppercorn https://pypi.org/project/peppercorn/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="repoze" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +RDEPEND="" + +# Include COPYRIGHT.txt because the license seems to require it +#DOCS=( CHANGES.txt README.txt COPYRIGHT.txt ) + +python_prepare_all() { + # Fix Sphinx theme. courtesy of Arfrever + sed -e "/# Add and use Pylons theme/,+36d" -i docs/conf.py || die "sed failed" + + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + esetup.py test +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +} |