pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Jan  6 09:18:01 UTC 2024

Modified Files:
        pkgsrc/graphics: Makefile
Added Files:
        pkgsrc/graphics/py-pypng: ALTERNATIVES DESCR Makefile PLIST distinfo

Log Message:
py-pypng: added version 0.20220715.0

PNG module for Python. PyPNG is written entirely in Python.


To generate a diff of this commit:
cvs rdiff -u -r1.1034 -r1.1035 pkgsrc/graphics/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/py-pypng/ALTERNATIVES \
    pkgsrc/graphics/py-pypng/DESCR pkgsrc/graphics/py-pypng/Makefile \
    pkgsrc/graphics/py-pypng/PLIST pkgsrc/graphics/py-pypng/distinfo

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

Modified files:

Index: pkgsrc/graphics/Makefile
diff -u pkgsrc/graphics/Makefile:1.1034 pkgsrc/graphics/Makefile:1.1035
--- pkgsrc/graphics/Makefile:1.1034     Fri Jan  5 11:14:02 2024
+++ pkgsrc/graphics/Makefile    Sat Jan  6 09:18:01 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1034 2024/01/05 11:14:02 nros Exp $
+# $NetBSD: Makefile,v 1.1035 2024/01/06 09:18:01 adam Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -530,6 +530,7 @@ SUBDIR+=    py-pillow_heif
 SUBDIR+=       py-pycha
 SUBDIR+=       py-pygal
 SUBDIR+=       py-pygraphviz
+SUBDIR+=       py-pypng
 SUBDIR+=       py-qrcode
 SUBDIR+=       py-scour
 SUBDIR+=       py-seaborn

Added files:

Index: pkgsrc/graphics/py-pypng/ALTERNATIVES
diff -u /dev/null pkgsrc/graphics/py-pypng/ALTERNATIVES:1.1
--- /dev/null   Sat Jan  6 09:18:01 2024
+++ pkgsrc/graphics/py-pypng/ALTERNATIVES       Sat Jan  6 09:18:01 2024
@@ -0,0 +1,12 @@
+bin/prichunkpng @PREFIX@/bin/prichunkpng-@PYVERSSUFFIX@
+bin/pricolpng @PREFIX@/bin/pricolpng-@PYVERSSUFFIX@
+bin/priditherpng @PREFIX@/bin/priditherpng-@PYVERSSUFFIX@
+bin/priforgepng @PREFIX@/bin/priforgepng-@PYVERSSUFFIX@
+bin/prigreypng @PREFIX@/bin/prigreypng-@PYVERSSUFFIX@
+bin/pripalpng @PREFIX@/bin/pripalpng-@PYVERSSUFFIX@
+bin/pripamtopng @PREFIX@/bin/pripalpng-@PYVERSSUFFIX@
+bin/priplan9topng @PREFIX@/bin/priplan9topng-@PYVERSSUFFIX@
+bin/pripnglsch @PREFIX@/bin/pripnglsch-@PYVERSSUFFIX@
+bin/pripngtopam @PREFIX@/bin/pripngtopam-@PYVERSSUFFIX@
+bin/prirowpng @PREFIX@/bin/prirowpng-@PYVERSSUFFIX@
+bin/priweavepng @PREFIX@/bin/priweavepng-@PYVERSSUFFIX@
Index: pkgsrc/graphics/py-pypng/DESCR
diff -u /dev/null pkgsrc/graphics/py-pypng/DESCR:1.1
--- /dev/null   Sat Jan  6 09:18:01 2024
+++ pkgsrc/graphics/py-pypng/DESCR      Sat Jan  6 09:18:01 2024
@@ -0,0 +1 @@
+PNG module for Python. PyPNG is written entirely in Python.
Index: pkgsrc/graphics/py-pypng/Makefile
diff -u /dev/null pkgsrc/graphics/py-pypng/Makefile:1.1
--- /dev/null   Sat Jan  6 09:18:01 2024
+++ pkgsrc/graphics/py-pypng/Makefile   Sat Jan  6 09:18:01 2024
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2024/01/06 09:18:01 adam Exp $
+
+DISTNAME=      pypng-0.20220715.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    graphics python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pypng/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://gitlab.com/drj11/pypng
+COMMENT=       Pure Python library for saving and loading PNG images
+LICENSE=       mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+post-install:
+.for bin in prichunkpng pricolpng priditherpng priforgepng prigreypng \
+       pripalpng pripamtopng priplan9topng pripnglsch pripngtopam \
+       prirowpng priweavepng
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
+.endfor
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/py-pypng/PLIST
diff -u /dev/null pkgsrc/graphics/py-pypng/PLIST:1.1
--- /dev/null   Sat Jan  6 09:18:01 2024
+++ pkgsrc/graphics/py-pypng/PLIST      Sat Jan  6 09:18:01 2024
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2024/01/06 09:18:01 adam Exp $
+bin/prichunkpng-${PYVERSSUFFIX}
+bin/pricolpng-${PYVERSSUFFIX}
+bin/priditherpng-${PYVERSSUFFIX}
+bin/priforgepng-${PYVERSSUFFIX}
+bin/prigreypng-${PYVERSSUFFIX}
+bin/pripalpng-${PYVERSSUFFIX}
+bin/pripamtopng-${PYVERSSUFFIX}
+bin/priplan9topng-${PYVERSSUFFIX}
+bin/pripnglsch-${PYVERSSUFFIX}
+bin/pripngtopam-${PYVERSSUFFIX}
+bin/prirowpng-${PYVERSSUFFIX}
+bin/priweavepng-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/LICENCE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/png.py
+${PYSITELIB}/png.pyc
+${PYSITELIB}/png.pyo
Index: pkgsrc/graphics/py-pypng/distinfo
diff -u /dev/null pkgsrc/graphics/py-pypng/distinfo:1.1
--- /dev/null   Sat Jan  6 09:18:01 2024
+++ pkgsrc/graphics/py-pypng/distinfo   Sat Jan  6 09:18:01 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/01/06 09:18:01 adam Exp $
+
+BLAKE2s (pypng-0.20220715.0.tar.gz) = d9ea2eebe2b9b3f3ed8a488af91efe262d3d769151b57fe4d687beddd473d669
+SHA512 (pypng-0.20220715.0.tar.gz) = 0c89f79603befbc8aff70b23d13989346fe7943cdcb41242b5089dd4a07c6db5c91937c570a72bcb589abee6597278588d945b6154dcdc2c378d7e2f9ff15ccf
+Size (pypng-0.20220715.0.tar.gz) = 128992 bytes



Home | Main Index | Thread Index | Old Index