summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-11-19 09:43:08 +0000
committeradam <adam@pkgsrc.org>2021-11-19 09:43:08 +0000
commit74d0bb159d0e23783daa2693853d7fc38b0ecc95 (patch)
tree42a544e3264cb7ef8a117a2c1a5033494a72b805 /print
parent89d01b57fb196dae657a3926badebc286040f9a6 (diff)
downloadpkgsrc-74d0bb159d0e23783daa2693853d7fc38b0ecc95.tar.gz
py-pydyf: added version 0.1.2
pydyf is a low-level PDF generator written in Python and based on PDF specification 1.7.
Diffstat (limited to 'print')
-rw-r--r--print/Makefile3
-rw-r--r--print/py-pydyf/DESCR2
-rw-r--r--print/py-pydyf/Makefile29
-rw-r--r--print/py-pydyf/PLIST5
-rw-r--r--print/py-pydyf/distinfo5
5 files changed, 43 insertions, 1 deletions
diff --git a/print/Makefile b/print/Makefile
index a977a9608f9..56e51574a4c 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.815 2021/07/18 22:02:19 schmonz Exp $
+# $NetBSD: Makefile,v 1.816 2021/11/19 09:43:08 adam Exp $
#
COMMENT= Desktop publishing
@@ -139,6 +139,7 @@ SUBDIR+= py-octoprint-firmwarecheck
SUBDIR+= py-octoprint-pisupport
SUBDIR+= py-pisa
SUBDIR+= py-pslib
+SUBDIR+= py-pydyf
SUBDIR+= py-reportlab
SUBDIR+= py-weasyprint
SUBDIR+= py-weasyprint0
diff --git a/print/py-pydyf/DESCR b/print/py-pydyf/DESCR
new file mode 100644
index 00000000000..217fc07a1d7
--- /dev/null
+++ b/print/py-pydyf/DESCR
@@ -0,0 +1,2 @@
+pydyf is a low-level PDF generator written in Python and based on PDF
+specification 1.7.
diff --git a/print/py-pydyf/Makefile b/print/py-pydyf/Makefile
new file mode 100644
index 00000000000..713ffb93099
--- /dev/null
+++ b/print/py-pydyf/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2021/11/19 09:43:08 adam Exp $
+
+DISTNAME= pydyf-0.1.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= print python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pydyf/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://www.courtbouillon.org/pydyf
+COMMENT= Low-level PDF generator
+LICENSE= modified-bsd
+
+TEST_DEPENDS+= ghostscript-agpl-[0-9]*:../../print/ghostscript-agpl
+TEST_DEPENDS+= ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/py-pydyf/PLIST b/print/py-pydyf/PLIST
new file mode 100644
index 00000000000..6a42c058ad6
--- /dev/null
+++ b/print/py-pydyf/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/19 09:43:08 adam Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/pydyf/__init__.py
+${PYSITELIB}/pydyf/__init__.pyc
+${PYSITELIB}/pydyf/__init__.pyo
diff --git a/print/py-pydyf/distinfo b/print/py-pydyf/distinfo
new file mode 100644
index 00000000000..1fee137dbfc
--- /dev/null
+++ b/print/py-pydyf/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2021/11/19 09:43:08 adam Exp $
+
+BLAKE2s (pydyf-0.1.2.tar.gz) = 2008e47b38ed779ccdb62d8bf7c21d46a17a1f57c92fd7a632c5d658dbd1f8d4
+SHA512 (pydyf-0.1.2.tar.gz) = 0054791c92c86c188c6a70cfe83831319cd1a587f48ba4b8bd212af178bae24611815b5436699ea6d17fe1b39115a666b30a7982ac35e54ce1d52f34612c9729
+Size (pydyf-0.1.2.tar.gz) = 14492 bytes