Browse Source

n/vdirsyncer: Patched to allow click>=6.0.

slackware-15.0
parent
commit
2c9ecb9020
  1. 12
      n/vdirsyncer/vdirsyncer-0.16.8-fix-click-dependency.patch
  2. 4
      n/vdirsyncer/vdirsyncer.SlackBuild

12
n/vdirsyncer/vdirsyncer-0.16.8-fix-click-dependency.patch

@ -0,0 +1,12 @@
diff -Naur vdirsyncer-0.16.8.orig/setup.py vdirsyncer-0.16.8/setup.py
--- vdirsyncer-0.16.8.orig/setup.py 2020-06-24 21:00:06.839608198 +0100
+++ vdirsyncer-0.16.8/setup.py 2020-06-24 21:00:17.716786192 +0100
@@ -11,7 +11,7 @@
requirements = [
# https://github.com/mitsuhiko/click/issues/200
- 'click>=5.0,<6.0',
+ 'click',
'click-log>=0.3.0, <0.4.0',
# https://github.com/pimutils/vdirsyncer/issues/478

4
n/vdirsyncer/vdirsyncer.SlackBuild

@ -35,7 +35,7 @@ ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-vdirsyncer}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -71,6 +71,8 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
# Fix dependency check on python-click version
patch -p 1 < $CWD/vdirsyncer-0.16.8-fix-click-dependency.patch
python3 setup.py build
python3 setup.py install --root=$PKG

Loading…
Cancel
Save