summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Scruggs <j.scruggs@gmail.com>2016-10-01 20:34:01 +0100
committerDavid Seifert <soap@gentoo.org>2016-10-01 21:49:28 +0200
commit44b950effdfbbe2de2c1ad0a2ecce580868c6f4a (patch)
treecfd0fc65ef0cf0e18ea9228d8aca9c8422a81e3e /dev-python/pdoc
parentapp-arch/p7zip: remove unneeded eclasses bug 595802 (diff)
downloadgentoo-44b950effdfbbe2de2c1ad0a2ecce580868c6f4a.tar.gz
gentoo-44b950effdfbbe2de2c1ad0a2ecce580868c6f4a.tar.bz2
gentoo-44b950effdfbbe2de2c1ad0a2ecce580868c6f4a.zip
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>
Diffstat (limited to 'dev-python/pdoc')
-rw-r--r--dev-python/pdoc/Manifest1
-rw-r--r--dev-python/pdoc/pdoc-0.3.2.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/pdoc/Manifest b/dev-python/pdoc/Manifest
index db0bf58b2081..f78256d843e6 100644
--- a/dev-python/pdoc/Manifest
+++ b/dev-python/pdoc/Manifest
@@ -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
diff --git a/dev-python/pdoc/pdoc-0.3.2.ebuild b/dev-python/pdoc/pdoc-0.3.2.ebuild
new file mode 100644
index 000000000000..d5bc5309c305
--- /dev/null
+++ b/dev-python/pdoc/pdoc-0.3.2.ebuild
@@ -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
+}