pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-jupyter_core py-jupyter_core: updated to 4.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/030e81bd717a
branches:  trunk
changeset: 371071:030e81bd717a
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Nov 02 10:47:37 2017 +0000

description:
py-jupyter_core: updated to 4.4.0

4.4.0:
- ``jupyter troubleshoot`` gets the list of packages from the Python environment
  it's in, by using ``sys.executable`` to call ``pip list``.
- Added utility function ``ensure_dir_exists``, and switched to using it over
  the one from ipython_genutils, which does permissions wrong.
- Avoid creating the ``~/.ipython`` directory when checking if it exists for
  config migration.
- Fix mistaken description in zsh completions.
- Fix subcommand tests on Windows.
- The README now describes how to work on ``jupyter_core`` and build the docs
- Fix a broken link to a release in the docs

diffstat:

 devel/py-jupyter_core/Makefile |  19 ++++++++++++-------
 devel/py-jupyter_core/distinfo |  10 +++++-----
 2 files changed, 17 insertions(+), 12 deletions(-)

diffs (53 lines):

diff -r 7fd3923c678f -r 030e81bd717a devel/py-jupyter_core/Makefile
--- a/devel/py-jupyter_core/Makefile    Thu Nov 02 10:38:36 2017 +0000
+++ b/devel/py-jupyter_core/Makefile    Thu Nov 02 10:47:37 2017 +0000
@@ -1,22 +1,27 @@
-# $NetBSD: Makefile,v 1.1 2017/04/23 04:23:52 markd Exp $
+# $NetBSD: Makefile,v 1.2 2017/11/02 10:47:37 adam Exp $
 
-DISTNAME=      jupyter_core-4.3.0
+DISTNAME=      jupyter_core-4.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    devel
+CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=j/jupyter_core/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://jupyter.org
+HOMEPAGE=      http://jupyter.org/
 COMMENT=       Jupyter core package
 LICENSE=       modified-bsd
 
-DEPENDS+=       ${PYPKGPREFIX}-traitlets>=4.1.0:../../devel/py-traitlets
+DEPENDS+=      ${PYPKGPREFIX}-traitlets>=4.1.0:../../devel/py-traitlets
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 USE_LANGUAGES= # none
 
 post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/jupyter ${DESTDIR}${PREFIX}/bin/jupyter${PYVERSSUFFIX}
-       ${MV} ${DESTDIR}${PREFIX}/bin/jupyter-migrate ${DESTDIR}${PREFIX}/bin/jupyter-migrate${PYVERSSUFFIX}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} jupyter jupyter${PYVERSSUFFIX} && \
+       ${MV} jupyter-migrate jupyter-migrate${PYVERSSUFFIX} || ${TRUE}
+
+do-test:
+       cd ${WRKSRC}/jupyter_core && py.test-${PYVERSSUFFIX}
 
 .include "../../lang/python/distutils.mk"
 .include "../../lang/python/application.mk"
diff -r 7fd3923c678f -r 030e81bd717a devel/py-jupyter_core/distinfo
--- a/devel/py-jupyter_core/distinfo    Thu Nov 02 10:38:36 2017 +0000
+++ b/devel/py-jupyter_core/distinfo    Thu Nov 02 10:47:37 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/04/23 04:23:52 markd Exp $
+$NetBSD: distinfo,v 1.2 2017/11/02 10:47:37 adam Exp $
 
-SHA1 (jupyter_core-4.3.0.tar.gz) = 7ae489bdea8f2d117af5a9b9e1a662d51c99e696
-RMD160 (jupyter_core-4.3.0.tar.gz) = bbecbc5f5cde82a084aa4b523212f3dc8777e956
-SHA512 (jupyter_core-4.3.0.tar.gz) = 8e84cae53e035e3a3d29fe3b64246ce75bed291165db4ae7fcad472e1f1523d740ac168cb97330844548f3df3d7d82cd833886c1b755761b93e01153500961b1
-Size (jupyter_core-4.3.0.tar.gz) = 57998 bytes
+SHA1 (jupyter_core-4.4.0.tar.gz) = 24ac33f4a1b1ff8e946cb1d563eb5989fdf8c6ef
+RMD160 (jupyter_core-4.4.0.tar.gz) = 1949d15f4f635b6919cbd07dbdd05f98702728cd
+SHA512 (jupyter_core-4.4.0.tar.gz) = 387f7f98f640b85ff0a24f11e1beae5a851d7eb3ba4a423be028940cb018c0d0ddf42ae8a1c397e3e4cafa560d3a5385b39bb8794448c7c010be7f0ddcba8a9e
+Size (jupyter_core-4.4.0.tar.gz) = 63613 bytes



Home | Main Index | Thread Index | Old Index