pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-sphinx-gallery



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Apr 30 07:28:26 UTC 2024

Modified Files:
        pkgsrc/textproc/py-sphinx-gallery: Makefile PLIST distinfo
Added Files:
        pkgsrc/textproc/py-sphinx-gallery: ALTERNATIVES

Log Message:
py-sphinx-gallery: updated to 0.16.0

v0.16.0
-------
Sphinx 7.3.0 and above changed caching and serialization checks. Now instead of passing
instantiated classes like ``ResetArgv()``, classes like ``FileNameSortKey``, or
callables like ``notebook_modification_function`` in  ``sphinx_gallery_conf``,
you should pass fully qualified name strings to classes or callables. If you change
to using name strings, you can simply use a function as the use of classes to ensure
a stable ``__repr__`` would be redundant.

See :ref:`importing_callables` for details.

**Implemented enhancements:**

-  ENH: Allow plain list as subsection_order and support a wildcard
-  [ENH] Minigallery can take arbitrary files/glob patterns as inputcom/story645>`__)

**Fixed bugs:**

-  BUG: Fix serialization with Sphinx 7.3
-  ENH: minigallery_sort_order on full path
-  BUG: ``UnicodeDecodeError`` in recommender

**Documentation**

-  DOC Update FFMpeg note in conf animation docs
-  readme: adding quickstart section
-  readme: add link to docs
-  DOC Clarify sub level example gallery
-  DOC Mention ``image_srcset`` config in scraper section in ``advanced.rst``
-  BUG: Fix errors in example usage of ignore_repr_types and reset_argv
-  DOC Use ‘nested_sections’ ``True`` for docs
-  fix: Missing full stop in download message
-  Add HyperSpy and kikuchipy to ‘who uses’
-  DOC: Fix formatting in contribute.rst


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-sphinx-gallery/ALTERNATIVES
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/py-sphinx-gallery/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/py-sphinx-gallery/PLIST \
    pkgsrc/textproc/py-sphinx-gallery/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-sphinx-gallery/Makefile
diff -u pkgsrc/textproc/py-sphinx-gallery/Makefile:1.3 pkgsrc/textproc/py-sphinx-gallery/Makefile:1.4
--- pkgsrc/textproc/py-sphinx-gallery/Makefile:1.3      Sun Feb  4 19:35:31 2024
+++ pkgsrc/textproc/py-sphinx-gallery/Makefile  Tue Apr 30 07:28:26 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2024/02/04 19:35:31 adam Exp $
+# $NetBSD: Makefile,v 1.4 2024/04/30 07:28:26 adam Exp $
 
-DISTNAME=      sphinx-gallery-0.15.0
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+DISTNAME=      sphinx_gallery-0.16.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/sphinx-gallery/}
 
@@ -11,6 +11,7 @@ COMMENT=      Sphinx extension that builds an
 LICENSE=       modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
 DEPENDS+=      ${PYPKGPREFIX}-sphinx>=4:../../textproc/py-sphinx
@@ -18,9 +19,11 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-test-cov-[
 
 USE_LANGUAGES= # none
 
-PYTHON_SELF_CONFLICT=  yes
-
 PYTHON_VERSIONS_INCOMPATIBLE=  27 38
 
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} sphinx_gallery_py2jupyter sphinx_gallery_py2jupyter-${PYVERSSUFFIX} || ${TRUE}
+
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-sphinx-gallery/PLIST
diff -u pkgsrc/textproc/py-sphinx-gallery/PLIST:1.2 pkgsrc/textproc/py-sphinx-gallery/PLIST:1.3
--- pkgsrc/textproc/py-sphinx-gallery/PLIST:1.2 Sun Feb  4 19:35:31 2024
+++ pkgsrc/textproc/py-sphinx-gallery/PLIST     Tue Apr 30 07:28:26 2024
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2024/02/04 19:35:31 adam Exp $
-bin/copy_sphinxgallery.sh
-bin/sphx_glr_python_to_jupyter.py
+@comment $NetBSD: PLIST,v 1.3 2024/04/30 07:28:26 adam Exp $
+bin/sphinx_gallery_py2jupyter-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/sphinx_gallery/__init__.py
 ${PYSITELIB}/sphinx_gallery/__init__.pyc
@@ -65,6 +65,7 @@ ${PYSITELIB}/sphinx_gallery/tests/__init
 ${PYSITELIB}/sphinx_gallery/tests/conftest.py
 ${PYSITELIB}/sphinx_gallery/tests/conftest.pyc
 ${PYSITELIB}/sphinx_gallery/tests/conftest.pyo
+${PYSITELIB}/sphinx_gallery/tests/reference_parse.txt
 ${PYSITELIB}/sphinx_gallery/tests/test_backreferences.py
 ${PYSITELIB}/sphinx_gallery/tests/test_backreferences.pyc
 ${PYSITELIB}/sphinx_gallery/tests/test_backreferences.pyo
@@ -107,6 +108,107 @@ ${PYSITELIB}/sphinx_gallery/tests/test_s
 ${PYSITELIB}/sphinx_gallery/tests/test_sorting.py
 ${PYSITELIB}/sphinx_gallery/tests/test_sorting.pyc
 ${PYSITELIB}/sphinx_gallery/tests/test_sorting.pyo
+${PYSITELIB}/sphinx_gallery/tests/testconfs/index.rst
+${PYSITELIB}/sphinx_gallery/tests/testconfs/src/README.txt
+${PYSITELIB}/sphinx_gallery/tests/testconfs/src/plot_1.py
+${PYSITELIB}/sphinx_gallery/tests/testconfs/src/plot_1.pyc
+${PYSITELIB}/sphinx_gallery/tests/testconfs/src/plot_1.pyo
+${PYSITELIB}/sphinx_gallery/tests/testconfs/src/plot_2.py
+${PYSITELIB}/sphinx_gallery/tests/testconfs/src/plot_2.pyc
+${PYSITELIB}/sphinx_gallery/tests/testconfs/src/plot_2.pyo
+${PYSITELIB}/sphinx_gallery/tests/testconfs/src/plot_3.py
+${PYSITELIB}/sphinx_gallery/tests/testconfs/src/plot_3.pyc
+${PYSITELIB}/sphinx_gallery/tests/testconfs/src/plot_3.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/doc/Makefile
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/doc/_static_nonstandard/demo.png
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/doc/_templates/module.rst
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/doc/binder/requirements.txt
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/doc/conf.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/doc/conf.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/doc/conf.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/doc/index.rst
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/doc/make.bat
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/doc/minigallery.rst
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/README.txt
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/__init__.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/__init__.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/__init__.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/future/README.rst
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/future/plot_future_imports.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/future/plot_future_imports.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/future/plot_future_imports.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/future/plot_future_imports_broken.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/future/plot_future_imports_broken.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/future/plot_future_imports_broken.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/isentropic.m
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/julia_sample.jl
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/local_module.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/local_module.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/local_module.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/parse_this.cpp
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_animation.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_animation.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_animation.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_command_line_args.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_command_line_args.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_command_line_args.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_defer_figures.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_defer_figures.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_defer_figures.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_log.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_log.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_log.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_matplotlib_alt.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_matplotlib_alt.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_matplotlib_alt.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_matplotlib_backend.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_matplotlib_backend.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_matplotlib_backend.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_numpy_matplotlib.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_numpy_matplotlib.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_numpy_matplotlib.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_pickle.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_pickle.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_pickle.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_repr.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_repr.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_repr.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_scraper_broken.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_scraper_broken.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_scraper_broken.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_second_future_imports.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_second_future_imports.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_second_future_imports.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_svg.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_svg.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_svg.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_webp.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_webp.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples/plot_webp.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_rst_index/examp_subdir1/README.txt
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_rst_index/examp_subdir1/plot_sub1.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_rst_index/examp_subdir1/plot_sub1.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_rst_index/examp_subdir1/plot_sub1.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_rst_index/examp_subdir2/index.rst
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_rst_index/examp_subdir2/plot_sub2.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_rst_index/examp_subdir2/plot_sub2.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_rst_index/examp_subdir2/plot_sub2.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_rst_index/index.rst
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_rst_index/plot_examp.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_rst_index/plot_examp.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_rst_index/plot_examp.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_with_rst/README.txt
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_with_rst/plot_boo.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_with_rst/plot_boo.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_with_rst/plot_boo.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_with_rst/plot_cos.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_with_rst/plot_cos.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_with_rst/plot_cos.pyo
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_with_rst/rst_example1.rst
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/examples_with_rst/rst_example2.rst
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/utils.py
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/utils.pyc
+${PYSITELIB}/sphinx_gallery/tests/tinybuild/utils.pyo
 ${PYSITELIB}/sphinx_gallery/utils.py
 ${PYSITELIB}/sphinx_gallery/utils.pyc
 ${PYSITELIB}/sphinx_gallery/utils.pyo
Index: pkgsrc/textproc/py-sphinx-gallery/distinfo
diff -u pkgsrc/textproc/py-sphinx-gallery/distinfo:1.2 pkgsrc/textproc/py-sphinx-gallery/distinfo:1.3
--- pkgsrc/textproc/py-sphinx-gallery/distinfo:1.2      Sun Feb  4 19:35:31 2024
+++ pkgsrc/textproc/py-sphinx-gallery/distinfo  Tue Apr 30 07:28:26 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2024/02/04 19:35:31 adam Exp $
+$NetBSD: distinfo,v 1.3 2024/04/30 07:28:26 adam Exp $
 
-BLAKE2s (sphinx-gallery-0.15.0.tar.gz) = d301bb0cd79212d92c35d7d4579d46589c71f9b5a2be58b89506b3b7d67c4e86
-SHA512 (sphinx-gallery-0.15.0.tar.gz) = b6b0d5022da9de27417f8cc72ba24f0d51e57f83c68b17a296269b074888a711d61fcf933fbbfaf4d6977702b3f020d4b0eaa89e78e51185ee2dd26e911fe8be
-Size (sphinx-gallery-0.15.0.tar.gz) = 422363 bytes
+BLAKE2s (sphinx_gallery-0.16.0.tar.gz) = e26244a4b9387beb1d43f2e0091fdc95ac442431f4f8157fa9683d50ad0a3589
+SHA512 (sphinx_gallery-0.16.0.tar.gz) = b45e9141d64b1e277d75f501f2cc40979942953cd8412716e5af64917a3b9adc0a746fbd6249c3636c3db222c1e438ee7f9a9ad93f57b2f05f9ec80a562796c3
+Size (sphinx_gallery-0.16.0.tar.gz) = 432247 bytes

Added files:

Index: pkgsrc/textproc/py-sphinx-gallery/ALTERNATIVES
diff -u /dev/null pkgsrc/textproc/py-sphinx-gallery/ALTERNATIVES:1.1
--- /dev/null   Tue Apr 30 07:28:26 2024
+++ pkgsrc/textproc/py-sphinx-gallery/ALTERNATIVES      Tue Apr 30 07:28:26 2024
@@ -0,0 +1 @@
+bin/sphinx_gallery_py2jupyter @PREFIX@/bin/sphinx_gallery_py2jupyter-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index