1 |
commit: e9e20466baab03a3be8f50a745e0563bcdc7e629 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 30 08:32:20 2017 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 30 08:33:15 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9e20466 |
7 |
|
8 |
dev-python/jupyter_client: switch the build system to setuptools. |
9 |
|
10 |
The upstream has switched to setuptools in their master branch |
11 |
in order to have jupyter-{kernelspec,run} scripts properly |
12 |
installed. We adopt it. |
13 |
|
14 |
Remove old versions. |
15 |
|
16 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
17 |
|
18 |
dev-python/jupyter_client/Manifest | 3 -- |
19 |
.../jupyter_client/jupyter_client-4.1.1.ebuild | 36 ---------------------- |
20 |
.../jupyter_client/jupyter_client-4.2.2.ebuild | 36 ---------------------- |
21 |
.../jupyter_client/jupyter_client-4.3.0.ebuild | 36 ---------------------- |
22 |
...5.1.0.ebuild => jupyter_client-5.1.0-r1.ebuild} | 3 ++ |
23 |
5 files changed, 3 insertions(+), 111 deletions(-) |
24 |
|
25 |
diff --git a/dev-python/jupyter_client/Manifest b/dev-python/jupyter_client/Manifest |
26 |
index 841ab262ec4..f33cf059c0e 100644 |
27 |
--- a/dev-python/jupyter_client/Manifest |
28 |
+++ b/dev-python/jupyter_client/Manifest |
29 |
@@ -1,5 +1,2 @@ |
30 |
-DIST jupyter_client-4.1.1.tar.gz 250227 SHA256 ff1ef5c6c3031a62db46ec6329867b4cb1595e6102a7819b3b5252b0c524bdb8 SHA512 08104fef5fd2522944ac5f1b2140a8267ffd97b0dba518f9fa792c08102ff8dbc4def592150433dfd893aed3596876ff254c9ea17b9b2e7a9622f773bd9d2606 WHIRLPOOL d7164a07a43c5d6cd78b30bedb6ec8e8bc367cca4ddf920fee27edc9337d6f1124ae840546d90d47ad1c0a84bd1677e452925c022cebfa5556c499f7fa8ee18d |
31 |
-DIST jupyter_client-4.2.2.tar.gz 254282 SHA256 3ffc530eff0518fd9bfe3662423a2bec15d0628b9ca159921dd72f34ae004a14 SHA512 d6393095caebb47aca7c0657f0947246d126d40c420173388d34cae2542f12b9ad916659c22b5c7c12901690006bd2ecb736a6c0203cc17a07b9e77e4d750485 WHIRLPOOL 6be03a2ab9896bebec57e7d429edf923dd12c0880451ecd7efc58ff08e257976f66125568bba90626df14dadf94e98d8e832a36d2d5d7d54427b5502df909f20 |
32 |
-DIST jupyter_client-4.3.0.tar.gz 254610 SHA256 70b2e88403835a1d54b83858783d9e5e5771fa4bb6f6904e0b5bb8cfde4b99dd SHA512 392de9731069d604402d67a3b2f77a7eab1df5ec7b3acc4f72724ca75db790bef672d132603c243d5e369cfe4496f1454a58e171d63eacc3abb9545b764ec21d WHIRLPOOL a6f6a38ad1192f2fc12fe51f286305503bd2fc84bd3d439da854a88c5eadbe593b34059ff79cd53ec2e384ad1eb1953d70f47f095aa1bf2036e4ad1b6ca665f4 |
33 |
DIST jupyter_client-4.4.0.tar.gz 256379 SHA256 c99a52fac2e5b7a3b714e9252ebf72cbf97536d556ae2b5082baccc3e5cd52ee SHA512 a5b35812e5a5f2435888c07fcdeb4dc3fb8abfd13143579cb519cf349da12e7e94ed53d7655bf5a51191f9cfc8175ecac606ace23b90a5dc91b72878b0e87e80 WHIRLPOOL ca2ffc030ee9ba89ce7c97feea775a70d936e5e89d9f0930b098f249f3e2501dcc92ae9455241f0285fba9c344b3dbcbaf30715f2428a0081f478a2c58712678 |
34 |
DIST jupyter_client-5.1.0.tar.gz 265233 SHA256 08756b021765c97bc5665390700a4255c2df31666ead8bff116b368d09912aba SHA512 eca7adab1f8aae05743c341a257d4ca4338b0838cc3441939dda48229cdfa13b267bdc338b951bc4e6e139d03d26b40a1294140218f84ab800d211f7e0d8bfc7 WHIRLPOOL 7b121394caea86739eac46a709fd725f6a000404c4006543fab543cd7e09faeff088a7a72444dce8aa02d75743d9270e9c68179644070625a86d20d87af3a3b2 |
35 |
|
36 |
diff --git a/dev-python/jupyter_client/jupyter_client-4.1.1.ebuild b/dev-python/jupyter_client/jupyter_client-4.1.1.ebuild |
37 |
deleted file mode 100644 |
38 |
index e208ee11ec7..00000000000 |
39 |
--- a/dev-python/jupyter_client/jupyter_client-4.1.1.ebuild |
40 |
+++ /dev/null |
41 |
@@ -1,36 +0,0 @@ |
42 |
-# Copyright 1999-2015 Gentoo Foundation |
43 |
-# Distributed under the terms of the GNU General Public License v2 |
44 |
- |
45 |
-EAPI=5 |
46 |
- |
47 |
-PYTHON_COMPAT=( python2_7 python3_{4,5} ) |
48 |
-PYTHON_REQ_USE="threads(+)" |
49 |
- |
50 |
-inherit distutils-r1 |
51 |
- |
52 |
-DESCRIPTION="Jupyter protocol implementation and client libraries" |
53 |
-HOMEPAGE="http://jupyter.org" |
54 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
55 |
- |
56 |
-LICENSE="BSD" |
57 |
-SLOT="0" |
58 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
59 |
-IUSE="test" |
60 |
- |
61 |
-RDEPEND=" |
62 |
- dev-python/traitlets[${PYTHON_USEDEP}] |
63 |
- dev-python/jupyter_core[${PYTHON_USEDEP}] |
64 |
- >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}] |
65 |
- " |
66 |
-DEPEND="${RDEPEND} |
67 |
- test? ( |
68 |
- dev-python/nose[${PYTHON_USEDEP}] |
69 |
- dev-python/coverage[${PYTHON_USEDEP}] |
70 |
- $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) |
71 |
- dev-python/ipykernel[${PYTHON_USEDEP}] |
72 |
- ) |
73 |
- " |
74 |
- |
75 |
-python_test() { |
76 |
- nosetests --with-coverage jupyter_client || die |
77 |
-} |
78 |
|
79 |
diff --git a/dev-python/jupyter_client/jupyter_client-4.2.2.ebuild b/dev-python/jupyter_client/jupyter_client-4.2.2.ebuild |
80 |
deleted file mode 100644 |
81 |
index 413c66eabee..00000000000 |
82 |
--- a/dev-python/jupyter_client/jupyter_client-4.2.2.ebuild |
83 |
+++ /dev/null |
84 |
@@ -1,36 +0,0 @@ |
85 |
-# Copyright 1999-2016 Gentoo Foundation |
86 |
-# Distributed under the terms of the GNU General Public License v2 |
87 |
- |
88 |
-EAPI=6 |
89 |
- |
90 |
-PYTHON_COMPAT=( python2_7 python3_{4,5} ) |
91 |
-PYTHON_REQ_USE="threads(+)" |
92 |
- |
93 |
-inherit distutils-r1 |
94 |
- |
95 |
-DESCRIPTION="Jupyter protocol implementation and client libraries" |
96 |
-HOMEPAGE="http://jupyter.org" |
97 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
98 |
- |
99 |
-LICENSE="BSD" |
100 |
-SLOT="0" |
101 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
102 |
-IUSE="test" |
103 |
- |
104 |
-RDEPEND=" |
105 |
- dev-python/traitlets[${PYTHON_USEDEP}] |
106 |
- dev-python/jupyter_core[${PYTHON_USEDEP}] |
107 |
- >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}] |
108 |
- " |
109 |
-DEPEND="${RDEPEND} |
110 |
- test? ( |
111 |
- dev-python/nose[${PYTHON_USEDEP}] |
112 |
- dev-python/coverage[${PYTHON_USEDEP}] |
113 |
- $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) |
114 |
- dev-python/ipykernel[${PYTHON_USEDEP}] |
115 |
- ) |
116 |
- " |
117 |
- |
118 |
-python_test() { |
119 |
- nosetests --with-coverage jupyter_client || die |
120 |
-} |
121 |
|
122 |
diff --git a/dev-python/jupyter_client/jupyter_client-4.3.0.ebuild b/dev-python/jupyter_client/jupyter_client-4.3.0.ebuild |
123 |
deleted file mode 100644 |
124 |
index 9cd5ea69b4a..00000000000 |
125 |
--- a/dev-python/jupyter_client/jupyter_client-4.3.0.ebuild |
126 |
+++ /dev/null |
127 |
@@ -1,36 +0,0 @@ |
128 |
-# Copyright 1999-2016 Gentoo Foundation |
129 |
-# Distributed under the terms of the GNU General Public License v2 |
130 |
- |
131 |
-EAPI=6 |
132 |
- |
133 |
-PYTHON_COMPAT=( python2_7 python3_{4,5} ) |
134 |
-PYTHON_REQ_USE="threads(+)" |
135 |
- |
136 |
-inherit distutils-r1 |
137 |
- |
138 |
-DESCRIPTION="Jupyter protocol implementation and client libraries" |
139 |
-HOMEPAGE="http://jupyter.org" |
140 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
141 |
- |
142 |
-LICENSE="BSD" |
143 |
-SLOT="0" |
144 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
145 |
-IUSE="test" |
146 |
- |
147 |
-RDEPEND=" |
148 |
- dev-python/traitlets[${PYTHON_USEDEP}] |
149 |
- dev-python/jupyter_core[${PYTHON_USEDEP}] |
150 |
- >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}] |
151 |
- " |
152 |
-DEPEND="${RDEPEND} |
153 |
- test? ( |
154 |
- dev-python/nose[${PYTHON_USEDEP}] |
155 |
- dev-python/coverage[${PYTHON_USEDEP}] |
156 |
- $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) |
157 |
- dev-python/ipykernel[${PYTHON_USEDEP}] |
158 |
- ) |
159 |
- " |
160 |
- |
161 |
-python_test() { |
162 |
- nosetests --with-coverage --cover-package jupyter_client jupyter_client || die |
163 |
-} |
164 |
|
165 |
diff --git a/dev-python/jupyter_client/jupyter_client-5.1.0.ebuild b/dev-python/jupyter_client/jupyter_client-5.1.0-r1.ebuild |
166 |
similarity index 90% |
167 |
rename from dev-python/jupyter_client/jupyter_client-5.1.0.ebuild |
168 |
rename to dev-python/jupyter_client/jupyter_client-5.1.0-r1.ebuild |
169 |
index 74c4a38d738..f58b4e92548 100644 |
170 |
--- a/dev-python/jupyter_client/jupyter_client-5.1.0.ebuild |
171 |
+++ b/dev-python/jupyter_client/jupyter_client-5.1.0-r1.ebuild |
172 |
@@ -24,6 +24,7 @@ RDEPEND=" |
173 |
>=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}] |
174 |
" |
175 |
DEPEND="${RDEPEND} |
176 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
177 |
test? ( |
178 |
dev-python/pytest[${PYTHON_USEDEP}] |
179 |
dev-python/pytest-cov[${PYTHON_USEDEP}] |
180 |
@@ -35,3 +36,5 @@ DEPEND="${RDEPEND} |
181 |
python_test() { |
182 |
pytest --cov jupyter_client jupyter_client || die |
183 |
} |
184 |
+ |
185 |
+PATCHES=( "${FILESDIR}"/${PN}-5.1.0-setuptools.patch ) |