pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-sigal www/py-sigal: import py-sigal-2.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/43536c7c6fe7
branches:  trunk
changeset: 390109:43536c7c6fe7
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Dec 16 19:34:44 2022 +0000

description:
www/py-sigal: import py-sigal-2.3

Sigal is yet another simple static gallery generator. It's written
in Python and it allows to build a static gallery of images with
the following features:

* Process directories recursively.
* Generate HTML pages using Jinja2 templates.
* Relative links for a portable output.
* Support themes, videos, EXIF tags, zip download.
* Parallel processing.
* MIT licensed.

The idea behind Sigal is to ease the use of the javascript libraries
like galleria. These libraries do a great job to display the images,
Sigal does what is missing: resize images, create thumbnails,
generate HTML pages.

diffstat:

 www/py-sigal/DESCR    |   15 ++++
 www/py-sigal/Makefile |   45 +++++++++++++
 www/py-sigal/PLIST    |  172 ++++++++++++++++++++++++++++++++++++++++++++++++++
 www/py-sigal/distinfo |    5 +
 4 files changed, 237 insertions(+), 0 deletions(-)

diffs (253 lines):

diff -r 493fc0bac414 -r 43536c7c6fe7 www/py-sigal/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-sigal/DESCR        Fri Dec 16 19:34:44 2022 +0000
@@ -0,0 +1,15 @@
+Sigal is yet another simple static gallery generator. It's written
+in Python and it allows to build a static gallery of images with
+the following features:
+
+* Process directories recursively.
+* Generate HTML pages using Jinja2 templates.
+* Relative links for a portable output.
+* Support themes, videos, EXIF tags, zip download.
+* Parallel processing.
+* MIT licensed.
+
+The idea behind Sigal is to ease the use of the javascript libraries
+like galleria. These libraries do a great job to display the images,
+Sigal does what is missing: resize images, create thumbnails,
+generate HTML pages.
diff -r 493fc0bac414 -r 43536c7c6fe7 www/py-sigal/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-sigal/Makefile     Fri Dec 16 19:34:44 2022 +0000
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1 2022/12/16 19:34:44 wiz Exp $
+
+DISTNAME=      sigal-2.3
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    www python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=s/sigal/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://pypi.org/project/sigal/
+COMMENT=       Simple static gallery generator
+LICENSE=       mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ffmpeg5-[0-9]*:../../multimedia/ffmpeg5
+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-[0-9]*:../../graphics/py-Pillow
+DEPENDS+=      ${PYPKGPREFIX}-pilkit-[0-9]*:../../graphics/py-pilkit
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27 37
+
+USE_LANGUAGES= # none
+
+SUBST_CLASSES+=                ffmpeg
+SUBST_SED.ffmpeg+=     -e "s,ffmpeg,${PREFIX}/bin/ffmpeg5,"
+SUBST_FILES.ffmpeg+=   sigal/settings.py
+SUBST_FILES.ffmpeg+=   sigal/video.py
+SUBST_STAGE.ffmpeg=    pre-build
+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"
diff -r 493fc0bac414 -r 43536c7c6fe7 www/py-sigal/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-sigal/PLIST        Fri Dec 16 19:34:44 2022 +0000
@@ -0,0 +1,172 @@
+@comment $NetBSD: PLIST,v 1.1 2022/12/16 19:34:44 wiz Exp $
+bin/sigal-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/sigal/__init__.py
+${PYSITELIB}/sigal/__init__.pyc
+${PYSITELIB}/sigal/gallery.py
+${PYSITELIB}/sigal/gallery.pyc
+${PYSITELIB}/sigal/image.py
+${PYSITELIB}/sigal/image.pyc
+${PYSITELIB}/sigal/log.py
+${PYSITELIB}/sigal/log.pyc
+${PYSITELIB}/sigal/plugins/__init__.py
+${PYSITELIB}/sigal/plugins/__init__.pyc
+${PYSITELIB}/sigal/plugins/adjust.py
+${PYSITELIB}/sigal/plugins/adjust.pyc
+${PYSITELIB}/sigal/plugins/compress_assets.py
+${PYSITELIB}/sigal/plugins/compress_assets.pyc
+${PYSITELIB}/sigal/plugins/copyright.py
+${PYSITELIB}/sigal/plugins/copyright.pyc
+${PYSITELIB}/sigal/plugins/encrypt/__init__.py
+${PYSITELIB}/sigal/plugins/encrypt/__init__.pyc
+${PYSITELIB}/sigal/plugins/encrypt/encrypt.py
+${PYSITELIB}/sigal/plugins/encrypt/encrypt.pyc
+${PYSITELIB}/sigal/plugins/encrypt/endec.py
+${PYSITELIB}/sigal/plugins/encrypt/endec.pyc
+${PYSITELIB}/sigal/plugins/encrypt/static/decrypt.js
+${PYSITELIB}/sigal/plugins/encrypt/static/keycheck.txt
+${PYSITELIB}/sigal/plugins/encrypt/static/sw.js
+${PYSITELIB}/sigal/plugins/extended_caching.py
+${PYSITELIB}/sigal/plugins/extended_caching.pyc
+${PYSITELIB}/sigal/plugins/feeds.py
+${PYSITELIB}/sigal/plugins/feeds.pyc
+${PYSITELIB}/sigal/plugins/media_page.py
+${PYSITELIB}/sigal/plugins/media_page.pyc
+${PYSITELIB}/sigal/plugins/nomedia.py
+${PYSITELIB}/sigal/plugins/nomedia.pyc
+${PYSITELIB}/sigal/plugins/nonmedia_files.py
+${PYSITELIB}/sigal/plugins/nonmedia_files.pyc
+${PYSITELIB}/sigal/plugins/upload_s3.py
+${PYSITELIB}/sigal/plugins/upload_s3.pyc
+${PYSITELIB}/sigal/plugins/watermark.py
+${PYSITELIB}/sigal/plugins/watermark.pyc
+${PYSITELIB}/sigal/plugins/zip_gallery.py
+${PYSITELIB}/sigal/plugins/zip_gallery.pyc
+${PYSITELIB}/sigal/settings.py
+${PYSITELIB}/sigal/settings.pyc
+${PYSITELIB}/sigal/signals.py
+${PYSITELIB}/sigal/signals.pyc
+${PYSITELIB}/sigal/templates/sigal.conf.py
+${PYSITELIB}/sigal/templates/sigal.conf.pyc
+${PYSITELIB}/sigal/themes/colorbox/static/css/colorbox.css
+${PYSITELIB}/sigal/themes/colorbox/static/css/skeleton.css
+${PYSITELIB}/sigal/themes/colorbox/static/css/style.css
+${PYSITELIB}/sigal/themes/colorbox/static/images/controls.png
+${PYSITELIB}/sigal/themes/colorbox/static/images/loading.gif
+${PYSITELIB}/sigal/themes/colorbox/static/js/app-with-media-page.js
+${PYSITELIB}/sigal/themes/colorbox/static/js/app.js
+${PYSITELIB}/sigal/themes/colorbox/static/js/jquery-2.2.1.js
+${PYSITELIB}/sigal/themes/colorbox/static/js/jquery-2.2.1.min.js
+${PYSITELIB}/sigal/themes/colorbox/static/js/jquery.colorbox-min.js
+${PYSITELIB}/sigal/themes/colorbox/static/js/jquery.colorbox.js
+${PYSITELIB}/sigal/themes/colorbox/static/js/jquery.touchSwipe.js
+${PYSITELIB}/sigal/themes/colorbox/static/js/jquery.touchSwipe.min.js
+${PYSITELIB}/sigal/themes/colorbox/templates/album.html
+${PYSITELIB}/sigal/themes/colorbox/templates/album_list.html
+${PYSITELIB}/sigal/themes/colorbox/templates/base.html
+${PYSITELIB}/sigal/themes/colorbox/templates/media.html
+${PYSITELIB}/sigal/themes/default/static/leaflet/Control.FullScreen.css
+${PYSITELIB}/sigal/themes/default/static/leaflet/Control.FullScreen.js
+${PYSITELIB}/sigal/themes/default/static/leaflet/Leaflet.Photo.css
+${PYSITELIB}/sigal/themes/default/static/leaflet/Leaflet.Photo.js
+${PYSITELIB}/sigal/themes/default/static/leaflet/MarkerCluster.Default.css
+${PYSITELIB}/sigal/themes/default/static/leaflet/MarkerCluster.css
+${PYSITELIB}/sigal/themes/default/static/leaflet/README
+${PYSITELIB}/sigal/themes/default/static/leaflet/icon-fullscreen-2x.png
+${PYSITELIB}/sigal/themes/default/static/leaflet/icon-fullscreen.png
+${PYSITELIB}/sigal/themes/default/static/leaflet/images/layers-2x.png
+${PYSITELIB}/sigal/themes/default/static/leaflet/images/layers.png
+${PYSITELIB}/sigal/themes/default/static/leaflet/images/marker-icon-2x.png
+${PYSITELIB}/sigal/themes/default/static/leaflet/images/marker-icon.png
+${PYSITELIB}/sigal/themes/default/static/leaflet/images/marker-shadow.png
+${PYSITELIB}/sigal/themes/default/static/leaflet/leaflet-providers.js
+${PYSITELIB}/sigal/themes/default/static/leaflet/leaflet-src.js
+${PYSITELIB}/sigal/themes/default/static/leaflet/leaflet.css
+${PYSITELIB}/sigal/themes/default/static/leaflet/leaflet.js
+${PYSITELIB}/sigal/themes/default/static/leaflet/leaflet.markercluster-src.js
+${PYSITELIB}/sigal/themes/default/static/leaflet/leaflet.markercluster.js
+${PYSITELIB}/sigal/themes/default/templates/analytics.html
+${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/download_zip.html
+${PYSITELIB}/sigal/themes/default/templates/footer.html
+${PYSITELIB}/sigal/themes/default/templates/gtm.html
+${PYSITELIB}/sigal/themes/default/templates/links.html
+${PYSITELIB}/sigal/themes/default/templates/map.html
+${PYSITELIB}/sigal/themes/default/templates/piwik.html
+${PYSITELIB}/sigal/themes/galleria/README
+${PYSITELIB}/sigal/themes/galleria/static/css/normalize.css
+${PYSITELIB}/sigal/themes/galleria/static/css/style.css
+${PYSITELIB}/sigal/themes/galleria/static/galleria.js
+${PYSITELIB}/sigal/themes/galleria/static/galleria.min.js
+${PYSITELIB}/sigal/themes/galleria/static/img/empty.png
+${PYSITELIB}/sigal/themes/galleria/static/img/fullscreen.png
+${PYSITELIB}/sigal/themes/galleria/static/jquery-3.3.1.js
+${PYSITELIB}/sigal/themes/galleria/static/jquery-3.3.1.min.js
+${PYSITELIB}/sigal/themes/galleria/static/plugins/history/galleria.history.js
+${PYSITELIB}/sigal/themes/galleria/static/plugins/history/galleria.history.min.js
+${PYSITELIB}/sigal/themes/galleria/static/themes/azur/galleria.azur.css
+${PYSITELIB}/sigal/themes/galleria/static/themes/azur/galleria.azur.js
+${PYSITELIB}/sigal/themes/galleria/static/themes/azur/galleria.azur.min.css
+${PYSITELIB}/sigal/themes/galleria/static/themes/azur/galleria.azur.min.js
+${PYSITELIB}/sigal/themes/galleria/static/themes/classic/galleria.classic.css
+${PYSITELIB}/sigal/themes/galleria/static/themes/classic/galleria.classic.js
+${PYSITELIB}/sigal/themes/galleria/static/themes/classic/galleria.classic.min.css
+${PYSITELIB}/sigal/themes/galleria/static/themes/classic/galleria.classic.min.js
+${PYSITELIB}/sigal/themes/galleria/static/themes/folio/galleria.folio.css
+${PYSITELIB}/sigal/themes/galleria/static/themes/folio/galleria.folio.js
+${PYSITELIB}/sigal/themes/galleria/static/themes/folio/galleria.folio.min.css
+${PYSITELIB}/sigal/themes/galleria/static/themes/folio/galleria.folio.min.js
+${PYSITELIB}/sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.css
+${PYSITELIB}/sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.js
+${PYSITELIB}/sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.min.css
+${PYSITELIB}/sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.min.js
+${PYSITELIB}/sigal/themes/galleria/static/themes/fullscreen/index.html
+${PYSITELIB}/sigal/themes/galleria/static/themes/miniml/galleria.miniml.css
+${PYSITELIB}/sigal/themes/galleria/static/themes/miniml/galleria.miniml.js
+${PYSITELIB}/sigal/themes/galleria/static/themes/miniml/galleria.miniml.min.css
+${PYSITELIB}/sigal/themes/galleria/static/themes/miniml/galleria.miniml.min.js
+${PYSITELIB}/sigal/themes/galleria/static/themes/twelve/galleria.twelve.css
+${PYSITELIB}/sigal/themes/galleria/static/themes/twelve/galleria.twelve.js
+${PYSITELIB}/sigal/themes/galleria/static/themes/twelve/galleria.twelve.min.css
+${PYSITELIB}/sigal/themes/galleria/static/themes/twelve/galleria.twelve.min.js
+${PYSITELIB}/sigal/themes/galleria/templates/album.html
+${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.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/styles.css
+${PYSITELIB}/sigal/themes/photoswipe/templates/album.html
+${PYSITELIB}/sigal/themes/photoswipe/templates/album_list.html
+${PYSITELIB}/sigal/themes/photoswipe/templates/base.html
+${PYSITELIB}/sigal/utils.py
+${PYSITELIB}/sigal/utils.pyc
+${PYSITELIB}/sigal/version.py
+${PYSITELIB}/sigal/version.pyc
+${PYSITELIB}/sigal/video.py
+${PYSITELIB}/sigal/video.pyc
+${PYSITELIB}/sigal/writer.py
+${PYSITELIB}/sigal/writer.pyc
diff -r 493fc0bac414 -r 43536c7c6fe7 www/py-sigal/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-sigal/distinfo     Fri Dec 16 19:34:44 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/12/16 19:34:44 wiz Exp $
+
+BLAKE2s (sigal-2.3.tar.gz) = a8b9a0f0f937e287b1283a2a9fe7551e268c1438235db8a27e9ca3fa9c002856
+SHA512 (sigal-2.3.tar.gz) = e7eafc3c624497f19fdc9eb96fce67789db027b3c34c28eadcc162dd176a2462e101f16ffd54e08ee85baf1a9d264c5657e6cd264c40e155def4eee539242597
+Size (sigal-2.3.tar.gz) = 4652875 bytes



Home | Main Index | Thread Index | Old Index