From ce405d2af474f5c53adc0137abec96eaa2c7c8b4 Mon Sep 17 00:00:00 2001 From: Damien Goutte-Gattat Date: Wed, 17 Jun 2020 22:20:29 +0100 Subject: [PATCH] n/vdirsyncer: Upgraded to vdirsyncer-0.16.8. --- n/vdirsyncer/vdirsyncer-0.16.7.tar.gz.sha256 | 1 - n/vdirsyncer/vdirsyncer-0.16.8.tar.gz.sha256 | 1 + n/vdirsyncer/vdirsyncer.SlackBuild | 10 +++++----- 3 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 n/vdirsyncer/vdirsyncer-0.16.7.tar.gz.sha256 create mode 100644 n/vdirsyncer/vdirsyncer-0.16.8.tar.gz.sha256 diff --git a/n/vdirsyncer/vdirsyncer-0.16.7.tar.gz.sha256 b/n/vdirsyncer/vdirsyncer-0.16.7.tar.gz.sha256 deleted file mode 100644 index 43c8c595..00000000 --- a/n/vdirsyncer/vdirsyncer-0.16.7.tar.gz.sha256 +++ /dev/null @@ -1 +0,0 @@ -6c9bcfb9bcb01246c83ba6f8551cf54c58af3323210755485fc23bb7848512ef vdirsyncer-0.16.7.tar.gz diff --git a/n/vdirsyncer/vdirsyncer-0.16.8.tar.gz.sha256 b/n/vdirsyncer/vdirsyncer-0.16.8.tar.gz.sha256 new file mode 100644 index 00000000..e3809f2b --- /dev/null +++ b/n/vdirsyncer/vdirsyncer-0.16.8.tar.gz.sha256 @@ -0,0 +1 @@ +bfdb422f52e1d4d60bd0635d203fb59fa7f613397d079661eb48e79464ba13c5 vdirsyncer-0.16.8.tar.gz diff --git a/n/vdirsyncer/vdirsyncer.SlackBuild b/n/vdirsyncer/vdirsyncer.SlackBuild index 91f5613f..5099527c 100755 --- a/n/vdirsyncer/vdirsyncer.SlackBuild +++ b/n/vdirsyncer/vdirsyncer.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash # Build script for Slackware -# Copyright (C) 2019 Damien Goutte-Gattat +# Copyright (C) 2019,2020 Damien Goutte-Gattat # # Redistribution and use of this script, with or without modifications, # is permitted provided that the following conditions are met: @@ -30,7 +30,7 @@ # Source package infos NAMESRC=${NAMESRC:-vdirsyncer} -VERSION=${VERSION:-0.16.7} +VERSION=${VERSION:-0.16.8} ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} # Build infos @@ -45,6 +45,7 @@ TMP=${TMP:-/tmp} OUT=${OUT:-$TMP/build} PKG=${PKG:-$OUT/$NAMEPKG} CWD=$(pwd) +[ "$ARCH" = x86_64 ] && LIBDIRSUFFIX=64 || LIBDIRSUFFIX= set -e # Quit if a command returns non-zero @@ -80,9 +81,8 @@ install -m 644 AUTHORS.rst CHANGELOG.rst CODE_OF_CONDUCT.rst CONTRIBUTING.rst \ # Build HTML docs if Sphinx is available if type -p sphinx-build ; then - # Set version without requiring setuptools_scm - sed -i -e "/^import setuptools_scm$/d; s/^release =.*$/release = '$VERSION'/" docs/conf.py - sphinx-build -b html docs $PKG/usr/doc/$NAMEPKG-$VERSION/html + PYTHONPATH=$PKG/usr/lib$LIBDIRSUFFIX/python3.8/site-packages \ + sphinx-build -b html docs $PKG/usr/doc/$NAMEPKG-$VERSION/html rm -rf $PKG/usr/doc/$NAMEPKG-$VERSION/html/.{buildinfo,doctrees} fi