summaryrefslogtreecommitdiff
path: root/source/d
diff options
context:
space:
mode:
Diffstat (limited to 'source/d')
-rw-r--r--source/d/gyp/gyp-python310.patch11
-rwxr-xr-xsource/d/gyp/gyp.SlackBuild3
2 files changed, 13 insertions, 1 deletions
diff --git a/source/d/gyp/gyp-python310.patch b/source/d/gyp/gyp-python310.patch
new file mode 100644
index 00000000..06778822
--- /dev/null
+++ b/source/d/gyp/gyp-python310.patch
@@ -0,0 +1,11 @@
+--- ./pylib/gyp/common.py.orig 2021-10-10 15:47:45.000000000 -0500
++++ ./pylib/gyp/common.py 2021-10-10 15:49:24.942106994 -0500
+@@ -494,7 +494,7 @@
+
+
+ # Based on http://code.activestate.com/recipes/576694/.
+-class OrderedSet(collections.MutableSet):
++class OrderedSet(collections.abc.MutableSet):
+ def __init__(self, iterable=None):
+ self.end = end = []
+ end += [None, end, end] # sentinel node for doubly linked list
diff --git a/source/d/gyp/gyp.SlackBuild b/source/d/gyp/gyp.SlackBuild
index db380c10..b7e6dcf5 100755
--- a/source/d/gyp/gyp.SlackBuild
+++ b/source/d/gyp/gyp.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gyp
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-5}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -91,6 +91,7 @@ zcat $CWD/gyp-ninja-build.patch.gz | patch -p1 --verbose || exit 1
zcat $CWD/gyp-python3.patch.gz | patch -p1 --verbose || exit 1
zcat $CWD/gyp-python38.patch.gz | patch -p1 --verbose || exit 1
#zcat $CWD/gyp-python39.patch.gz | patch -p1 --verbose || exit 1
+zcat $CWD/gyp-python310.patch.gz | patch -p1 --verbose || exit 1
python3 setup.py install --root=$PKG || exit 1