dev-python/pdoc: version bump to 0.3.2

- Bump to version 0.3.2
- Change to EAPI 6
- Add Python 3.5 support
- Fix document install path
- Small ebuild fixes

Signed off by: Jonathan Scruggs (j.scruggs@gmail.com, irc: Dracwyrm)
Closes: https://github.com/gentoo/gentoo/pull/2447

Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Jonathan Scruggs
2016-10-01 20:34:01 +01:00
committed by David Seifert
parent 1a9dfeb8fc
commit 44b950effd
2 changed files with 36 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST pdoc-0.3.1.tar.gz 76065 SHA256 83b23c6dd83d45624d785778d5a3c3cb5541ecebdab4c48c554f98b797c0278f SHA512 1c36fc21198e9b58b6b809e01bd801be8afc2f7d44cbbbfff6d9ecf455111365957a1c72b7acce0458a5c18482c7088ae811371f9362012058ec35c90f10c6e9 WHIRLPOOL c999bb72aa413b2bbd778543ca6b77fe0b0f8e44ca8301b66cc5333eab0587e5a38a5ea32cbbba1e4ec2c34aa7df419adc72d5f109bc834bb723149d116269b4
DIST pdoc-0.3.2.tar.gz 76536 SHA256 7835909580d5a14a06bd3de4416cf17f86a146ecb12eeb5cd83d9a93d03e6d27 SHA512 a28f4c20c43339ca89fe93a5e79672033336cdd73c875fa8aeb5649556e39711e0b7f7b680f3c31c242e0263549939a301545d26d5b96b7818f7903d4311a189 WHIRLPOOL db760d98234342600c8e8c53f5ef5a4bf6ce5b41c83fbba937fd58034a691109e5662a49c592e2e4496cc45082cbb253ca3f17dab259c5dce46e75821032442c

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
inherit distutils-r1
DESCRIPTION="Simple program and library to auto generate API documentation for Python modules"
HOMEPAGE="https://pypi.python.org/pypi/pdoc https://github.com/BurntSushi/pdoc"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="Unlicense"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
dev-python/mako[${PYTHON_USEDEP}]
dev-python/markdown[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
python_prepare_all() {
# Markdown < 2.5 is only for Python 2.6 support, which we don't support
sed \
-e "s|markdown < 2.5|markdown|" \
-e "s|share/pdoc|share/doc/${PF}|" \
-e "s|'UNLICENSE', ||" \
-i setup.py || die "sed failed"
distutils-r1_python_prepare_all
}