summaryrefslogtreecommitdiffstats
path: root/source/l/python-docutils
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-04-11 19:05:36 +0000
committer Eric Hameleers <alien@slackware.com>2024-04-11 21:30:49 +0200
commit66d9bc3f90f149c803da3816bfa8e5d6140dd1e4 (patch)
tree12b794618bb0d6dd345187e6e34fe3a8df16fcd7 /source/l/python-docutils
parent2136209b062ae65f523318f0130386ccfb602edb (diff)
downloadcurrent-66d9bc3f90f149c803da3816bfa8e5d6140dd1e4.tar.gz
current-66d9bc3f90f149c803da3816bfa8e5d6140dd1e4.tar.xz
Thu Apr 11 19:05:36 UTC 202420240411190536
a/elogind-255.4-x86_64-1.txz: Upgraded. a/libblockdev-3.1.1_1-x86_64-1.txz: Upgraded. a/libbytesize-2.10-x86_64-1.txz: Upgraded. a/libgudev-238-x86_64-1.txz: Upgraded. a/udisks-1.0.5-x86_64-11.txz: Removed. a/udisks2-2.10.1-x86_64-1.txz: Upgraded. a/upower-1.90.4-x86_64-1.txz: Upgraded. l/python-docutils-0.21.1-x86_64-1.txz: Upgraded. l/python-idna-3.7-x86_64-1.txz: Upgraded. n/php-8.3.5-x86_64-1.txz: Upgraded. This update fixes bugs and security issues. For more information, see: https://www.php.net/ChangeLog-8.php#8.3.6 (* Security fix *) x/ibus-m17n-1.4.29-x86_64-1.txz: Upgraded. x/mesa-24.0.5-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/python-docutils')
-rwxr-xr-xsource/l/python-docutils/python-docutils.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/l/python-docutils/python-docutils.SlackBuild b/source/l/python-docutils/python-docutils.SlackBuild
index a7fa91513..7a9476ebd 100755
--- a/source/l/python-docutils/python-docutils.SlackBuild
+++ b/source/l/python-docutils/python-docutils.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2017, 2018, 2019, 2020 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2017, 2018, 2019, 2020, 2024 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2017 Heinz Wiesinger, Amsterdam, NL
# All rights reserved.
#
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=python-docutils
VERSION=${VERSION:-$(echo docutils-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
SRCNAM=docutils
@@ -61,7 +61,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-python3 setup.py build --build-lib=build/python3 install --root=$PKG || exit 1
+unshare -n python3 -m build --wheel --no-isolation || exit 1
+
+python3 -m installer --destdir "$PKG" dist/*.whl || exit 1
+
cd $PKG/usr/bin
for i in *.py; do