pkgsrc-WIP-changes archive

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

py-img2pdf: remove, imported to pkgsrc/graphics



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Nov 2 21:24:40 2026 +0100
Changeset:	f952eec5054eeb7c0c877559155ff8738fcf8d32

Modified Files:
	Makefile
Removed Files:
	py-img2pdf/ALTERNATIVES
	py-img2pdf/COMMIT_MSG
	py-img2pdf/DESCR
	py-img2pdf/Makefile
	py-img2pdf/PLIST
	py-img2pdf/distinfo

Log Message:
py-img2pdf: remove, imported to pkgsrc/graphics

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f952eec5054eeb7c0c877559155ff8738fcf8d32

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

diffstat:
 Makefile                |  1 -
 py-img2pdf/ALTERNATIVES |  2 --
 py-img2pdf/COMMIT_MSG   |  2 --
 py-img2pdf/DESCR        | 12 ------------
 py-img2pdf/Makefile     | 51 -------------------------------------------------
 py-img2pdf/PLIST        | 11 -----------
 py-img2pdf/distinfo     |  5 -----
 7 files changed, 84 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 419cf77c1e..e3b2da30ec 100644
--- a/Makefile
+++ b/Makefile
@@ -4082,7 +4082,6 @@ SUBDIR+=	py-ift-nifty
 SUBDIR+=	py-igraph
 SUBDIR+=	py-iisignature
 SUBDIR+=	py-imexam
-SUBDIR+=	py-img2pdf
 SUBDIR+=	py-import-linter
 SUBDIR+=	py-imread
 SUBDIR+=	py-imreg-dft
diff --git a/py-img2pdf/ALTERNATIVES b/py-img2pdf/ALTERNATIVES
deleted file mode 100644
index 03bc539d9b..0000000000
--- a/py-img2pdf/ALTERNATIVES
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/img2pdf @PREFIX@/bin/img2pdf@PYVERSSUFFIX@
-bin/img2pdf-gui @PREFIX@/bin/img2pdf-gui@PYVERSSUFFIX@
diff --git a/py-img2pdf/COMMIT_MSG b/py-img2pdf/COMMIT_MSG
deleted file mode 100644
index 3d8608d41d..0000000000
--- a/py-img2pdf/COMMIT_MSG
+++ /dev/null
@@ -1,2 +0,0 @@
-Add py-img2pdf, a tool (and python library) to add image files to PDFs
-without recoding them.
diff --git a/py-img2pdf/DESCR b/py-img2pdf/DESCR
deleted file mode 100644
index 29d29e51e1..0000000000
--- a/py-img2pdf/DESCR
+++ /dev/null
@@ -1,12 +0,0 @@
-Lossless conversion of raster images to PDF. You should use img2pdf if
-your priorities are (in this order):
-
-  always lossless: the image embedded in the PDF will always have the
-      exact same color information for every pixel as the input
-
-  small: if possible, the difference in filesize between the input
-      image and the output PDF will only be the overhead of the PDF container
-      itself
-
-  fast: if possible, the input image is just pasted into the PDF
-      document as-is without any CPU hungry re-encoding of the pixel data
diff --git a/py-img2pdf/Makefile b/py-img2pdf/Makefile
deleted file mode 100644
index a8479281ce..0000000000
--- a/py-img2pdf/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	img2pdf-0.6.3
-PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=	graphics python
-MASTER_SITES=	${MASTER_SITE_PYPI:=i/img2pdf/}
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://pypi.org/project/img2pdf/
-COMMENT=	Lossless conversion of raster images to PDF
-LICENSE=	gnu-lgpl-v3
-
-TOOL_DEPENDS+=	${PYPKGPREFIX}-flit_core>=3.2:../../devel/py-flit_core
-DEPENDS+=	${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
-DEPENDS+=	${PYPKGPREFIX}-pikepdf-[0-9]*:../../print/py-pikepdf
-DEPENDS+=	colord-[0-9]*:../../graphics/colord
-TEST_DEPENDS+=	${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
-TEST_DEPENDS+=	${PYPKGPREFIX}-scipy-[0-9]*:../../math/py-scipy
-# convert
-TEST_DEPENDS+=	ImageMagick-[0-9]*:../../graphics/ImageMagick
-# pdfimages, pdftocairo
-TEST_DEPENDS+=	poppler-utils-[0-9]*:../../print/poppler-utils
-# exiftool
-TEST_DEPENDS+=	p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool
-# jpegtopnm
-TEST_DEPENDS+=	netpbm-[0-9]*:../../graphics/netpbm
-# date --utc
-TEST_DEPENDS+=	coreutils-[0-9]*:../../sysutils/coreutils
-
-TOOLS_PATH.date=	${TOOLBASE}/gnu/bin/date
-
-# as of 0.6.3:
-# 4 failed, 278 passed, 24 skipped, 5 warnings, 48 errors
-# mostly due to lack of tiff support with
-# PKG_DEFAULT_OPTIONS=-tiff
-
-REPLACE_PYTHON+=	src/img2pdf.py
-
-SUBST_CLASSES+=		icc
-SUBST_FILES.icc+=	src/img2pdf.py
-SUBST_SED.icc+=		-e "s,/usr/share/color/icc/sRGB.icc,${PREFIX}/share/color/icc/colord/sRGB.icc,"
-SUBST_STAGE.icc=	pre-build
-SUBST_MESSAGE.icc=	Fixing path to color profile.
-
-post-install:
-	${MV} ${DESTDIR}${PREFIX}/bin/img2pdf ${DESTDIR}${PREFIX}/bin/img2pdf${PYVERSSUFFIX}
-	${MV} ${DESTDIR}${PREFIX}/bin/img2pdf-gui ${DESTDIR}${PREFIX}/bin/img2pdf-gui${PYVERSSUFFIX}
-
-.include "../../lang/python/application.mk"
-.include "../../lang/python/wheel.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/py-img2pdf/PLIST b/py-img2pdf/PLIST
deleted file mode 100644
index 9e6abea3ab..0000000000
--- a/py-img2pdf/PLIST
+++ /dev/null
@@ -1,11 +0,0 @@
-@comment $NetBSD$
-bin/img2pdf${PYVERSSUFFIX}
-bin/img2pdf-gui${PYVERSSUFFIX}
-${PYSITELIB}/${WHEEL_INFODIR}/METADATA
-${PYSITELIB}/${WHEEL_INFODIR}/RECORD
-${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
-${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
-${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
-${PYSITELIB}/img2pdf.py
-${PYSITELIB}/img2pdf.pyc
-${PYSITELIB}/img2pdf.pyo
diff --git a/py-img2pdf/distinfo b/py-img2pdf/distinfo
deleted file mode 100644
index c9657adeaf..0000000000
--- a/py-img2pdf/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD$
-
-BLAKE2s (img2pdf-0.6.3.tar.gz) = e21fda7b4129d7112de22105c82030b8684ce8d04c95dc55a71fb26d2d5247b5
-SHA512 (img2pdf-0.6.3.tar.gz) = d9d2bfb078765e43727d89f0c9723f9a3cd1ffea745f657540de6e301f287c3fd4a1c9efb9233ee99e3e6d337c701e75ff20908190d0f3ae39c5c32debeaedb2
-Size (img2pdf-0.6.3.tar.gz) = 120350 bytes


Home | Main Index | Thread Index | Old Index