summaryrefslogtreecommitdiff
path: root/print/py-weasyprint/patches/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'print/py-weasyprint/patches/patch-setup.py')
-rw-r--r--print/py-weasyprint/patches/patch-setup.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/print/py-weasyprint/patches/patch-setup.py b/print/py-weasyprint/patches/patch-setup.py
new file mode 100644
index 00000000000..952810677f8
--- /dev/null
+++ b/print/py-weasyprint/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.5 2021/11/19 21:53:29 adam Exp $
+
+Use setuptools.
+
+--- setup.py.orig 2021-11-19 14:22:46.000000000 +0000
++++ setup.py
+@@ -1,7 +1,7 @@
+ #!/usr/bin/env python
+ # setup.py generated by flit for tools that don't yet use PEP 517
+
+-from distutils.core import setup
++from setuptools import setup
+
+ packages = \
+ ['weasyprint',