aboutsummaryrefslogtreecommitdiff
path: root/python/tempita
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-10-24 16:55:22 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-27 08:40:31 +0700
commitab356d80000f32fdf9312da1b7e29a672b790f8c (patch)
tree8c8f0ee85bcff70896a34919b5272b750b2c5365 /python/tempita
parent8ac0e83af73683095039767b1a6a1c562cc3a0a2 (diff)
python/tempita: Fix build with newer setuputils.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/tempita')
-rw-r--r--python/tempita/tempita-0.5.3-2to3.patch.gzbin0 -> 2457 bytes
-rw-r--r--python/tempita/tempita-0.5.3-cgi-escape.patch.gzbin0 -> 531 bytes
-rw-r--r--python/tempita/tempita.SlackBuild3
3 files changed, 3 insertions, 0 deletions
diff --git a/python/tempita/tempita-0.5.3-2to3.patch.gz b/python/tempita/tempita-0.5.3-2to3.patch.gz
new file mode 100644
index 0000000000000..67f1718d7f11c
--- /dev/null
+++ b/python/tempita/tempita-0.5.3-2to3.patch.gz
Binary files differ
diff --git a/python/tempita/tempita-0.5.3-cgi-escape.patch.gz b/python/tempita/tempita-0.5.3-cgi-escape.patch.gz
new file mode 100644
index 0000000000000..2ac700b9762b1
--- /dev/null
+++ b/python/tempita/tempita-0.5.3-cgi-escape.patch.gz
Binary files differ
diff --git a/python/tempita/tempita.SlackBuild b/python/tempita/tempita.SlackBuild
index 0884c00e35798..ffb3159fa1846 100644
--- a/python/tempita/tempita.SlackBuild
+++ b/python/tempita/tempita.SlackBuild
@@ -64,6 +64,9 @@ chmod -R u+w,go-w,a+rX-st .
python2 setup.py install --root=$PKG
rm -rf build
+# thanks to gentoo maintainers
+zcat $CWD/tempita-0.5.3-cgi-escape.patch.gz | patch -p1
+zcat $CWD/tempita-0.5.3-2to3.patch.gz | patch -p1
python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION