git: 9ac66b0547df - main - devel/py-apache_conf_parser: Fix build with setuptools 58.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 13:49:53 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9ac66b0547dfec72de05bed07b07f2b2176a40df
commit 9ac66b0547dfec72de05bed07b07f2b2176a40df
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:32:12 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:38:07 +0000
devel/py-apache_conf_parser: Fix build with setuptools 58.0.0+
With hat: python
---
devel/py-apache_conf_parser/files/patch-indent | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/devel/py-apache_conf_parser/files/patch-indent b/devel/py-apache_conf_parser/files/patch-indent
new file mode 100644
index 000000000000..8f9fe46a78a7
--- /dev/null
+++ b/devel/py-apache_conf_parser/files/patch-indent
@@ -0,0 +1,13 @@
+--- apache_conf_parser.py.orig 2011-04-12 03:06:39 UTC
++++ apache_conf_parser.py
+@@ -466,8 +466,8 @@ class ApacheConfParser(ComplexNode):
+ def __init__(self, source, infile=True, delay=False, count=None):
+ """Count is the starting number for line counting..."""
+ super(ApacheConfParser, self).__init__(_NODES)
+- self.source = source.splitlines()
+- if infile:
++ self.source = source.splitlines()
++ if infile:
+ self.source = (line.strip("\n") for line in open(source))
+ self.count = count
+ if not delay: