1 |
commit: 44b950effdfbbe2de2c1ad0a2ecce580868c6f4a |
2 |
Author: Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Oct 1 19:34:01 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 1 19:49:28 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44b950ef |
7 |
|
8 |
dev-python/pdoc: version bump to 0.3.2 |
9 |
|
10 |
- Bump to version 0.3.2 |
11 |
- Change to EAPI 6 |
12 |
- Add Python 3.5 support |
13 |
- Fix document install path |
14 |
- Small ebuild fixes |
15 |
|
16 |
Signed off by: Jonathan Scruggs (j.scruggs <AT> gmail.com, irc: Dracwyrm) |
17 |
Closes: https://github.com/gentoo/gentoo/pull/2447 |
18 |
|
19 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
20 |
|
21 |
dev-python/pdoc/Manifest | 1 + |
22 |
dev-python/pdoc/pdoc-0.3.2.ebuild | 35 +++++++++++++++++++++++++++++++++++ |
23 |
2 files changed, 36 insertions(+) |
24 |
|
25 |
diff --git a/dev-python/pdoc/Manifest b/dev-python/pdoc/Manifest |
26 |
index db0bf58..f78256d 100644 |
27 |
--- a/dev-python/pdoc/Manifest |
28 |
+++ b/dev-python/pdoc/Manifest |
29 |
@@ -1 +1,2 @@ |
30 |
DIST pdoc-0.3.1.tar.gz 76065 SHA256 83b23c6dd83d45624d785778d5a3c3cb5541ecebdab4c48c554f98b797c0278f SHA512 1c36fc21198e9b58b6b809e01bd801be8afc2f7d44cbbbfff6d9ecf455111365957a1c72b7acce0458a5c18482c7088ae811371f9362012058ec35c90f10c6e9 WHIRLPOOL c999bb72aa413b2bbd778543ca6b77fe0b0f8e44ca8301b66cc5333eab0587e5a38a5ea32cbbba1e4ec2c34aa7df419adc72d5f109bc834bb723149d116269b4 |
31 |
+DIST pdoc-0.3.2.tar.gz 76536 SHA256 7835909580d5a14a06bd3de4416cf17f86a146ecb12eeb5cd83d9a93d03e6d27 SHA512 a28f4c20c43339ca89fe93a5e79672033336cdd73c875fa8aeb5649556e39711e0b7f7b680f3c31c242e0263549939a301545d26d5b96b7818f7903d4311a189 WHIRLPOOL db760d98234342600c8e8c53f5ef5a4bf6ce5b41c83fbba937fd58034a691109e5662a49c592e2e4496cc45082cbb253ca3f17dab259c5dce46e75821032442c |
32 |
|
33 |
diff --git a/dev-python/pdoc/pdoc-0.3.2.ebuild b/dev-python/pdoc/pdoc-0.3.2.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000..d5bc530 |
36 |
--- /dev/null |
37 |
+++ b/dev-python/pdoc/pdoc-0.3.2.ebuild |
38 |
@@ -0,0 +1,35 @@ |
39 |
+# Copyright 1999-2016 Gentoo Foundation |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+# $Id$ |
42 |
+ |
43 |
+EAPI=6 |
44 |
+ |
45 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) |
46 |
+ |
47 |
+inherit distutils-r1 |
48 |
+ |
49 |
+DESCRIPTION="Simple program and library to auto generate API documentation for Python modules" |
50 |
+HOMEPAGE="https://pypi.python.org/pypi/pdoc https://github.com/BurntSushi/pdoc" |
51 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
52 |
+ |
53 |
+SLOT="0" |
54 |
+LICENSE="Unlicense" |
55 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ dev-python/mako[${PYTHON_USEDEP}] |
59 |
+ dev-python/markdown[${PYTHON_USEDEP}] |
60 |
+ dev-python/pygments[${PYTHON_USEDEP}] |
61 |
+" |
62 |
+DEPEND="${RDEPEND}" |
63 |
+ |
64 |
+python_prepare_all() { |
65 |
+ # Markdown < 2.5 is only for Python 2.6 support, which we don't support |
66 |
+ sed \ |
67 |
+ -e "s|markdown < 2.5|markdown|" \ |
68 |
+ -e "s|share/pdoc|share/doc/${PF}|" \ |
69 |
+ -e "s|'UNLICENSE', ||" \ |
70 |
+ -i setup.py || die "sed failed" |
71 |
+ |
72 |
+ distutils-r1_python_prepare_all |
73 |
+} |