pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/print/py-weasyprint0
Module Name: pkgsrc
Committed By: joerg
Date: Thu Apr 29 13:15:32 UTC 2021
Added Files:
pkgsrc/print/py-weasyprint0: DESCR Makefile PLIST distinfo
pkgsrc/print/py-weasyprint0/patches: patch-setup.py
Log Message:
Undo removal of py27-weasyprint-0.42.3.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.3 pkgsrc/print/py-weasyprint0/DESCR \
pkgsrc/print/py-weasyprint0/PLIST pkgsrc/print/py-weasyprint0/distinfo
cvs rdiff -u -r0 -r1.7 pkgsrc/print/py-weasyprint0/Makefile
cvs rdiff -u -r0 -r1.3 pkgsrc/print/py-weasyprint0/patches/patch-setup.py
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-weasyprint0/DESCR
diff -u /dev/null pkgsrc/print/py-weasyprint0/DESCR:1.3
--- /dev/null Thu Apr 29 13:15:32 2021
+++ pkgsrc/print/py-weasyprint0/DESCR Thu Apr 29 13:15:32 2021
@@ -0,0 +1,7 @@
+WeasyPrint is a visual rendering engine for HTML and CSS that can
+export to PDF. It aims to support web standards for printing.
+WeasyPrint is free software made available under a BSD license.
+
+It is based on various libraries but not on a full rendering engine
+like WebKit or Gecko. The CSS layout engine is written in Python,
+designed for pagination, and meant to be easy to hack on.
Index: pkgsrc/print/py-weasyprint0/PLIST
diff -u /dev/null pkgsrc/print/py-weasyprint0/PLIST:1.3
--- /dev/null Thu Apr 29 13:15:32 2021
+++ pkgsrc/print/py-weasyprint0/PLIST Thu Apr 29 13:15:32 2021
@@ -0,0 +1,197 @@
+@comment $NetBSD: PLIST,v 1.3 2021/04/29 13:15:32 joerg Exp $
+bin/weasyprint${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}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/weasyprint/__init__.py
+${PYSITELIB}/weasyprint/__init__.pyc
+${PYSITELIB}/weasyprint/__init__.pyo
+${PYSITELIB}/weasyprint/__main__.py
+${PYSITELIB}/weasyprint/__main__.pyc
+${PYSITELIB}/weasyprint/__main__.pyo
+${PYSITELIB}/weasyprint/compat.py
+${PYSITELIB}/weasyprint/compat.pyc
+${PYSITELIB}/weasyprint/compat.pyo
+${PYSITELIB}/weasyprint/css/__init__.py
+${PYSITELIB}/weasyprint/css/__init__.pyc
+${PYSITELIB}/weasyprint/css/__init__.pyo
+${PYSITELIB}/weasyprint/css/computed_values.py
+${PYSITELIB}/weasyprint/css/computed_values.pyc
+${PYSITELIB}/weasyprint/css/computed_values.pyo
+${PYSITELIB}/weasyprint/css/descriptors.py
+${PYSITELIB}/weasyprint/css/descriptors.pyc
+${PYSITELIB}/weasyprint/css/descriptors.pyo
+${PYSITELIB}/weasyprint/css/html5_ph.css
+${PYSITELIB}/weasyprint/css/html5_ua.css
+${PYSITELIB}/weasyprint/css/properties.py
+${PYSITELIB}/weasyprint/css/properties.pyc
+${PYSITELIB}/weasyprint/css/properties.pyo
+${PYSITELIB}/weasyprint/css/tests_ua.css
+${PYSITELIB}/weasyprint/css/validation.py
+${PYSITELIB}/weasyprint/css/validation.pyc
+${PYSITELIB}/weasyprint/css/validation.pyo
+${PYSITELIB}/weasyprint/document.py
+${PYSITELIB}/weasyprint/document.pyc
+${PYSITELIB}/weasyprint/document.pyo
+${PYSITELIB}/weasyprint/draw.py
+${PYSITELIB}/weasyprint/draw.pyc
+${PYSITELIB}/weasyprint/draw.pyo
+${PYSITELIB}/weasyprint/fonts.py
+${PYSITELIB}/weasyprint/fonts.pyc
+${PYSITELIB}/weasyprint/fonts.pyo
+${PYSITELIB}/weasyprint/formatting_structure/__init__.py
+${PYSITELIB}/weasyprint/formatting_structure/__init__.pyc
+${PYSITELIB}/weasyprint/formatting_structure/__init__.pyo
+${PYSITELIB}/weasyprint/formatting_structure/boxes.py
+${PYSITELIB}/weasyprint/formatting_structure/boxes.pyc
+${PYSITELIB}/weasyprint/formatting_structure/boxes.pyo
+${PYSITELIB}/weasyprint/formatting_structure/build.py
+${PYSITELIB}/weasyprint/formatting_structure/build.pyc
+${PYSITELIB}/weasyprint/formatting_structure/build.pyo
+${PYSITELIB}/weasyprint/formatting_structure/counters.py
+${PYSITELIB}/weasyprint/formatting_structure/counters.pyc
+${PYSITELIB}/weasyprint/formatting_structure/counters.pyo
+${PYSITELIB}/weasyprint/html.py
+${PYSITELIB}/weasyprint/html.pyc
+${PYSITELIB}/weasyprint/html.pyo
+${PYSITELIB}/weasyprint/images.py
+${PYSITELIB}/weasyprint/images.pyc
+${PYSITELIB}/weasyprint/images.pyo
+${PYSITELIB}/weasyprint/layout/__init__.py
+${PYSITELIB}/weasyprint/layout/__init__.pyc
+${PYSITELIB}/weasyprint/layout/__init__.pyo
+${PYSITELIB}/weasyprint/layout/absolute.py
+${PYSITELIB}/weasyprint/layout/absolute.pyc
+${PYSITELIB}/weasyprint/layout/absolute.pyo
+${PYSITELIB}/weasyprint/layout/backgrounds.py
+${PYSITELIB}/weasyprint/layout/backgrounds.pyc
+${PYSITELIB}/weasyprint/layout/backgrounds.pyo
+${PYSITELIB}/weasyprint/layout/blocks.py
+${PYSITELIB}/weasyprint/layout/blocks.pyc
+${PYSITELIB}/weasyprint/layout/blocks.pyo
+${PYSITELIB}/weasyprint/layout/float.py
+${PYSITELIB}/weasyprint/layout/float.pyc
+${PYSITELIB}/weasyprint/layout/float.pyo
+${PYSITELIB}/weasyprint/layout/inlines.py
+${PYSITELIB}/weasyprint/layout/inlines.pyc
+${PYSITELIB}/weasyprint/layout/inlines.pyo
+${PYSITELIB}/weasyprint/layout/markers.py
+${PYSITELIB}/weasyprint/layout/markers.pyc
+${PYSITELIB}/weasyprint/layout/markers.pyo
+${PYSITELIB}/weasyprint/layout/min_max.py
+${PYSITELIB}/weasyprint/layout/min_max.pyc
+${PYSITELIB}/weasyprint/layout/min_max.pyo
+${PYSITELIB}/weasyprint/layout/pages.py
+${PYSITELIB}/weasyprint/layout/pages.pyc
+${PYSITELIB}/weasyprint/layout/pages.pyo
+${PYSITELIB}/weasyprint/layout/percentages.py
+${PYSITELIB}/weasyprint/layout/percentages.pyc
+${PYSITELIB}/weasyprint/layout/percentages.pyo
+${PYSITELIB}/weasyprint/layout/preferred.py
+${PYSITELIB}/weasyprint/layout/preferred.pyc
+${PYSITELIB}/weasyprint/layout/preferred.pyo
+${PYSITELIB}/weasyprint/layout/replaced.py
+${PYSITELIB}/weasyprint/layout/replaced.pyc
+${PYSITELIB}/weasyprint/layout/replaced.pyo
+${PYSITELIB}/weasyprint/layout/tables.py
+${PYSITELIB}/weasyprint/layout/tables.pyc
+${PYSITELIB}/weasyprint/layout/tables.pyo
+${PYSITELIB}/weasyprint/logger.py
+${PYSITELIB}/weasyprint/logger.pyc
+${PYSITELIB}/weasyprint/logger.pyo
+${PYSITELIB}/weasyprint/navigator.py
+${PYSITELIB}/weasyprint/navigator.pyc
+${PYSITELIB}/weasyprint/navigator.pyo
+${PYSITELIB}/weasyprint/pdf.py
+${PYSITELIB}/weasyprint/pdf.pyc
+${PYSITELIB}/weasyprint/pdf.pyo
+${PYSITELIB}/weasyprint/stacking.py
+${PYSITELIB}/weasyprint/stacking.pyc
+${PYSITELIB}/weasyprint/stacking.pyo
+${PYSITELIB}/weasyprint/tests/__init__.py
+${PYSITELIB}/weasyprint/tests/__init__.pyc
+${PYSITELIB}/weasyprint/tests/__init__.pyo
+${PYSITELIB}/weasyprint/tests/resources/acid2-reference.html
+${PYSITELIB}/weasyprint/tests/resources/acid2-test.html
+${PYSITELIB}/weasyprint/tests/resources/blue.jpg
+${PYSITELIB}/weasyprint/tests/resources/doc1.html
+${PYSITELIB}/weasyprint/tests/resources/doc1_UTF-16BE.html
+${PYSITELIB}/weasyprint/tests/resources/icon.png
+${PYSITELIB}/weasyprint/tests/resources/latin1-test.css
+${PYSITELIB}/weasyprint/tests/resources/logo_small.png
+${PYSITELIB}/weasyprint/tests/resources/mini_ua.css
+${PYSITELIB}/weasyprint/tests/resources/pattern.gif
+${PYSITELIB}/weasyprint/tests/resources/pattern.palette.png
+${PYSITELIB}/weasyprint/tests/resources/pattern.png
+${PYSITELIB}/weasyprint/tests/resources/pattern.svg
+${PYSITELIB}/weasyprint/tests/resources/really-a-png.svg
+${PYSITELIB}/weasyprint/tests/resources/really-a-svg.png
+${PYSITELIB}/weasyprint/tests/resources/sheet2.css
+${PYSITELIB}/weasyprint/tests/resources/sub_directory/sheet1.css
+${PYSITELIB}/weasyprint/tests/resources/user.css
+${PYSITELIB}/weasyprint/tests/resources/utf8-test.css
+${PYSITELIB}/weasyprint/tests/resources/weasyprint.otf
+${PYSITELIB}/weasyprint/tests/test_api.py
+${PYSITELIB}/weasyprint/tests/test_api.pyc
+${PYSITELIB}/weasyprint/tests/test_api.pyo
+${PYSITELIB}/weasyprint/tests/test_boxes.py
+${PYSITELIB}/weasyprint/tests/test_boxes.pyc
+${PYSITELIB}/weasyprint/tests/test_boxes.pyo
+${PYSITELIB}/weasyprint/tests/test_columns.py
+${PYSITELIB}/weasyprint/tests/test_columns.pyc
+${PYSITELIB}/weasyprint/tests/test_columns.pyo
+${PYSITELIB}/weasyprint/tests/test_css.py
+${PYSITELIB}/weasyprint/tests/test_css.pyc
+${PYSITELIB}/weasyprint/tests/test_css.pyo
+${PYSITELIB}/weasyprint/tests/test_css_descriptors.py
+${PYSITELIB}/weasyprint/tests/test_css_descriptors.pyc
+${PYSITELIB}/weasyprint/tests/test_css_descriptors.pyo
+${PYSITELIB}/weasyprint/tests/test_css_validation.py
+${PYSITELIB}/weasyprint/tests/test_css_validation.pyc
+${PYSITELIB}/weasyprint/tests/test_css_validation.pyo
+${PYSITELIB}/weasyprint/tests/test_draw.py
+${PYSITELIB}/weasyprint/tests/test_draw.pyc
+${PYSITELIB}/weasyprint/tests/test_draw.pyo
+${PYSITELIB}/weasyprint/tests/test_float.py
+${PYSITELIB}/weasyprint/tests/test_float.pyc
+${PYSITELIB}/weasyprint/tests/test_float.pyo
+${PYSITELIB}/weasyprint/tests/test_fonts.py
+${PYSITELIB}/weasyprint/tests/test_fonts.pyc
+${PYSITELIB}/weasyprint/tests/test_fonts.pyo
+${PYSITELIB}/weasyprint/tests/test_layout.py
+${PYSITELIB}/weasyprint/tests/test_layout.pyc
+${PYSITELIB}/weasyprint/tests/test_layout.pyo
+${PYSITELIB}/weasyprint/tests/test_pdf.py
+${PYSITELIB}/weasyprint/tests/test_pdf.pyc
+${PYSITELIB}/weasyprint/tests/test_pdf.pyo
+${PYSITELIB}/weasyprint/tests/test_presentational_hints.py
+${PYSITELIB}/weasyprint/tests/test_presentational_hints.pyc
+${PYSITELIB}/weasyprint/tests/test_presentational_hints.pyo
+${PYSITELIB}/weasyprint/tests/test_stacking.py
+${PYSITELIB}/weasyprint/tests/test_stacking.pyc
+${PYSITELIB}/weasyprint/tests/test_stacking.pyo
+${PYSITELIB}/weasyprint/tests/test_tables.py
+${PYSITELIB}/weasyprint/tests/test_tables.pyc
+${PYSITELIB}/weasyprint/tests/test_tables.pyo
+${PYSITELIB}/weasyprint/tests/test_text.py
+${PYSITELIB}/weasyprint/tests/test_text.pyc
+${PYSITELIB}/weasyprint/tests/test_text.pyo
+${PYSITELIB}/weasyprint/tests/test_web/__init__.py
+${PYSITELIB}/weasyprint/tests/test_web/__init__.pyc
+${PYSITELIB}/weasyprint/tests/test_web/__init__.pyo
+${PYSITELIB}/weasyprint/tests/test_web/run.py
+${PYSITELIB}/weasyprint/tests/test_web/run.pyc
+${PYSITELIB}/weasyprint/tests/test_web/run.pyo
+${PYSITELIB}/weasyprint/tests/testing_utils.py
+${PYSITELIB}/weasyprint/tests/testing_utils.pyc
+${PYSITELIB}/weasyprint/tests/testing_utils.pyo
+${PYSITELIB}/weasyprint/text.py
+${PYSITELIB}/weasyprint/text.pyc
+${PYSITELIB}/weasyprint/text.pyo
+${PYSITELIB}/weasyprint/urls.py
+${PYSITELIB}/weasyprint/urls.pyc
+${PYSITELIB}/weasyprint/urls.pyo
Index: pkgsrc/print/py-weasyprint0/distinfo
diff -u /dev/null pkgsrc/print/py-weasyprint0/distinfo:1.3
--- /dev/null Thu Apr 29 13:15:32 2021
+++ pkgsrc/print/py-weasyprint0/distinfo Thu Apr 29 13:15:32 2021
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.3 2021/04/29 13:15:32 joerg Exp $
+
+SHA1 (WeasyPrint-0.42.3.tar.gz) = afef25da0610fb8031609798d8b25be44506bef4
+RMD160 (WeasyPrint-0.42.3.tar.gz) = 4ea815172a3bd32420e3919272c2f037a6b76c85
+SHA512 (WeasyPrint-0.42.3.tar.gz) = d6007934c301904308bd4821626d6a7bb504268c5c71a31f7486faebb3dd649fad18774737cab39eb13a0916635bb58eba2c8432c72cc5a461cea2a5d874b1ee
+Size (WeasyPrint-0.42.3.tar.gz) = 399972 bytes
+SHA1 (patch-setup.py) = a7657e79ac611f3122a81d7f2c6c195e52ba9399
Index: pkgsrc/print/py-weasyprint0/Makefile
diff -u /dev/null pkgsrc/print/py-weasyprint0/Makefile:1.7
--- /dev/null Thu Apr 29 13:15:32 2021
+++ pkgsrc/print/py-weasyprint0/Makefile Thu Apr 29 13:15:32 2021
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.7 2021/04/29 13:15:32 joerg Exp $
+
+DISTNAME= WeasyPrint-0.42.3
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+CATEGORIES= print python
+MASTER_SITES= ${MASTER_SITE_PYPI:=W/WeasyPrint/}
+
+MAINTAINER= kleink%NetBSD.org@localhost
+HOMEPAGE= https://weasyprint.org/
+COMMENT= Converts HTML/CSS documents to PDF (Python 2.x version)
+LICENSE= modified-bsd
+
+DEPENDS+= pango-[0-9]*:../../devel/pango
+DEPENDS+= ${PYPKGPREFIX}-cairosvg>=1.0.20<2:../../converters/py27-cairosvg
+DEPENDS+= ${PYPKGPREFIX}-cairocffi>=0.5:../../graphics/py-cairocffi
+DEPENDS+= ${PYPKGPREFIX}-cffi>=0.6:../../devel/py-cffi
+DEPENDS+= ${PYPKGPREFIX}-cssselect2>=0.1:../../textproc/py-cssselect2
+DEPENDS+= ${PYPKGPREFIX}-html5lib>=0.999999999:../../textproc/py-html5lib
+DEPENDS+= ${PYPKGPREFIX}-pdfrw>=0.4:../../textproc/py-pdfrw
+DEPENDS+= ${PYPKGPREFIX}-pyphen>=0.8:../../textproc/py-pyphen
+DEPENDS+= ${PYPKGPREFIX}-tinycss2>=0.5:../../textproc/py27-tinycss2
+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
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+
+PYTHON_VERSIONS_ACCEPTED= 27
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/print/py-weasyprint0/patches/patch-setup.py
diff -u /dev/null pkgsrc/print/py-weasyprint0/patches/patch-setup.py:1.3
--- /dev/null Thu Apr 29 13:15:32 2021
+++ pkgsrc/print/py-weasyprint0/patches/patch-setup.py Thu Apr 29 13:15:32 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.3 2021/04/29 13:15:32 joerg Exp $
+
+Adjust script path to allow multiple Python version installs.
+
+--- setup.py.orig 2017-12-22 23:26:45.000000000 +0000
++++ setup.py
+@@ -83,7 +83,7 @@ setup(
+ ':python_version >= "3.0"': ['CairoSVG >= 1.0.20']},
+ entry_points={
+ 'console_scripts': [
+- 'weasyprint = weasyprint.__main__:main',
++ 'weasyprint%s = weasyprint.__main__:main' % sys.version[0:3],
+ ],
+ },
+ )
Home |
Main Index |
Thread Index |
Old Index