pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-rst2pdf



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jul 22 05:14:51 UTC 2024

Modified Files:
        pkgsrc/textproc/py-rst2pdf: Makefile PLIST distinfo

Log Message:
py-rst2pdf: updated to 0.102

0.102 (2024-06-05)

* Added: We now set ``supported_image_type`` attribute in the Sphinx builder
* Changed: We now support ReportLab 4 and xhtml2pdf 0.12.2
* Fixed: CI now correctly fails if the tests fail

0.101 (2023-08-02)

* Changed: We now recommend using pipx to install rst2pdf.
* Changed: The manual's examples for embedding fonts are now better.
* Fixed: The ``twocolumn.yaml`` stylesheet has been restored after inadvertent removal in 0.100.
* Fixed: We now use ``ConfigParser`` so that we are ready for 3.12.
* Fixed: Tests now run correctly regardless of locale.
* Fixed: Arguments when calling ``DelayedTable`` are now in the correct order.

0.100 (2023-03-20)

* Added: New command line option ``--record-dependencies`` to write out the list of files that were
  used to create the PDF.
* Added: Python 3.11 is now experimentally supported. Please report any issues found.
* Changed: Updated tests to use ReportLab 3.6.12. Note that ReportLab 3.6.5 introduced some layout
  changes in rst2pdf's output. We have noticed that header/footer spacing is different, the space
  before nested bullets is bigger than before and that some fully-justified text paragraphs now
  wrap differently.
* Fixed: The ``twoColumn`` style has been reinstated as its used with Sphinx.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/textproc/py-rst2pdf/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/py-rst2pdf/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/py-rst2pdf/distinfo

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

Modified files:

Index: pkgsrc/textproc/py-rst2pdf/Makefile
diff -u pkgsrc/textproc/py-rst2pdf/Makefile:1.15 pkgsrc/textproc/py-rst2pdf/Makefile:1.16
--- pkgsrc/textproc/py-rst2pdf/Makefile:1.15    Tue Jun  6 12:42:33 2023
+++ pkgsrc/textproc/py-rst2pdf/Makefile Mon Jul 22 05:14:51 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2023/06/06 12:42:33 riastradh Exp $
+# $NetBSD: Makefile,v 1.16 2024/07/22 05:14:51 adam Exp $
 
-DISTNAME=      rst2pdf-0.99
+DISTNAME=      rst2pdf-0.102
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/rst2pdf/}
 
@@ -11,7 +10,9 @@ HOMEPAGE=     https://rst2pdf.org/
 COMMENT=       Convert restructured text to PDF via reportlab
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
 DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
 DEPENDS+=      ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
@@ -20,17 +21,16 @@ DEPENDS+=   ${PYPKGPREFIX}-pygments-[0-9]*
 DEPENDS+=      ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab
 DEPENDS+=      ${PYPKGPREFIX}-smartypants-[0-9]*:../../textproc/py-smartypants
 DEPENDS+=      ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
-TEST_DEPENDS+= ${PYPKGPREFIX}-PDF2-[0-9]*:../../print/py-PDF2
+# TODO:
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-mupdf-[0-9]*:../../print/py-mupdf
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-USE_PKG_RESOURCES=     yes
-
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} rst2pdf rst2pdf-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-rst2pdf/PLIST
diff -u pkgsrc/textproc/py-rst2pdf/PLIST:1.6 pkgsrc/textproc/py-rst2pdf/PLIST:1.7
--- pkgsrc/textproc/py-rst2pdf/PLIST:1.6        Tue May 10 07:21:45 2022
+++ pkgsrc/textproc/py-rst2pdf/PLIST    Mon Jul 22 05:14:51 2024
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.6 2022/05/10 07:21:45 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2024/07/22 05:14:51 adam Exp $
 bin/rst2pdf-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/rst2pdf/__init__.py
 ${PYSITELIB}/rst2pdf/__init__.pyc
 ${PYSITELIB}/rst2pdf/__init__.pyo

Index: pkgsrc/textproc/py-rst2pdf/distinfo
diff -u pkgsrc/textproc/py-rst2pdf/distinfo:1.9 pkgsrc/textproc/py-rst2pdf/distinfo:1.10
--- pkgsrc/textproc/py-rst2pdf/distinfo:1.9     Tue May 10 07:21:45 2022
+++ pkgsrc/textproc/py-rst2pdf/distinfo Mon Jul 22 05:14:51 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2022/05/10 07:21:45 adam Exp $
+$NetBSD: distinfo,v 1.10 2024/07/22 05:14:51 adam Exp $
 
-BLAKE2s (rst2pdf-0.99.tar.gz) = 668c029de23fad6a4c426bb6bdc22834f8145b66a31803cd998fe9e5214aa4fd
-SHA512 (rst2pdf-0.99.tar.gz) = 4532486d5e072ae8b1b5360a2557856014697d67f5d65ab1ea220bb672d8155533e1279e48b0206687a1ded3f90850bcff37d73da68a44071cf232d1e23f7daf
-Size (rst2pdf-0.99.tar.gz) = 12141631 bytes
+BLAKE2s (rst2pdf-0.102.tar.gz) = a051e0cb96780bc80347bdecea0f976e1e9ff4ebecf97bd114376c0d146a3522
+SHA512 (rst2pdf-0.102.tar.gz) = 023cbc18933038b9323f8f8c19231929b9e9f93af8efbb8331b5ade394215c5501f48b9d41bb5c02260d4b502119a318e68800e7aa3be577c8670c580d179d46
+Size (rst2pdf-0.102.tar.gz) = 12139658 bytes



Home | Main Index | Thread Index | Old Index