py-pypng: added version 0.20220715.0

PNG module for Python. PyPNG is written entirely in Python.
This commit is contained in:
adam 2024-01-06 09:18:01 +00:00
parent 5dc1e2dc1a
commit bf17876388
6 changed files with 70 additions and 1 deletions

View File

@ -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

View File

@ -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@

1
graphics/py-pypng/DESCR Normal file
View File

@ -0,0 +1 @@
PNG module for Python. PyPNG is written entirely in Python.

View File

@ -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
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"

21
graphics/py-pypng/PLIST Normal file
View File

@ -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

View File

@ -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