pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/py-weasyprint py-weasyprint: Unbreak for py-setu...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a647a4c0db1c
branches: trunk
changeset: 319356:a647a4c0db1c
user: kleink <kleink%pkgsrc.org@localhost>
date: Tue Feb 12 12:00:39 2019 +0000
description:
py-weasyprint: Unbreak for py-setuptools>=40.7.0
In setuptools >= 40.7.0, file inputs for the license field in setup.cfg
files explicitly raise an error. Use the license_file field for that
purpose.
Bump PKGREVISION.
diffstat:
print/py-weasyprint/Makefile | 3 ++-
print/py-weasyprint/distinfo | 4 ++--
print/py-weasyprint/patches/patch-setup.cfg | 19 +++++++++++++++----
3 files changed, 19 insertions(+), 7 deletions(-)
diffs (60 lines):
diff -r c12301ffcfee -r a647a4c0db1c print/py-weasyprint/Makefile
--- a/print/py-weasyprint/Makefile Tue Feb 12 11:49:15 2019 +0000
+++ b/print/py-weasyprint/Makefile Tue Feb 12 12:00:39 2019 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.18 2019/01/05 18:15:12 kleink Exp $
+# $NetBSD: Makefile,v 1.19 2019/02/12 12:00:39 kleink Exp $
DISTNAME= WeasyPrint-44
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+PKGREVISION= 1
CATEGORIES= print python
MASTER_SITES= ${MASTER_SITE_PYPI:=W/WeasyPrint/}
diff -r c12301ffcfee -r a647a4c0db1c print/py-weasyprint/distinfo
--- a/print/py-weasyprint/distinfo Tue Feb 12 11:49:15 2019 +0000
+++ b/print/py-weasyprint/distinfo Tue Feb 12 12:00:39 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.15 2019/01/05 18:15:12 kleink Exp $
+$NetBSD: distinfo,v 1.16 2019/02/12 12:00:39 kleink Exp $
SHA1 (WeasyPrint-44.tar.gz) = 787016a96c1c86754b833cb8d518227195ad5f5a
RMD160 (WeasyPrint-44.tar.gz) = 7e91d5ad5cfbf8b8d180f50fa8b86409163cbf2f
SHA512 (WeasyPrint-44.tar.gz) = f6e99f45aba99e4d37f508e0c58422e676256481d855daaee9290b62a8fa06e6254e76af221a40524084338f348dcab2f2e916d2261455288b5782a4ea47d72a
Size (WeasyPrint-44.tar.gz) = 315841 bytes
-SHA1 (patch-setup.cfg) = b12afa67aeac4a7cdf19e1a61e25cd91b354ddbf
+SHA1 (patch-setup.cfg) = bc1a2f2ed2ea3637744e1d341988d9dc4bc420dd
diff -r c12301ffcfee -r a647a4c0db1c print/py-weasyprint/patches/patch-setup.cfg
--- a/print/py-weasyprint/patches/patch-setup.cfg Tue Feb 12 11:49:15 2019 +0000
+++ b/print/py-weasyprint/patches/patch-setup.cfg Tue Feb 12 12:00:39 2019 +0000
@@ -1,15 +1,26 @@
-$NetBSD: patch-setup.cfg,v 1.1 2018/11/14 18:17:26 kleink Exp $
+$NetBSD: patch-setup.cfg,v 1.2 2019/02/12 12:00:39 kleink Exp $
+Adjust license/license_file for setuptools >= 40.7.0.
Adjust script path to allow multiple Python version installs.
---- setup.cfg.orig 2018-11-09 09:09:34.000000000 +0000
+--- setup.cfg.orig 2018-12-29 16:24:11.000000000 +0000
+++ setup.cfg
-@@ -50,7 +50,7 @@ tests_require =
+@@ -2,7 +2,8 @@
+ name = WeasyPrint
+ url = https://weasyprint.org/
+ version = file: weasyprint/VERSION
+-license = file: LICENSE
++license = BSD
++license_file = LICENSE
+ description = The Gorgeous Document Factory
+ long_description = file: README.rst, NEWS.rst
+ long_description_content_type = text/x-rst
+@@ -50,7 +51,7 @@ tests_require =
pytest-isort
[options.entry_points]
-console-scripts = weasyprint = weasyprint.__main__:main
-+console-scripts = weasyprint@PYVERSSUFFIX@ = weasyprint.__main__:main
++console-scripts = weasyprint3.7 = weasyprint.__main__:main
[options.package_data]
weasyprint = VERSION
Home |
Main Index |
Thread Index |
Old Index