1 |
commit: 7b95f1874c2403ab082ab95877a3f7c94143988f |
2 |
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Nov 28 14:25:04 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 29 08:15:59 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b95f187 |
7 |
|
8 |
dev-python/chump: bump to 1.5.2, add doc |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/2946 |
12 |
|
13 |
dev-python/chump/Manifest | 1 + |
14 |
dev-python/chump/chump-1.5.2.ebuild | 42 +++++++++++++++++++++++++++++++++++++ |
15 |
dev-python/chump/metadata.xml | 1 + |
16 |
3 files changed, 44 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/chump/Manifest b/dev-python/chump/Manifest |
19 |
index ff68b49..c5f57de 100644 |
20 |
--- a/dev-python/chump/Manifest |
21 |
+++ b/dev-python/chump/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST chump-1.5.1.tar.gz 9370 SHA256 5aa5a1a4a0c0baa610e742018f5cce508fa4c980b15188664de0d3834e76b857 SHA512 778e043e4641b433a03860f1b1b144cdd34d0f79fb20ec0801cea1e1473eade8dd5211ffca391a57eb1f01456ec33cef4db6359839e7e39eab169411d00471e3 WHIRLPOOL dd78cd570060e75ab74e9e42e311dc3b0f096cc0fec588ad6c8378be314ec675b1557f172db945091d09caf10e26b04ec1ff92ffeb30a32df8254b2048728089 |
24 |
+DIST chump-1.5.2.tar.gz 12920 SHA256 e2274993917373dc2a25c52fb4c23d26e11d11c987d882ece8683d4f55eb64d3 SHA512 6b836bac1ab38c88084f9d6608a9ed88b305847faabcf5de6c13d587e91dc92b21334877cb9290dd56873de40be92f31f2bab3a345c7a7e62259004f5762cda4 WHIRLPOOL 442bd78fb5ad9f506ef903f1193ae98a66c29a5a10321512a40c64cca326b324ec8717538f0ba5542d26f4523badd5d4f0dd0b99e123918c6862d4214fd5be63 |
25 |
|
26 |
diff --git a/dev-python/chump/chump-1.5.2.ebuild b/dev-python/chump/chump-1.5.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000..129cd21 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/chump/chump-1.5.2.ebuild |
31 |
@@ -0,0 +1,42 @@ |
32 |
+# Copyright 1999-2016 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
39 |
+ |
40 |
+inherit distutils-r1 vcs-snapshot |
41 |
+ |
42 |
+DESCRIPTION="API wrapper for Pushover" |
43 |
+HOMEPAGE="https://github.com/karanlyons/chump" |
44 |
+# PyPI tarballs currently don't contain docs |
45 |
+# https://github.com/karanlyons/chump/pull/10 |
46 |
+# Releases are not tagged on GitHub |
47 |
+# https://github.com/karanlyons/chump/issues/9 |
48 |
+SRC_URI="https://github.com/karanlyons/${PN}/archive/0cd59e14267858ab6623d7aa42badc6caa9b8edf.tar.gz -> ${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="Apache-2.0" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+IUSE="doc" |
54 |
+ |
55 |
+DEPEND=" |
56 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
57 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
58 |
+" |
59 |
+ |
60 |
+python_prepare_all() { |
61 |
+ sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die |
62 |
+ distutils-r1_python_prepare_all |
63 |
+} |
64 |
+ |
65 |
+python_compile_all() { |
66 |
+ # Force sphinx to use the standard theme |
67 |
+ use doc && READTHEDOCS=True emake -C docs html |
68 |
+} |
69 |
+ |
70 |
+python_install_all() { |
71 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
72 |
+ distutils-r1_python_install_all |
73 |
+} |
74 |
|
75 |
diff --git a/dev-python/chump/metadata.xml b/dev-python/chump/metadata.xml |
76 |
index b009034..5779813 100644 |
77 |
--- a/dev-python/chump/metadata.xml |
78 |
+++ b/dev-python/chump/metadata.xml |
79 |
@@ -13,5 +13,6 @@ |
80 |
<remote-id type="pypi">chump</remote-id> |
81 |
<remote-id type="github">karanlyons/chump</remote-id> |
82 |
<bugs-to>https://github.com/karanlyons/chump/issues</bugs-to> |
83 |
+ <changelog>https://github.com/karanlyons/chump/blob/master/HISTORY.rst</changelog> |
84 |
</upstream> |
85 |
</pkgmetadata> |