pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/py-weasyprint



Module Name:    pkgsrc
Committed By:   kleink
Date:           Tue Feb 12 12:00:39 UTC 2019

Modified Files:
        pkgsrc/print/py-weasyprint: Makefile distinfo
        pkgsrc/print/py-weasyprint/patches: patch-setup.cfg

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/print/py-weasyprint/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/print/py-weasyprint/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/print/py-weasyprint/patches/patch-setup.cfg

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

Modified files:

Index: pkgsrc/print/py-weasyprint/Makefile
diff -u pkgsrc/print/py-weasyprint/Makefile:1.18 pkgsrc/print/py-weasyprint/Makefile:1.19
--- pkgsrc/print/py-weasyprint/Makefile:1.18    Sat Jan  5 18:15:12 2019
+++ pkgsrc/print/py-weasyprint/Makefile Tue Feb 12 12:00:39 2019
@@ -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/}
 

Index: pkgsrc/print/py-weasyprint/distinfo
diff -u pkgsrc/print/py-weasyprint/distinfo:1.15 pkgsrc/print/py-weasyprint/distinfo:1.16
--- pkgsrc/print/py-weasyprint/distinfo:1.15    Sat Jan  5 18:15:12 2019
+++ pkgsrc/print/py-weasyprint/distinfo Tue Feb 12 12:00:39 2019
@@ -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

Index: pkgsrc/print/py-weasyprint/patches/patch-setup.cfg
diff -u pkgsrc/print/py-weasyprint/patches/patch-setup.cfg:1.1 pkgsrc/print/py-weasyprint/patches/patch-setup.cfg:1.2
--- pkgsrc/print/py-weasyprint/patches/patch-setup.cfg:1.1      Wed Nov 14 18:17:26 2018
+++ pkgsrc/print/py-weasyprint/patches/patch-setup.cfg  Tue Feb 12 12:00:39 2019
@@ -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