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: Sun Dec 28 14:28:55 UTC 2025
Modified Files:
pkgsrc/graphics: Makefile
Added Files:
pkgsrc/graphics/py-svglib: ALTERNATIVES DESCR Makefile PLIST distinfo
Log Message:
py-svglib: added version 1.6.0
Svglib is a Python library for reading SVG files and converting them (to a
reasonable degree) to other formats using the ReportLab Open Source toolkit.
To generate a diff of this commit:
cvs rdiff -u -r1.1110 -r1.1111 pkgsrc/graphics/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/py-svglib/ALTERNATIVES \
pkgsrc/graphics/py-svglib/DESCR pkgsrc/graphics/py-svglib/Makefile \
pkgsrc/graphics/py-svglib/PLIST pkgsrc/graphics/py-svglib/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.1110 pkgsrc/graphics/Makefile:1.1111
--- pkgsrc/graphics/Makefile:1.1110 Sun Dec 28 14:17:38 2025
+++ pkgsrc/graphics/Makefile Sun Dec 28 14:28:54 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1110 2025/12/28 14:17:38 adam Exp $
+# $NetBSD: Makefile,v 1.1111 2025/12/28 14:28:54 adam Exp $
#
COMMENT= Graphics tools and libraries
@@ -533,6 +533,7 @@ SUBDIR+= py-seqdiag
SUBDIR+= py-sk1libs
SUBDIR+= py-spectra
SUBDIR+= py-strich
+SUBDIR+= py-svglib
SUBDIR+= py-tifffile
SUBDIR+= py-uniconvertor
SUBDIR+= py-wand
Added files:
Index: pkgsrc/graphics/py-svglib/ALTERNATIVES
diff -u /dev/null pkgsrc/graphics/py-svglib/ALTERNATIVES:1.1
--- /dev/null Sun Dec 28 14:28:55 2025
+++ pkgsrc/graphics/py-svglib/ALTERNATIVES Sun Dec 28 14:28:54 2025
@@ -0,0 +1 @@
+bin/svg2pdf @PREFIX@/bin/svg2pdf-@PYVERSSUFFIX@
Index: pkgsrc/graphics/py-svglib/DESCR
diff -u /dev/null pkgsrc/graphics/py-svglib/DESCR:1.1
--- /dev/null Sun Dec 28 14:28:55 2025
+++ pkgsrc/graphics/py-svglib/DESCR Sun Dec 28 14:28:55 2025
@@ -0,0 +1,2 @@
+Svglib is a Python library for reading SVG files and converting them (to a
+reasonable degree) to other formats using the ReportLab Open Source toolkit.
Index: pkgsrc/graphics/py-svglib/Makefile
diff -u /dev/null pkgsrc/graphics/py-svglib/Makefile:1.1
--- /dev/null Sun Dec 28 14:28:55 2025
+++ pkgsrc/graphics/py-svglib/Makefile Sun Dec 28 14:28:55 2025
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2025/12/28 14:28:55 adam Exp $
+
+DISTNAME= svglib-1.6.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= graphics python
+MASTER_SITES= ${MASTER_SITE_PYPI:=s/svglib/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/deeplook/svglib
+COMMENT= Pure-Python library for reading and converting SVG
+LICENSE= gnu-lgpl-v3
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>0:../../devel/py-hatchling
+DEPENDS+= ${PYPKGPREFIX}-cssselect2>=0.2.0:../../textproc/py-cssselect2
+DEPENDS+= ${PYPKGPREFIX}-lxml>=6.0.0:../../textproc/py-lxml
+DEPENDS+= ${PYPKGPREFIX}-reportlab>=4.4.3:../../print/py-reportlab
+DEPENDS+= ${PYPKGPREFIX}-rlpycairo>=0.4.0:../../print/py-rlpycairo
+DEPENDS+= ${PYPKGPREFIX}-tinycss2>=0.6.0:../../textproc/py-tinycss2
+
+USE_LANGUAGES= # none
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} svg2pdf svg2pdf-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/py-svglib/PLIST
diff -u /dev/null pkgsrc/graphics/py-svglib/PLIST:1.1
--- /dev/null Sun Dec 28 14:28:55 2025
+++ pkgsrc/graphics/py-svglib/PLIST Sun Dec 28 14:28:55 2025
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2025/12/28 14:28:55 adam Exp $
+bin/svg2pdf-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.txt
+${PYSITELIB}/svglib/__init__.py
+${PYSITELIB}/svglib/__init__.pyc
+${PYSITELIB}/svglib/__init__.pyo
+${PYSITELIB}/svglib/fonts.py
+${PYSITELIB}/svglib/fonts.pyc
+${PYSITELIB}/svglib/fonts.pyo
+${PYSITELIB}/svglib/py.typed
+${PYSITELIB}/svglib/svglib.py
+${PYSITELIB}/svglib/svglib.pyc
+${PYSITELIB}/svglib/svglib.pyo
+${PYSITELIB}/svglib/utils.py
+${PYSITELIB}/svglib/utils.pyc
+${PYSITELIB}/svglib/utils.pyo
Index: pkgsrc/graphics/py-svglib/distinfo
diff -u /dev/null pkgsrc/graphics/py-svglib/distinfo:1.1
--- /dev/null Sun Dec 28 14:28:55 2025
+++ pkgsrc/graphics/py-svglib/distinfo Sun Dec 28 14:28:55 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/12/28 14:28:55 adam Exp $
+
+BLAKE2s (svglib-1.6.0.tar.gz) = 320f08c04dcd75feb9cbe8870310f09ce344f9d5b70fdb2b6256bae43fa46e2f
+SHA512 (svglib-1.6.0.tar.gz) = 7d6e30629b409cbdf80de3278a6b7a67ae4a3d82cd83c6f53cb72c21b59839eafbef4d34989621744773f9c7ba47b6cbe86d8f8b222054ff016061a740bf2bc2
+Size (svglib-1.6.0.tar.gz) = 1318276 bytes
Home |
Main Index |
Thread Index |
Old Index