1 |
commit: 9fb818b562d8528e17de0bb39e456d19e0950a8d |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 4 20:45:12 2019 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 4 22:58:03 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fb818b5 |
7 |
|
8 |
dev-python/sphinxcontrib-github-alt: bump to 1.1 |
9 |
|
10 |
Also, drop py2 |
11 |
|
12 |
Bug: https://bugs.gentoo.org/685040 |
13 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
14 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
15 |
|
16 |
dev-python/sphinxcontrib-github-alt/Manifest | 1 + |
17 |
.../sphinxcontrib-github-alt-1.1-setup.py.patch | 19 ++++++++++++ |
18 |
.../sphinxcontrib-github-alt-1.1.ebuild | 35 ++++++++++++++++++++++ |
19 |
3 files changed, 55 insertions(+) |
20 |
|
21 |
diff --git a/dev-python/sphinxcontrib-github-alt/Manifest b/dev-python/sphinxcontrib-github-alt/Manifest |
22 |
index e920d1f03a0..b291ce0791c 100644 |
23 |
--- a/dev-python/sphinxcontrib-github-alt/Manifest |
24 |
+++ b/dev-python/sphinxcontrib-github-alt/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST sphinxcontrib-github-alt-1.0.tar.gz 3213 BLAKE2B b2449c0b635769735a23187f422f05c21c52098bd25057f4dfec5412040992417451ba21bd85dcdd71c75fe2d0ac935f745b6595bf5c77bb3facf91d48a39cef SHA512 57f5ab3a5d679634ce0c2ea8c78069f37ed5a5d3c32fe6cf61851ed4a9e8b6b9b6c882f486eb84914153b4121dacc25fd4b11edee111630001ae9bc324f2250e |
27 |
+DIST sphinxcontrib-github-alt-1.1.tar.gz 3312 BLAKE2B 4665c873bff44a65b0aaac4ea853ac4edc3447850f6c18a8c7b717a84e158c6cf0c16116bbfdff8f3419b8448272a180c57283c324ab5052359da4522937abbf SHA512 b7af74e3762d51663bcc8a33d10bb63ae5fd24e220919719de5ff9421ec2ae854b84bb9f17f379fa174996edc2160580fb49b0030bab4cadbdfbcbf0a0cd509d |
28 |
|
29 |
diff --git a/dev-python/sphinxcontrib-github-alt/files/sphinxcontrib-github-alt-1.1-setup.py.patch b/dev-python/sphinxcontrib-github-alt/files/sphinxcontrib-github-alt-1.1-setup.py.patch |
30 |
new file mode 100644 |
31 |
index 00000000000..37269d0373a |
32 |
--- /dev/null |
33 |
+++ b/dev-python/sphinxcontrib-github-alt/files/sphinxcontrib-github-alt-1.1-setup.py.patch |
34 |
@@ -0,0 +1,19 @@ |
35 |
+setup.py for sphinxcontrib_github_alt by Marius Brehler <marbre@××××××××××××××.de>. |
36 |
+ |
37 |
+Patch by Marius Brehler <marbrbre@××××××××××××××.de>. |
38 |
+--- /dev/null |
39 |
++++ b/setup.py |
40 |
+@@ -0,0 +1,12 @@ |
41 |
++from distutils.core import setup |
42 |
++ |
43 |
++setup(name='sphinxcontrib_github_alt', |
44 |
++ version='1.1', |
45 |
++ author='Jupyter Development Team', |
46 |
++ author_email='jupyter@××××××××××××.com', |
47 |
++ url='https://github.com/jupyter/sphinxcontrib_github_alt', |
48 |
++ packages=['sphinxcontrib_github_alt'], |
49 |
++ classifiers=[ |
50 |
++ 'License :: OSI Approved :: BSD License' |
51 |
++ ] |
52 |
++) |
53 |
+\ No newline at end of file |
54 |
|
55 |
diff --git a/dev-python/sphinxcontrib-github-alt/sphinxcontrib-github-alt-1.1.ebuild b/dev-python/sphinxcontrib-github-alt/sphinxcontrib-github-alt-1.1.ebuild |
56 |
new file mode 100644 |
57 |
index 00000000000..e26121edc89 |
58 |
--- /dev/null |
59 |
+++ b/dev-python/sphinxcontrib-github-alt/sphinxcontrib-github-alt-1.1.ebuild |
60 |
@@ -0,0 +1,35 @@ |
61 |
+# Copyright 1999-2019 Gentoo Authors |
62 |
+# Distributed under the terms of the GNU General Public License v2 |
63 |
+ |
64 |
+EAPI=7 |
65 |
+ |
66 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
67 |
+ |
68 |
+inherit distutils-r1 |
69 |
+ |
70 |
+MY_PN="sphinxcontrib_github_alt" |
71 |
+ |
72 |
+DESCRIPTION="Link to GitHub issues, pull requests, commits and users from Sphinx docs" |
73 |
+HOMEPAGE="https://github.com/jupyter/sphinxcontrib_github_alt" |
74 |
+SRC_URI="https://github.com/jupyter/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
75 |
+ |
76 |
+LICENSE="BSD-2" |
77 |
+SLOT="0" |
78 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
79 |
+ |
80 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
81 |
+RDEPEND=" |
82 |
+ dev-python/sphinx[${PYTHON_USEDEP}]" |
83 |
+ |
84 |
+PATCHES=( |
85 |
+ "${FILESDIR}/${PN}"-1.1-setup.py.patch |
86 |
+ "${FILESDIR}/${PN}"-1.0-init.py.patch |
87 |
+) |
88 |
+ |
89 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
90 |
+ |
91 |
+python_prepare_all() { |
92 |
+ distutils-r1_python_prepare_all |
93 |
+ |
94 |
+ mv "${WORKDIR}/${MY_PN}-${PV}"/sphinxcontrib_github_alt.py "${WORKDIR}/${MY_PN}-${PV}/${MY_PN}/" || die |
95 |
+} |