pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/print/py-pikepdf
Module Name: pkgsrc
Committed By: wiz
Date: Tue Apr 30 08:14:43 UTC 2024
Added Files:
pkgsrc/print/py-pikepdf: DESCR Makefile PLIST distinfo
pkgsrc/print/py-pikepdf/patches: patch-pyproject.toml
Log Message:
print/py-pikepdf: import py-pikepdf-8.15.1
pikepdf is a Python library for reading and writing PDF files.
pikepdf is based on QPDF, a powerful PDF manipulation and repair
library.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/print/py-pikepdf/DESCR \
pkgsrc/print/py-pikepdf/Makefile pkgsrc/print/py-pikepdf/PLIST \
pkgsrc/print/py-pikepdf/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/print/py-pikepdf/patches/patch-pyproject.toml
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/print/py-pikepdf/DESCR
diff -u /dev/null pkgsrc/print/py-pikepdf/DESCR:1.1
--- /dev/null Tue Apr 30 08:14:43 2024
+++ pkgsrc/print/py-pikepdf/DESCR Tue Apr 30 08:14:43 2024
@@ -0,0 +1,4 @@
+pikepdf is a Python library for reading and writing PDF files.
+
+pikepdf is based on QPDF, a powerful PDF manipulation and repair
+library.
Index: pkgsrc/print/py-pikepdf/Makefile
diff -u /dev/null pkgsrc/print/py-pikepdf/Makefile:1.1
--- /dev/null Tue Apr 30 08:14:43 2024
+++ pkgsrc/print/py-pikepdf/Makefile Tue Apr 30 08:14:43 2024
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2024/04/30 08:14:43 wiz Exp $
+
+DISTNAME= pikepdf-8.15.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pikepdf/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://pypi.org/project/pikepdf/
+COMMENT= Read and write PDFs with Python, powered by qpdf
+LICENSE= mpl-2.0
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+= ${PYPKGPREFIX}-deprecated-[0-9]*:../../devel/py-deprecated
+DEPENDS+= ${PYPKGPREFIX}-lxml>=4.8:../../textproc/py-lxml
+DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
+DEPENDS+= ${PYPKGPREFIX}-Pillow>=10.0.1:../../graphics/py-Pillow
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
+
+USE_LANGUAGES+= c c++
+USE_TOOLS+= pkg-config
+
+USE_CXX_FEATURES+= c++17
+
+.include "../../print/qpdf/buildlink3.mk"
+.include "../../devel/py-pybind11/buildlink3.mk"
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/print/py-pikepdf/PLIST
diff -u /dev/null pkgsrc/print/py-pikepdf/PLIST:1.1
--- /dev/null Tue Apr 30 08:14:43 2024
+++ pkgsrc/print/py-pikepdf/PLIST Tue Apr 30 08:14:43 2024
@@ -0,0 +1,75 @@
+@comment $NetBSD: PLIST,v 1.1 2024/04/30 08:14:43 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/pikepdf/__init__.py
+${PYSITELIB}/pikepdf/__init__.pyc
+${PYSITELIB}/pikepdf/__init__.pyo
+${PYSITELIB}/pikepdf/_augments.py
+${PYSITELIB}/pikepdf/_augments.pyc
+${PYSITELIB}/pikepdf/_augments.pyo
+${PYSITELIB}/pikepdf/_core.pyi
+${PYSITELIB}/pikepdf/_core.so
+${PYSITELIB}/pikepdf/_cpphelpers.py
+${PYSITELIB}/pikepdf/_cpphelpers.pyc
+${PYSITELIB}/pikepdf/_cpphelpers.pyo
+${PYSITELIB}/pikepdf/_exceptions.py
+${PYSITELIB}/pikepdf/_exceptions.pyc
+${PYSITELIB}/pikepdf/_exceptions.pyo
+${PYSITELIB}/pikepdf/_io.py
+${PYSITELIB}/pikepdf/_io.pyc
+${PYSITELIB}/pikepdf/_io.pyo
+${PYSITELIB}/pikepdf/_methods.py
+${PYSITELIB}/pikepdf/_methods.pyc
+${PYSITELIB}/pikepdf/_methods.pyo
+${PYSITELIB}/pikepdf/_qpdf.py
+${PYSITELIB}/pikepdf/_qpdf.pyc
+${PYSITELIB}/pikepdf/_qpdf.pyo
+${PYSITELIB}/pikepdf/_version.py
+${PYSITELIB}/pikepdf/_version.pyc
+${PYSITELIB}/pikepdf/_version.pyo
+${PYSITELIB}/pikepdf/_xml.py
+${PYSITELIB}/pikepdf/_xml.pyc
+${PYSITELIB}/pikepdf/_xml.pyo
+${PYSITELIB}/pikepdf/canvas.py
+${PYSITELIB}/pikepdf/canvas.pyc
+${PYSITELIB}/pikepdf/canvas.pyo
+${PYSITELIB}/pikepdf/codec.py
+${PYSITELIB}/pikepdf/codec.pyc
+${PYSITELIB}/pikepdf/codec.pyo
+${PYSITELIB}/pikepdf/jbig2.py
+${PYSITELIB}/pikepdf/jbig2.pyc
+${PYSITELIB}/pikepdf/jbig2.pyo
+${PYSITELIB}/pikepdf/models/__init__.py
+${PYSITELIB}/pikepdf/models/__init__.pyc
+${PYSITELIB}/pikepdf/models/__init__.pyo
+${PYSITELIB}/pikepdf/models/_content_stream.py
+${PYSITELIB}/pikepdf/models/_content_stream.pyc
+${PYSITELIB}/pikepdf/models/_content_stream.pyo
+${PYSITELIB}/pikepdf/models/_transcoding.py
+${PYSITELIB}/pikepdf/models/_transcoding.pyc
+${PYSITELIB}/pikepdf/models/_transcoding.pyo
+${PYSITELIB}/pikepdf/models/encryption.py
+${PYSITELIB}/pikepdf/models/encryption.pyc
+${PYSITELIB}/pikepdf/models/encryption.pyo
+${PYSITELIB}/pikepdf/models/image.py
+${PYSITELIB}/pikepdf/models/image.pyc
+${PYSITELIB}/pikepdf/models/image.pyo
+${PYSITELIB}/pikepdf/models/matrix.py
+${PYSITELIB}/pikepdf/models/matrix.pyc
+${PYSITELIB}/pikepdf/models/matrix.pyo
+${PYSITELIB}/pikepdf/models/metadata.py
+${PYSITELIB}/pikepdf/models/metadata.pyc
+${PYSITELIB}/pikepdf/models/metadata.pyo
+${PYSITELIB}/pikepdf/models/outlines.py
+${PYSITELIB}/pikepdf/models/outlines.pyc
+${PYSITELIB}/pikepdf/models/outlines.pyo
+${PYSITELIB}/pikepdf/objects.py
+${PYSITELIB}/pikepdf/objects.pyc
+${PYSITELIB}/pikepdf/objects.pyo
+${PYSITELIB}/pikepdf/py.typed
+${PYSITELIB}/pikepdf/settings.py
+${PYSITELIB}/pikepdf/settings.pyc
+${PYSITELIB}/pikepdf/settings.pyo
Index: pkgsrc/print/py-pikepdf/distinfo
diff -u /dev/null pkgsrc/print/py-pikepdf/distinfo:1.1
--- /dev/null Tue Apr 30 08:14:43 2024
+++ pkgsrc/print/py-pikepdf/distinfo Tue Apr 30 08:14:43 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/04/30 08:14:43 wiz Exp $
+
+BLAKE2s (pikepdf-8.15.1.tar.gz) = 96c68ae0ce16ca91f1666b788dd0c9b94ebfe6663d7a1eabae3db58ac6f004f7
+SHA512 (pikepdf-8.15.1.tar.gz) = ae6b0b8bdf7e395943caf503f1d498861bd2719185e6382a522b8c0d4e38413a1b070e912367852bc5735d29b8453d05c57ff384ede825830722470445a534f6
+Size (pikepdf-8.15.1.tar.gz) = 2870723 bytes
+SHA1 (patch-pyproject.toml) = fd992de98ff3aaebb50373c94ae2584b48bec4eb
Index: pkgsrc/print/py-pikepdf/patches/patch-pyproject.toml
diff -u /dev/null pkgsrc/print/py-pikepdf/patches/patch-pyproject.toml:1.1
--- /dev/null Tue Apr 30 08:14:43 2024
+++ pkgsrc/print/py-pikepdf/patches/patch-pyproject.toml Tue Apr 30 08:14:43 2024
@@ -0,0 +1,24 @@
+$NetBSD: patch-pyproject.toml,v 1.1 2024/04/30 08:14:43 wiz Exp $
+
+https://github.com/pikepdf/pikepdf/issues/581
+
+--- pyproject.toml.orig 2024-04-30 08:07:05.917031294 +0000
++++ pyproject.toml
+@@ -92,7 +92,7 @@ exclude = '''
+ '''
+
+ [tool.cibuildwheel]
+-test-command = "pytest -nauto {project}/tests"
++test-command = "pytest {project}/tests"
+ test-extras = "test"
+ # Reminder:
+ # build.yml sets CIBW_BUILD to select what can be built
+@@ -181,7 +181,7 @@ ignore_missing_imports = true
+ minversion = "6.0"
+ norecursedirs = ["lib", ".pc", ".git", "venv"]
+ testpaths = ["tests"]
+-addopts = "-n auto"
++addopts = ""
+
+ [tool.coverage.run]
+ concurrency = ["multiprocessing"]
Home |
Main Index |
Thread Index |
Old Index