From 614d07d24f5b23bca47c0796f40d3695fac95319 Mon Sep 17 00:00:00 2001 From: icp Date: Thu, 18 Aug 2022 19:45:00 +0530 Subject: [PATCH] caffeine-ng: update to 4.0.2. --- srcpkgs/caffeine-ng/template | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/srcpkgs/caffeine-ng/template b/srcpkgs/caffeine-ng/template index ab235226ff3..1c150749e6d 100644 --- a/srcpkgs/caffeine-ng/template +++ b/srcpkgs/caffeine-ng/template @@ -1,26 +1,19 @@ # Template file for 'caffeine-ng' pkgname=caffeine-ng -version=3.5.1 -revision=2 +version=4.0.2 +revision=1 build_style=python3-module -hostmakedepends="python3-setuptools" +hostmakedepends="python3-setuptools_scm" depends="desktop-file-utils gtk+3 hicolor-icon-theme libnotify - python3-dbus python3-docopt python3-ewmh python3-gobject + python3-dbus python3-click python3-ewmh python3-gobject python3-setproctitle python3-setuptools python3-xdg python3-pulsectl" short_desc="Temporarily inhibits the screensaver and sleep mode" maintainer="Orphaned " license="GPL-3.0-or-later" -homepage="https://github.com/caffeine-ng/caffeine-ng" +homepage="https://codeberg.org/WhyNotHugo/caffeine-ng" +changelog="https://codeberg.org/WhyNotHugo/caffeine-ng/raw/branch/main/CHANGELOG.rst" distfiles="${PYPI_SITE}/c/caffeine-ng/caffeine-ng-${version}.tar.gz" -checksum=7549c09b527be98d7313df4801aae308b2231fbcc21b1de47d16dbbe71a37f2a +checksum=ba62235c9d1eb7a3e2e448e3f7a43e66188a4beca3edbb206f8b905ba626eab5 # only runs lints and syntax checks via flake8 make_check=no - -pre_build() { - sed -i setup.py \ - -e '/setup_requires=/d' \ - -e '/use_scm_version/,+3d' \ - -e "/name=/ a\ - version='${version}'," -}