commit:     e9e20466baab03a3be8f50a745e0563bcdc7e629
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 30 08:32:20 2017 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed Aug 30 08:33:15 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9e20466

dev-python/jupyter_client: switch the build system to setuptools.

  The upstream has switched to setuptools in their master branch
  in order to have jupyter-{kernelspec,run} scripts properly
  installed.  We adopt it.

  Remove old versions.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/jupyter_client/Manifest                 |  3 --
 .../jupyter_client/jupyter_client-4.1.1.ebuild     | 36 ----------------------
 .../jupyter_client/jupyter_client-4.2.2.ebuild     | 36 ----------------------
 .../jupyter_client/jupyter_client-4.3.0.ebuild     | 36 ----------------------
 ...5.1.0.ebuild => jupyter_client-5.1.0-r1.ebuild} |  3 ++
 5 files changed, 3 insertions(+), 111 deletions(-)

diff --git a/dev-python/jupyter_client/Manifest 
b/dev-python/jupyter_client/Manifest
index 841ab262ec4..f33cf059c0e 100644
--- a/dev-python/jupyter_client/Manifest
+++ b/dev-python/jupyter_client/Manifest
@@ -1,5 +1,2 @@
-DIST jupyter_client-4.1.1.tar.gz 250227 SHA256 
ff1ef5c6c3031a62db46ec6329867b4cb1595e6102a7819b3b5252b0c524bdb8 SHA512 
08104fef5fd2522944ac5f1b2140a8267ffd97b0dba518f9fa792c08102ff8dbc4def592150433dfd893aed3596876ff254c9ea17b9b2e7a9622f773bd9d2606
 WHIRLPOOL 
d7164a07a43c5d6cd78b30bedb6ec8e8bc367cca4ddf920fee27edc9337d6f1124ae840546d90d47ad1c0a84bd1677e452925c022cebfa5556c499f7fa8ee18d
-DIST jupyter_client-4.2.2.tar.gz 254282 SHA256 
3ffc530eff0518fd9bfe3662423a2bec15d0628b9ca159921dd72f34ae004a14 SHA512 
d6393095caebb47aca7c0657f0947246d126d40c420173388d34cae2542f12b9ad916659c22b5c7c12901690006bd2ecb736a6c0203cc17a07b9e77e4d750485
 WHIRLPOOL 
6be03a2ab9896bebec57e7d429edf923dd12c0880451ecd7efc58ff08e257976f66125568bba90626df14dadf94e98d8e832a36d2d5d7d54427b5502df909f20
-DIST jupyter_client-4.3.0.tar.gz 254610 SHA256 
70b2e88403835a1d54b83858783d9e5e5771fa4bb6f6904e0b5bb8cfde4b99dd SHA512 
392de9731069d604402d67a3b2f77a7eab1df5ec7b3acc4f72724ca75db790bef672d132603c243d5e369cfe4496f1454a58e171d63eacc3abb9545b764ec21d
 WHIRLPOOL 
a6f6a38ad1192f2fc12fe51f286305503bd2fc84bd3d439da854a88c5eadbe593b34059ff79cd53ec2e384ad1eb1953d70f47f095aa1bf2036e4ad1b6ca665f4
 DIST jupyter_client-4.4.0.tar.gz 256379 SHA256 
c99a52fac2e5b7a3b714e9252ebf72cbf97536d556ae2b5082baccc3e5cd52ee SHA512 
a5b35812e5a5f2435888c07fcdeb4dc3fb8abfd13143579cb519cf349da12e7e94ed53d7655bf5a51191f9cfc8175ecac606ace23b90a5dc91b72878b0e87e80
 WHIRLPOOL 
ca2ffc030ee9ba89ce7c97feea775a70d936e5e89d9f0930b098f249f3e2501dcc92ae9455241f0285fba9c344b3dbcbaf30715f2428a0081f478a2c58712678
 DIST jupyter_client-5.1.0.tar.gz 265233 SHA256 
08756b021765c97bc5665390700a4255c2df31666ead8bff116b368d09912aba SHA512 
eca7adab1f8aae05743c341a257d4ca4338b0838cc3441939dda48229cdfa13b267bdc338b951bc4e6e139d03d26b40a1294140218f84ab800d211f7e0d8bfc7
 WHIRLPOOL 
7b121394caea86739eac46a709fd725f6a000404c4006543fab543cd7e09faeff088a7a72444dce8aa02d75743d9270e9c68179644070625a86d20d87af3a3b2

diff --git a/dev-python/jupyter_client/jupyter_client-4.1.1.ebuild 
b/dev-python/jupyter_client/jupyter_client-4.1.1.ebuild
deleted file mode 100644
index e208ee11ec7..00000000000
--- a/dev-python/jupyter_client/jupyter_client-4.1.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Jupyter protocol implementation and client libraries"
-HOMEPAGE="http://jupyter.org";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="test"
-
-RDEPEND="
-       dev-python/traitlets[${PYTHON_USEDEP}]
-       dev-python/jupyter_core[${PYTHON_USEDEP}]
-       >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}]
-       "
-DEPEND="${RDEPEND}
-       test? (
-               dev-python/nose[${PYTHON_USEDEP}]
-               dev-python/coverage[${PYTHON_USEDEP}]
-               $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 
python2_7)
-               dev-python/ipykernel[${PYTHON_USEDEP}]
-       )
-       "
-
-python_test() {
-       nosetests --with-coverage jupyter_client || die
-}

diff --git a/dev-python/jupyter_client/jupyter_client-4.2.2.ebuild 
b/dev-python/jupyter_client/jupyter_client-4.2.2.ebuild
deleted file mode 100644
index 413c66eabee..00000000000
--- a/dev-python/jupyter_client/jupyter_client-4.2.2.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Jupyter protocol implementation and client libraries"
-HOMEPAGE="http://jupyter.org";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="test"
-
-RDEPEND="
-       dev-python/traitlets[${PYTHON_USEDEP}]
-       dev-python/jupyter_core[${PYTHON_USEDEP}]
-       >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}]
-       "
-DEPEND="${RDEPEND}
-       test? (
-               dev-python/nose[${PYTHON_USEDEP}]
-               dev-python/coverage[${PYTHON_USEDEP}]
-               $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 
python2_7)
-               dev-python/ipykernel[${PYTHON_USEDEP}]
-       )
-       "
-
-python_test() {
-       nosetests --with-coverage jupyter_client || die
-}

diff --git a/dev-python/jupyter_client/jupyter_client-4.3.0.ebuild 
b/dev-python/jupyter_client/jupyter_client-4.3.0.ebuild
deleted file mode 100644
index 9cd5ea69b4a..00000000000
--- a/dev-python/jupyter_client/jupyter_client-4.3.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Jupyter protocol implementation and client libraries"
-HOMEPAGE="http://jupyter.org";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="test"
-
-RDEPEND="
-       dev-python/traitlets[${PYTHON_USEDEP}]
-       dev-python/jupyter_core[${PYTHON_USEDEP}]
-       >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}]
-       "
-DEPEND="${RDEPEND}
-       test? (
-               dev-python/nose[${PYTHON_USEDEP}]
-               dev-python/coverage[${PYTHON_USEDEP}]
-               $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 
python2_7)
-               dev-python/ipykernel[${PYTHON_USEDEP}]
-       )
-       "
-
-python_test() {
-       nosetests --with-coverage --cover-package jupyter_client jupyter_client 
|| die
-}

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
similarity index 90%
rename from dev-python/jupyter_client/jupyter_client-5.1.0.ebuild
rename to dev-python/jupyter_client/jupyter_client-5.1.0-r1.ebuild
index 74c4a38d738..f58b4e92548 100644
--- a/dev-python/jupyter_client/jupyter_client-5.1.0.ebuild
+++ b/dev-python/jupyter_client/jupyter_client-5.1.0-r1.ebuild
@@ -24,6 +24,7 @@ RDEPEND="
        >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}]
        "
 DEPEND="${RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]
        test? (
                dev-python/pytest[${PYTHON_USEDEP}]
                dev-python/pytest-cov[${PYTHON_USEDEP}]
@@ -35,3 +36,5 @@ DEPEND="${RDEPEND}
 python_test() {
        pytest --cov jupyter_client jupyter_client || die
 }
+
+PATCHES=( "${FILESDIR}"/${PN}-5.1.0-setuptools.patch )

Reply via email to