pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc py-pisa: remove
details: https://anonhg.NetBSD.org/pkgsrc/rev/5a724720d977
branches: trunk
changeset: 388198:5a724720d977
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Nov 14 19:34:37 2022 +0000
description:
py-pisa: remove
dead upstream, Last release in 2010
diffstat:
doc/CHANGES-2022 | 3 +-
print/Makefile | 3 +-
print/py-pisa/DESCR | 4 -
print/py-pisa/Makefile | 29 -----
print/py-pisa/PLIST | 83 -----------------
print/py-pisa/distinfo | 10 --
print/py-pisa/patches/patch-aa | 25 -----
print/py-pisa/patches/patch-sx_pisa3_pisa__context.py | 16 ---
print/py-pisa/patches/patch-sx_pisa3_pisa__parser.py | 29 -----
print/py-pisa/patches/patch-sx_pisa3_pisa__reportlab.py | 16 ---
print/py-pisa/patches/patch-sx_pisa3_pisa__util.py | 17 ---
11 files changed, 3 insertions(+), 232 deletions(-)
diffs (296 lines):
diff -r 8174db62240c -r 5a724720d977 doc/CHANGES-2022
--- a/doc/CHANGES-2022 Mon Nov 14 19:32:54 2022 +0000
+++ b/doc/CHANGES-2022 Mon Nov 14 19:34:37 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2022,v 1.5505 2022/11/14 19:32:54 wiz Exp $
+$NetBSD: CHANGES-2022,v 1.5506 2022/11/14 19:34:37 wiz Exp $
Changes to the packages collection and infrastructure in 2022:
@@ -8324,3 +8324,4 @@
Updated parallel/opencl-clang to 15.0.0 [adam 2022-11-14]
Updated lang/py-cxfreeze to 6.13.1 [wiz 2022-11-14]
Updated print/py-xhtml2pdf to 0.2.8 [wiz 2022-11-14]
+ Removed print/py-pisa [wiz 2022-11-14]
diff -r 8174db62240c -r 5a724720d977 print/Makefile
--- a/print/Makefile Mon Nov 14 19:32:54 2022 +0000
+++ b/print/Makefile Mon Nov 14 19:34:37 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.892 2022/10/31 09:03:38 prlw1 Exp $
+# $NetBSD: Makefile,v 1.893 2022/11/14 19:34:37 wiz Exp $
#
COMMENT= Desktop publishing
@@ -136,7 +136,6 @@
SUBDIR+= py-octoprint-filecheck
SUBDIR+= py-octoprint-firmwarecheck
SUBDIR+= py-octoprint-pisupport
-SUBDIR+= py-pisa
SUBDIR+= py-pslib
SUBDIR+= py-pydyf
SUBDIR+= py-reportlab
diff -r 8174db62240c -r 5a724720d977 print/py-pisa/DESCR
--- a/print/py-pisa/DESCR Mon Nov 14 19:32:54 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-pisa is a html2pdf convert using ReportLab, HTML5lib and pyPDF.
-It supports HTML 5 and CSS 2.1.
-
-This package is obsolete. Please use print/py-weasyprint instead.
diff -r 8174db62240c -r 5a724720d977 print/py-pisa/Makefile
--- a/print/py-pisa/Makefile Mon Nov 14 19:32:54 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-# $NetBSD: Makefile,v 1.30 2022/11/09 13:14:16 joerg Exp $
-
-DISTNAME= pisa-3.0.33
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 5
-CATEGORIES= print textproc www python
-MASTER_SITES= ${MASTER_SITE_PYPI:=p/pisa/}
-
-OWNER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://pypi.python.org/pypi/pisa/
-COMMENT= HTML2pdf converter (obsolete, use print/py-weasyprint instead)
-LICENSE= apache-2.0
-
-DEPENDS+= ${PYPKGPREFIX}-Pdf-[0-9]*:../../print/py-Pdf
-DEPENDS+= ${PYPKGPREFIX}-reportlab>=2.2:../../print/py-reportlab
-DEPENDS+= ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib
-
-PYTHON_VERSIONS_ACCEPTED= 27 # not ported as of 3.0.33
-
-USE_PKG_RESOURCES= yes
-
-# remove CRs: fixes patching on Darwin and stops pkglint from complaining
-pre-patch:
- cd ${WRKSRC} && for f in sx/*/*.py; do \
- ${TR} -d '\r' < $$f > $${f}.new && ${MV} $${f}.new $$f; \
- done
-
-.include "../../lang/python/egg.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 8174db62240c -r 5a724720d977 print/py-pisa/PLIST
--- a/print/py-pisa/PLIST Mon Nov 14 19:32:54 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,83 +0,0 @@
-@comment $NetBSD: PLIST,v 1.4 2016/11/08 11:42:01 wiz Exp $
-bin/pisa
-bin/xhtml2pdf
-${PYSITELIB}/ho/__init__.py
-${PYSITELIB}/ho/__init__.pyc
-${PYSITELIB}/ho/__init__.pyo
-${PYSITELIB}/ho/pisa/__init__.py
-${PYSITELIB}/ho/pisa/__init__.pyc
-${PYSITELIB}/ho/pisa/__init__.pyo
-${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}/top_level.txt
-${PYSITELIB}/sx/__init__.py
-${PYSITELIB}/sx/__init__.pyc
-${PYSITELIB}/sx/__init__.pyo
-${PYSITELIB}/sx/pisa3/__init__.py
-${PYSITELIB}/sx/pisa3/__init__.pyc
-${PYSITELIB}/sx/pisa3/__init__.pyo
-${PYSITELIB}/sx/pisa3/pisa.py
-${PYSITELIB}/sx/pisa3/pisa.pyc
-${PYSITELIB}/sx/pisa3/pisa.pyo
-${PYSITELIB}/sx/pisa3/pisa_context.py
-${PYSITELIB}/sx/pisa3/pisa_context.pyc
-${PYSITELIB}/sx/pisa3/pisa_context.pyo
-${PYSITELIB}/sx/pisa3/pisa_default.py
-${PYSITELIB}/sx/pisa3/pisa_default.pyc
-${PYSITELIB}/sx/pisa3/pisa_default.pyo
-${PYSITELIB}/sx/pisa3/pisa_document.py
-${PYSITELIB}/sx/pisa3/pisa_document.pyc
-${PYSITELIB}/sx/pisa3/pisa_document.pyo
-${PYSITELIB}/sx/pisa3/pisa_paragraph.py
-${PYSITELIB}/sx/pisa3/pisa_paragraph.pyc
-${PYSITELIB}/sx/pisa3/pisa_paragraph.pyo
-${PYSITELIB}/sx/pisa3/pisa_paragraph2.py
-${PYSITELIB}/sx/pisa3/pisa_paragraph2.pyc
-${PYSITELIB}/sx/pisa3/pisa_paragraph2.pyo
-${PYSITELIB}/sx/pisa3/pisa_parser.py
-${PYSITELIB}/sx/pisa3/pisa_parser.pyc
-${PYSITELIB}/sx/pisa3/pisa_parser.pyo
-${PYSITELIB}/sx/pisa3/pisa_pdf.py
-${PYSITELIB}/sx/pisa3/pisa_pdf.pyc
-${PYSITELIB}/sx/pisa3/pisa_pdf.pyo
-${PYSITELIB}/sx/pisa3/pisa_reportlab.py
-${PYSITELIB}/sx/pisa3/pisa_reportlab.pyc
-${PYSITELIB}/sx/pisa3/pisa_reportlab.pyo
-${PYSITELIB}/sx/pisa3/pisa_tables.py
-${PYSITELIB}/sx/pisa3/pisa_tables.pyc
-${PYSITELIB}/sx/pisa3/pisa_tables.pyo
-${PYSITELIB}/sx/pisa3/pisa_tags.py
-${PYSITELIB}/sx/pisa3/pisa_tags.pyc
-${PYSITELIB}/sx/pisa3/pisa_tags.pyo
-${PYSITELIB}/sx/pisa3/pisa_turbogears.py
-${PYSITELIB}/sx/pisa3/pisa_turbogears.pyc
-${PYSITELIB}/sx/pisa3/pisa_turbogears.pyo
-${PYSITELIB}/sx/pisa3/pisa_util.py
-${PYSITELIB}/sx/pisa3/pisa_util.pyc
-${PYSITELIB}/sx/pisa3/pisa_util.pyo
-${PYSITELIB}/sx/pisa3/pisa_version.py
-${PYSITELIB}/sx/pisa3/pisa_version.pyc
-${PYSITELIB}/sx/pisa3/pisa_version.pyo
-${PYSITELIB}/sx/pisa3/pisa_wsgi.py
-${PYSITELIB}/sx/pisa3/pisa_wsgi.pyc
-${PYSITELIB}/sx/pisa3/pisa_wsgi.pyo
-${PYSITELIB}/sx/pisa3/reportlab_paragraph.py
-${PYSITELIB}/sx/pisa3/reportlab_paragraph.pyc
-${PYSITELIB}/sx/pisa3/reportlab_paragraph.pyo
-${PYSITELIB}/sx/w3c/__init__.py
-${PYSITELIB}/sx/w3c/__init__.pyc
-${PYSITELIB}/sx/w3c/__init__.pyo
-${PYSITELIB}/sx/w3c/css.py
-${PYSITELIB}/sx/w3c/css.pyc
-${PYSITELIB}/sx/w3c/css.pyo
-${PYSITELIB}/sx/w3c/cssDOMElementInterface.py
-${PYSITELIB}/sx/w3c/cssDOMElementInterface.pyc
-${PYSITELIB}/sx/w3c/cssDOMElementInterface.pyo
-${PYSITELIB}/sx/w3c/cssParser.py
-${PYSITELIB}/sx/w3c/cssParser.pyc
-${PYSITELIB}/sx/w3c/cssParser.pyo
-${PYSITELIB}/sx/w3c/cssSpecial.py
-${PYSITELIB}/sx/w3c/cssSpecial.pyc
-${PYSITELIB}/sx/w3c/cssSpecial.pyo
diff -r 8174db62240c -r 5a724720d977 print/py-pisa/distinfo
--- a/print/py-pisa/distinfo Mon Nov 14 19:32:54 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-$NetBSD: distinfo,v 1.12 2021/10/26 11:12:15 nia Exp $
-
-BLAKE2s (pisa-3.0.33.tar.gz) = f3034104d780da9be2103fe0d0f87dc1d434fa117f88314212967bb13d835aed
-SHA512 (pisa-3.0.33.tar.gz) = 5d11d717734ca30876697ce25c77f381a560f4b266b2dbd9f2445ac9b39e2750cc3ff31603d9a1cba6ed51a047fca38ac95a2a4dddf88b238aa5c0d6f810a975
-Size (pisa-3.0.33.tar.gz) = 4500555 bytes
-SHA1 (patch-aa) = 39354cac1592787d43622c04ef776f13b39450ca
-SHA1 (patch-sx_pisa3_pisa__context.py) = 3822f8b4e155bf6d2cbe57304d641dee459151fe
-SHA1 (patch-sx_pisa3_pisa__parser.py) = 54a582b177ec5866ad2b3ba0db8d7a3bc9b8ad51
-SHA1 (patch-sx_pisa3_pisa__reportlab.py) = 0eb4a042b151d94ee8d3d12fc00b28fee4b31e48
-SHA1 (patch-sx_pisa3_pisa__util.py) = 130f9ac339239b71fc6a4920c0cadcccdbc1a913
diff -r 8174db62240c -r 5a724720d977 print/py-pisa/patches/patch-aa
--- a/print/py-pisa/patches/patch-aa Mon Nov 14 19:32:54 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2016/11/08 11:42:01 wiz Exp $
-
---- sx/w3c/css.py.orig 2009-03-18 13:02:36.000000000 +0000
-+++ sx/w3c/css.py
-@@ -37,7 +37,10 @@ Dependencies:
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- import copy
--import sets
-+try:
-+ set
-+except NameError:
-+ from sets import Set as set
- import cssParser
- import cssSpecial
-
-@@ -526,7 +529,7 @@ class CSSInlineRuleset(CSSRuleset, CSSDe
- class CSSBuilder(cssParser.CSSBuilderAbstract):
- RulesetFactory = CSSRuleset
- SelectorFactory = CSSMutableSelector
-- MediumSetFactory = sets.Set
-+ MediumSetFactory = set
- DeclarationsFactory = CSSDeclarations
- TermFunctionFactory = CSSTerminalFunction
- TermOperatorFactory = CSSTerminalOperator
diff -r 8174db62240c -r 5a724720d977 print/py-pisa/patches/patch-sx_pisa3_pisa__context.py
--- a/print/py-pisa/patches/patch-sx_pisa3_pisa__context.py Mon Nov 14 19:32:54 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-sx_pisa3_pisa__context.py,v 1.1 2018/01/08 22:11:06 joerg Exp $
-
---- sx/pisa3/pisa_context.py.orig 2018-01-08 14:18:52.579405122 +0000
-+++ sx/pisa3/pisa_context.py
-@@ -40,7 +40,10 @@ from reportlab.lib.fonts import addMappi
-
- from sx.w3c import css, cssDOMElementInterface
-
--from html5lib.sanitizer import *
-+try:
-+ from html5lib.filters.sanitizer import *
-+except ImportError:
-+ from html5lib.sanitizer import *
-
- import logging
- log = logging.getLogger("ho.pisa")
diff -r 8174db62240c -r 5a724720d977 print/py-pisa/patches/patch-sx_pisa3_pisa__parser.py
--- a/print/py-pisa/patches/patch-sx_pisa3_pisa__parser.py Mon Nov 14 19:32:54 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-$NetBSD: patch-sx_pisa3_pisa__parser.py,v 1.1 2018/01/08 22:11:06 joerg Exp $
-
---- sx/pisa3/pisa_parser.py.orig 2018-01-08 15:08:43.919276904 +0000
-+++ sx/pisa3/pisa_parser.py
-@@ -26,7 +26,11 @@ import os
- import os.path
-
- import html5lib
--from html5lib import treebuilders, serializer, treewalkers, inputstream
-+from html5lib import treebuilders, serializer, treewalkers
-+try:
-+ from html5lib import inputstream
-+except ImportError:
-+ from html5lib import _inputstream as inputstream
- from xml.dom import Node
- import xml.dom.minidom
-
-@@ -612,9 +616,8 @@ def pisaParser(src, c, default_css="", x
- log.error("%r is not a valid encoding", encoding)
-
- document = parser.parse(
-- src,
-- encoding=encoding)
--
-+ src)
-+
- if xml_output:
- xml_output.write(document.toprettyxml(encoding="utf8"))
-
diff -r 8174db62240c -r 5a724720d977 print/py-pisa/patches/patch-sx_pisa3_pisa__reportlab.py
--- a/print/py-pisa/patches/patch-sx_pisa3_pisa__reportlab.py Mon Nov 14 19:32:54 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-sx_pisa3_pisa__reportlab.py,v 1.1 2017/06/29 20:02:02 joerg Exp $
-
---- sx/pisa3/pisa_reportlab.py.orig 2017-06-29 13:03:23.461320659 +0000
-+++ sx/pisa3/pisa_reportlab.py
-@@ -327,7 +327,10 @@ class PmlImageReader(object):
- elif mode not in ('L', 'RGB', 'CMYK'):
- im = im.convert('RGB')
- self.mode = 'RGB'
-- self._data = im.tostring()
-+ if hasattr(im, "tobytes"):
-+ self._data = im.tobytes()
-+ else:
-+ self._data = im.tostring()
- return self._data
-
- def getImageData(self):
diff -r 8174db62240c -r 5a724720d977 print/py-pisa/patches/patch-sx_pisa3_pisa__util.py
--- a/print/py-pisa/patches/patch-sx_pisa3_pisa__util.py Mon Nov 14 19:32:54 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-sx_pisa3_pisa__util.py,v 1.1 2016/11/11 12:47:52 joerg Exp $
-
---- sx/pisa3/pisa_util.py.orig 2010-06-16 13:43:35.000000000 +0000
-+++ sx/pisa3/pisa_util.py
-@@ -51,10 +51,10 @@ import shutil
-
- rgb_re = re.compile("^.*?rgb[(]([0-9]+).*?([0-9]+).*?([0-9]+)[)].*?[ ]*$")
-
--if not(reportlab.Version[0] == "2" and reportlab.Version[2] >= "1"):
-+if int(reportlab.Version[0]) < 2 or (reportlab.Version[0] == "2" and reportlab.Version[2] == "0"):
- raise ImportError("Reportlab Version 2.1+ is needed!")
-
--REPORTLAB22 = (reportlab.Version[0] == "2" and reportlab.Version[2] >= "2")
-+REPORTLAB22 = not(reportlab.Version[0] == "2" and reportlab.Version[2] == "1")
- # print "***", reportlab.Version, REPORTLAB22, reportlab.__file__
-
- import logging
Home |
Main Index |
Thread Index |
Old Index