aboutsummaryrefslogtreecommitdiff
path: root/desktop/caffeine-ng
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-03-15 20:40:35 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-17 08:51:48 +0700
commit75db0ef3871da721f930e0b6f9d35abe6ba3c5de (patch)
treeedfc6ebc02932bcb4d06d3544167128fb4a327c8 /desktop/caffeine-ng
parent6f2b131160538eeb900db98800eff519486225c7 (diff)
desktop/caffeine-ng: Updated for version 3.4.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/caffeine-ng')
-rw-r--r--desktop/caffeine-ng/README3
-rw-r--r--desktop/caffeine-ng/caffeine-ng.SlackBuild9
-rw-r--r--desktop/caffeine-ng/caffeine-ng.info10
3 files changed, 13 insertions, 9 deletions
diff --git a/desktop/caffeine-ng/README b/desktop/caffeine-ng/README
index ba9d0c5d44d08..3e3a61497406a 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 946b95bd70929..06abd8074ab58 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 723ed14943b7e..c42bc94f6e57d 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"