summaryrefslogtreecommitdiff
path: root/dev-python/pudge
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pudge
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pudge')
-rw-r--r--dev-python/pudge/Manifest3
-rw-r--r--dev-python/pudge/metadata.xml11
-rw-r--r--dev-python/pudge/pudge-0.1.3-r1.ebuild35
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/pudge/Manifest b/dev-python/pudge/Manifest
new file mode 100644
index 000000000000..4cf85acf6237
--- /dev/null
+++ b/dev-python/pudge/Manifest
@@ -0,0 +1,3 @@
+DIST pudge-0.1.3.tar.gz 62396 BLAKE2B 073d1097c99094f8efda951c07afd70730e02fdbf7361d0b9062f4da4139cdde88265241995964d2a06e946080f35a4e896287fdb8b6867e3e8944134b5dde16 SHA512 149efd60d04a75de23b65b5c10df9b0c347b659d1c998812bd3dc438f2a398aff28352858d17ba3f456c2cba0006707102376bcdead380156338d2a379e6b06f
+EBUILD pudge-0.1.3-r1.ebuild 946 BLAKE2B 4606a60ebe4f19fc8c305d86e5b6eb75eca56b2b5b320dd5921d9fc46ed4420dd6816632613342e5c9c3b1b8b779e0078526fa742227ec2ce5fee23730917fc2 SHA512 8c36bb51cb69b3ee730c21369999771a09b863779c0a3a7bbe7d4b999d792c3ae26ddbeb6aada7423b4abf5477389ed45ed227994dfc24379f51db9aa4379ab7
+MISC metadata.xml 308 BLAKE2B 9f5b7c69858451a454940101c61c3ca72fe441fabc62abee7c94bb5fbe936b330a762845f6344fce1e548f3e02e9702e1e82bf8902ad13fb28b0d3fdb7f4a95e SHA512 c4d300be17d94d49a294d8dd20d0f98183d442573df5b42e3f9bd7f037858d02a2e668212c45a459da3b96867642f8f7e44c651ad62a8e55093a6dcf47828911
diff --git a/dev-python/pudge/metadata.xml b/dev-python/pudge/metadata.xml
new file mode 100644
index 000000000000..a9db1b5da032
--- /dev/null
+++ b/dev-python/pudge/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">pudge</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pudge/pudge-0.1.3-r1.ebuild b/dev-python/pudge/pudge-0.1.3-r1.ebuild
new file mode 100644
index 000000000000..77ed500a2342
--- /dev/null
+++ b/dev-python/pudge/pudge-0.1.3-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="A documentation generator for Python projects, using Restructured Text"
+HOMEPAGE="http://pudge.lesscode.org https://pypi.org/project/pudge/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc"
+
+RDEPEND="dev-python/docutils[${PYTHON_USEDEP}]
+ >=dev-python/kid-0.9.5[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( ${RDEPEND} )"
+
+python_compile_all() {
+ if use doc; then
+ einfo "Generation of documentation"
+ "${PYTHON}" bin/pudge --modules=pudge --documents=doc/index.rst --dest=doc/html \
+ || die "Generation of documentation failed"
+ fi
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/html/. )
+ distutils-r1_python_install_all
+}