py-pydyf: updated to 0.9.0

Version 0.9.0

Dependencies:

Python 3.12 is supported and tested
Python 3.8+ is now needed, Python 3.7 is not supported anymore

New features:

Add inline images support

Performance:

Simplify _to_bytes()

Documentation:

Add sample to create a PDF with metadata
This commit is contained in:
adam 2024-03-03 15:29:19 +00:00
parent be2c719084
commit eac6704665
2 changed files with 6 additions and 11 deletions

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.9 2023/10/28 19:57:14 wiz Exp $
# $NetBSD: Makefile,v 1.10 2024/03/03 15:29:19 adam Exp $
DISTNAME= pydyf-0.8.0
DISTNAME= pydyf-0.9.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= print python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pydyf/}
@ -16,7 +15,6 @@ TEST_DEPENDS+= ghostscript-agpl-[0-9]*:../../print/ghostscript-agpl
TEST_DEPENDS+= ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
TEST_DEPENDS+= ${PYPKGPREFIX}-isort-[0-9]*:../../devel/py-isort
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
@ -25,8 +23,5 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
post-extract:
${CHMOD} -x ${WRKSRC}/pydyf/__init__.py
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.5 2023/10/02 08:12:19 adam Exp $
$NetBSD: distinfo,v 1.6 2024/03/03 15:29:19 adam Exp $
BLAKE2s (pydyf-0.8.0.tar.gz) = 4b69069e53d9a915e0a87dab4f92129c9a3a1e55d62c4ae9ff24f603aca40c5f
SHA512 (pydyf-0.8.0.tar.gz) = c78913e723593a4e76c36b7a9b3ddd8a85af856a967053d8f7f297901deb2c6a723e98b3ef311e1c9618018e0e727a2d8eaff1adedb52c743facb85491e8d102
Size (pydyf-0.8.0.tar.gz) = 16342 bytes
BLAKE2s (pydyf-0.9.0.tar.gz) = d80b6aa188cf74a77ab72fba2d347f53dbcc3dccadaea3c4b7c5ef3a26c03251
SHA512 (pydyf-0.9.0.tar.gz) = e834026cae3782f7ac43b47bc30d21f3d1c39bcd4017823aaf01f5da4a67f924650f6e0285107d07bc63743ff4d718b3165a84c5805223305907ba3de45207a5
Size (pydyf-0.9.0.tar.gz) = 17270 bytes