pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/url2pkg pkgtools/url2pkg: add support for dis...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/794a2b71f4d6
branches:  trunk
changeset: 384009:794a2b71f4d6
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Aug 25 20:10:42 2022 +0000

description:
pkgtools/url2pkg: add support for distutils.errors

Needed for geography/py-maxmindb.

diffstat:

 pkgtools/url2pkg/PLIST                                       |   5 ++-
 pkgtools/url2pkg/files/python/distutils/command/__init__.py  |   5 +++
 pkgtools/url2pkg/files/python/distutils/command/build_ext.py |   8 +++++
 pkgtools/url2pkg/files/python/distutils/errors.py            |  19 ++++++++++++
 4 files changed, 36 insertions(+), 1 deletions(-)

diffs (61 lines):

diff -r bd0463364608 -r 794a2b71f4d6 pkgtools/url2pkg/PLIST
--- a/pkgtools/url2pkg/PLIST    Thu Aug 25 19:56:07 2022 +0000
+++ b/pkgtools/url2pkg/PLIST    Thu Aug 25 20:10:42 2022 +0000
@@ -1,9 +1,12 @@
-@comment $NetBSD: PLIST,v 1.11 2022/08/25 19:51:59 rillig Exp $
+@comment $NetBSD: PLIST,v 1.12 2022/08/25 20:10:42 rillig Exp $
 bin/url2pkg
 lib/url2pkg/ExtUtils/MakeMaker.pm
 lib/url2pkg/Module/Build.pm
 lib/url2pkg/python/distutils/__init__.py
+lib/url2pkg/python/distutils/command/__init__.py
+lib/url2pkg/python/distutils/command/build_ext.py
 lib/url2pkg/python/distutils/core.py
+lib/url2pkg/python/distutils/errors.py
 lib/url2pkg/python/distutils/extension.py
 lib/url2pkg/python/distutils/version.py
 lib/url2pkg/python/setuptools/__init__.py
diff -r bd0463364608 -r 794a2b71f4d6 pkgtools/url2pkg/files/python/distutils/command/__init__.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/url2pkg/files/python/distutils/command/__init__.py       Thu Aug 25 20:10:42 2022 +0000
@@ -0,0 +1,5 @@
+# $NetBSD: __init__.py,v 1.1 2022/08/25 20:10:43 rillig Exp $
+#
+# Fake implementation of distutils.command.
+#
+# https://docs.python.org/3/distutils/apiref.html#module-distutils.command
diff -r bd0463364608 -r 794a2b71f4d6 pkgtools/url2pkg/files/python/distutils/command/build_ext.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/url2pkg/files/python/distutils/command/build_ext.py      Thu Aug 25 20:10:42 2022 +0000
@@ -0,0 +1,8 @@
+# $NetBSD: build_ext.py,v 1.1 2022/08/25 20:10:43 rillig Exp $
+#
+# Fake implementation of distutils.command.build_ext.
+#
+# https://docs.python.org/3/distutils/apiref.html#module-distutils.command.build_ext
+
+class build_ext():
+    pass
diff -r bd0463364608 -r 794a2b71f4d6 pkgtools/url2pkg/files/python/distutils/errors.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/url2pkg/files/python/distutils/errors.py Thu Aug 25 20:10:42 2022 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: errors.py,v 1.1 2022/08/25 20:10:42 rillig Exp $
+#
+# Fake implementation of distutils.errors.
+#
+# https://docs.python.org/3/distutils/apiref.html#module-distutils.errors
+
+# used by pkgsrc package geography/py-maxminddb 2.2.0
+class CCompilerError(Exception):
+    pass
+
+
+# used by pkgsrc package geography/py-maxminddb 2.2.0
+class DistutilsExecError(Exception):
+    pass
+
+
+# used by pkgsrc package geography/py-maxminddb 2.2.0
+class DistutilsPlatformError(Exception):
+    pass



Home | Main Index | Thread Index | Old Index