pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-sigal



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Feb 26 09:39:03 UTC 2025

Modified Files:
        pkgsrc/www/py-sigal: Makefile PLIST distinfo
Removed Files:
        pkgsrc/www/py-sigal/patches: patch-src_sigal_gallery.py
            patch-src_sigal_image.py

Log Message:
py-sigal: updated to 2.5

2.5

Add data files for themes and plugins using setuptools package-data
Cache input_size to make updating faster
Clarify default value of keep_orig in config comments
Allow sorting by negative numbers
Only copy the static/theme files once
sigal serve --browser : open in your default browser
Added support for display_timestamp setting
Bump codecov/codecov-action from 4 to 5 in /.github/workflows in the actions group
Update Photoswipe to v5
Add basic support for .heic files


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/py-sigal/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-sigal/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-sigal/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/www/py-sigal/patches/patch-src_sigal_gallery.py \
    pkgsrc/www/py-sigal/patches/patch-src_sigal_image.py

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

Modified files:

Index: pkgsrc/www/py-sigal/Makefile
diff -u pkgsrc/www/py-sigal/Makefile:1.8 pkgsrc/www/py-sigal/Makefile:1.9
--- pkgsrc/www/py-sigal/Makefile:1.8    Mon Nov 11 07:29:27 2024
+++ pkgsrc/www/py-sigal/Makefile        Wed Feb 26 09:39:03 2025
@@ -1,35 +1,34 @@
-# $NetBSD: Makefile,v 1.8 2024/11/11 07:29:27 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2025/02/26 09:39:03 adam Exp $
 
-DISTNAME=      sigal-2.4
+DISTNAME=      sigal-2.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/sigal/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://pypi.org/project/sigal/
+HOMEPAGE=      https://github.com/saimn/sigal
 COMMENT=       Simple static gallery generator
 LICENSE=       mit
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=64:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4:../../devel/py-setuptools_scm
 DEPENDS+=      ffmpeg7-[0-9]*:../../multimedia/ffmpeg7
+DEPENDS+=      ${PYPKGPREFIX}-Pillow>=8.0.0:../../graphics/py-Pillow
 DEPENDS+=      ${PYPKGPREFIX}-blinker-[0-9]*:../../devel/py-blinker
 DEPENDS+=      ${PYPKGPREFIX}-click-[0-9]*:../../devel/py-click
-DEPENDS+=      ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
-DEPENDS+=      ${PYPKGPREFIX}-feedgenerator-[0-9]*:../../www/py-feedgenerator
 DEPENDS+=      ${PYPKGPREFIX}-jinja2>=2.7:../../textproc/py-jinja2
 DEPENDS+=      ${PYPKGPREFIX}-markdown-[0-9]*:../../textproc/py-markdown
 DEPENDS+=      ${PYPKGPREFIX}-natsort-[0-9]*:../../textproc/py-natsort
-DEPENDS+=      ${PYPKGPREFIX}-Pillow>=8.0:../../graphics/py-Pillow
 DEPENDS+=      ${PYPKGPREFIX}-pilkit-[0-9]*:../../graphics/py-pilkit
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+# optional
+DEPENDS+=      ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
+DEPENDS+=      ${PYPKGPREFIX}-feedgenerator-[0-9]*:../../www/py-feedgenerator
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 
 USE_LANGUAGES= # none
 
 SUBST_CLASSES+=                ffmpeg
-SUBST_SED.ffmpeg+=     -e "s,ffmpeg,${PREFIX}/bin/ffmpeg6,"
+SUBST_SED.ffmpeg+=     -e "s,ffmpeg,${PREFIX}/bin/ffmpeg7,"
 SUBST_FILES.ffmpeg+=   src/sigal/settings.py
 SUBST_FILES.ffmpeg+=   src/sigal/video.py
 SUBST_STAGE.ffmpeg=    pre-build
@@ -38,8 +37,5 @@ SUBST_MESSAGE.ffmpeg= Fixing ffmpeg path
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && mv sigal sigal-${PYVERSSUFFIX} || ${TRUE}
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-sigal/PLIST
diff -u pkgsrc/www/py-sigal/PLIST:1.4 pkgsrc/www/py-sigal/PLIST:1.5
--- pkgsrc/www/py-sigal/PLIST:1.4       Sat Oct 28 19:57:25 2023
+++ pkgsrc/www/py-sigal/PLIST   Wed Feb 26 09:39:03 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2023/10/28 19:57:25 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2025/02/26 09:39:03 adam Exp $
 bin/sigal-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -63,9 +63,6 @@ ${PYSITELIB}/sigal/plugins/nonmedia_file
 ${PYSITELIB}/sigal/plugins/titleregexp.py
 ${PYSITELIB}/sigal/plugins/titleregexp.pyc
 ${PYSITELIB}/sigal/plugins/titleregexp.pyo
-${PYSITELIB}/sigal/plugins/upload_s3.py
-${PYSITELIB}/sigal/plugins/upload_s3.pyc
-${PYSITELIB}/sigal/plugins/upload_s3.pyo
 ${PYSITELIB}/sigal/plugins/watermark.py
 ${PYSITELIB}/sigal/plugins/watermark.pyc
 ${PYSITELIB}/sigal/plugins/watermark.pyo
@@ -122,6 +119,7 @@ ${PYSITELIB}/sigal/themes/default/templa
 ${PYSITELIB}/sigal/themes/default/templates/breadcrumb.html
 ${PYSITELIB}/sigal/themes/default/templates/decrypt.html
 ${PYSITELIB}/sigal/themes/default/templates/default_head.html
+${PYSITELIB}/sigal/themes/default/templates/description.html
 ${PYSITELIB}/sigal/themes/default/templates/download_zip.html
 ${PYSITELIB}/sigal/themes/default/templates/footer.html
 ${PYSITELIB}/sigal/themes/default/templates/gtm.html
@@ -168,21 +166,19 @@ ${PYSITELIB}/sigal/themes/galleria/templ
 ${PYSITELIB}/sigal/themes/galleria/templates/album_items.html
 ${PYSITELIB}/sigal/themes/galleria/templates/album_list.html
 ${PYSITELIB}/sigal/themes/galleria/templates/base.html
-${PYSITELIB}/sigal/themes/photoswipe/static/app.js
-${PYSITELIB}/sigal/themes/photoswipe/static/default-skin/default-skin.css
-${PYSITELIB}/sigal/themes/photoswipe/static/default-skin/default-skin.css.map
-${PYSITELIB}/sigal/themes/photoswipe/static/default-skin/default-skin.png
-${PYSITELIB}/sigal/themes/photoswipe/static/default-skin/default-skin.svg
-${PYSITELIB}/sigal/themes/photoswipe/static/default-skin/preloader.gif
-${PYSITELIB}/sigal/themes/photoswipe/static/echo/blank.gif
-${PYSITELIB}/sigal/themes/photoswipe/static/echo/echo.js
-${PYSITELIB}/sigal/themes/photoswipe/static/echo/echo.min.js
-${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe-ui-default.js
-${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe-ui-default.min.js
+${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe-dynamic-caption-plugin.esm.js
+${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe-dynamic-caption-plugin.esm.min.js
+${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe-fullscreen.esm.js
+${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe-fullscreen.esm.min.js
+${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe-lightbox.esm.js
+${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe-lightbox.esm.js.map
+${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe-lightbox.esm.min.js
+${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe-video-plugin.esm.js
+${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe-video-plugin.esm.min.js
 ${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe.css
-${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe.css.map
-${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe.js
-${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe.min.js
+${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe.esm.js
+${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe.esm.js.map
+${PYSITELIB}/sigal/themes/photoswipe/static/photoswipe.esm.min.js
 ${PYSITELIB}/sigal/themes/photoswipe/static/styles.css
 ${PYSITELIB}/sigal/themes/photoswipe/templates/album.html
 ${PYSITELIB}/sigal/themes/photoswipe/templates/album_list.html

Index: pkgsrc/www/py-sigal/distinfo
diff -u pkgsrc/www/py-sigal/distinfo:1.3 pkgsrc/www/py-sigal/distinfo:1.4
--- pkgsrc/www/py-sigal/distinfo:1.3    Thu Oct 19 15:39:44 2023
+++ pkgsrc/www/py-sigal/distinfo        Wed Feb 26 09:39:03 2025
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.3 2023/10/19 15:39:44 wiz Exp $
+$NetBSD: distinfo,v 1.4 2025/02/26 09:39:03 adam Exp $
 
-BLAKE2s (sigal-2.4.tar.gz) = 5fab877c426c6bda5dd839f784b060b33cbc0a5ccd2c2c2a788c70a98d00c76d
-SHA512 (sigal-2.4.tar.gz) = 1cc53760a73ae868491714d22a3108eaf95a84d61895591349b644ea523f0dfd88344c1e09f0792eb23164dd113833ac4bb112f687ef551ce15f70b6c70b07d3
-Size (sigal-2.4.tar.gz) = 4773394 bytes
-SHA1 (patch-src_sigal_gallery.py) = bf5b5100947b77799d84f24223c0aa3956138d81
-SHA1 (patch-src_sigal_image.py) = 9eccca4fd65e05b8d676038362c95c5ee8225502
+BLAKE2s (sigal-2.5.tar.gz) = d3b0e2d45466a7b6a23f00c1103d1fe163dad93d8c683a0fc615c1ea9dc0035a
+SHA512 (sigal-2.5.tar.gz) = 9593d9563dc49a2911149aa9bc046ac42563bf78aab221502718d4cf330c38f19e65f51e582115e61d24f3e9d17cf90e5b68b197c956ca702f6490734e5bbd2c
+Size (sigal-2.5.tar.gz) = 4978240 bytes



Home | Main Index | Thread Index | Old Index