From 75db0ef3871da721f930e0b6f9d35abe6ba3c5de Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Thu, 15 Mar 2018 20:40:35 +0000 Subject: desktop/caffeine-ng: Updated for version 3.4.0. Signed-off-by: David Spencer --- desktop/caffeine-ng/README | 3 +++ desktop/caffeine-ng/caffeine-ng.SlackBuild | 9 +++++---- desktop/caffeine-ng/caffeine-ng.info | 10 +++++----- 3 files changed, 13 insertions(+), 9 deletions(-) (limited to 'desktop/caffeine-ng') diff --git a/desktop/caffeine-ng/README b/desktop/caffeine-ng/README index ba9d0c5d44..3e3a614974 100644 --- a/desktop/caffeine-ng/README +++ b/desktop/caffeine-ng/README @@ -7,6 +7,9 @@ This is a fork of Caffeine 2.4, since later versions dropped support for the systray icon in favour of automatic detection of fullscreen apps only. +The dependencies require python3 support where available and python3 +should be installed before any of the other dependencies. + setuptools-scm is only required as a build dependency and can be skipped if you would rather have it automatically grabbed from pypi.python.org during the build process. diff --git a/desktop/caffeine-ng/caffeine-ng.SlackBuild b/desktop/caffeine-ng/caffeine-ng.SlackBuild index 946b95bd70..06abd8074a 100644 --- a/desktop/caffeine-ng/caffeine-ng.SlackBuild +++ b/desktop/caffeine-ng/caffeine-ng.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for caffeine-ng -# Copyright 2016-2017 Hunter Sezen California, USA +# Copyright 2016-2018 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=caffeine-ng -VERSION=${VERSION:-3.3.8} +VERSION=${VERSION:-3.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -60,7 +60,8 @@ python3 setup.py install --root=$PKG mv $PKG/usr/share/man $PKG/usr/man mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *GPL PKG-INFO README.md requirements.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LGPL LICENCE PKG-INFO README.rst requirements.txt \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/desktop/caffeine-ng/caffeine-ng.info b/desktop/caffeine-ng/caffeine-ng.info index 723ed14943..c42bc94f6e 100644 --- a/desktop/caffeine-ng/caffeine-ng.info +++ b/desktop/caffeine-ng/caffeine-ng.info @@ -1,10 +1,10 @@ PRGNAM="caffeine-ng" -VERSION="3.3.8" +VERSION="3.4.0" HOMEPAGE="https://pypi.python.org/pypi/caffeine-ng" -DOWNLOAD="https://pypi.python.org/packages/c3/6a/cfceca06a9122ef92f0c5f2784a6643266c6da1a00257cae5987511b687d/caffeine-ng-3.3.8.tar.gz" -MD5SUM="d9ea712b0012ac0606e3186adc37ffe8" +DOWNLOAD="https://pypi.python.org/packages/dc/b0/9a7429987b5f64c7a29f16b9cf13d1ab1a97545b4186daeb7ef32aed3ed3/caffeine-ng-3.4.0.tar.gz" +MD5SUM="6dca670ff21eec61fbdfe2ff508c7a02" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="dbus-python3 docopt pyewmh pygobject3-python3 python3-xlib pyxdg setproctitle setuptools-scm wheel" +REQUIRES="dbus-python3 docopt pyewmh pygobject3-python3 pyxdg setproctitle wheel" MAINTAINER="Hunter Sezen" -EMAIL="ovariegata@yahoo.com" +EMAIL="orbea@fredslev.dk" -- cgit v1.2.3