bumblebee-status: update to 2.1.6.
This commit is contained in:
parent
3c93417533
commit
f551c9a08c
|
@ -0,0 +1,23 @@
|
||||||
|
From 7ae95ad6b6f57fae2526e410bac75aa4039c5d93 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ben Westover <kwestover.kw@gmail.com>
|
||||||
|
Date: Tue, 20 Sep 2022 23:15:38 -0400
|
||||||
|
Subject: [PATCH] Don't install manpages to /usr/usr
|
||||||
|
|
||||||
|
`data_files` shouldn't have `usr/` in it; this causes the manpages to be installed to `/usr/usr/share/man/man1` instead of `/usr/share/man/man1`.
|
||||||
|
---
|
||||||
|
setup.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index a63be643..a756c8af 100755
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -56,7 +56,7 @@ def read_module(filename):
|
||||||
|
("share/bumblebee-status/themes", glob.glob("themes/*.json")),
|
||||||
|
("share/bumblebee-status/themes/icons", glob.glob("themes/icons/*.json")),
|
||||||
|
("share/bumblebee-status/utility", glob.glob("bin/*")),
|
||||||
|
- ("usr/share/man/man1", glob.glob("man/*.1")),
|
||||||
|
+ ("share/man/man1", glob.glob("man/*.1")),
|
||||||
|
],
|
||||||
|
packages=find_packages(exclude=["tests", "tests.*"])
|
||||||
|
)
|
|
@ -0,0 +1,14 @@
|
||||||
|
--- ./versioneer.py.orig 2023-09-29 10:02:24.403985079 -0400
|
||||||
|
+++ ./versioneer.py 2023-09-29 10:02:36.679060444 -0400
|
||||||
|
@@ -339,9 +339,9 @@
|
||||||
|
# configparser.NoOptionError (if it lacks "VCS="). See the docstring at
|
||||||
|
# the top of versioneer.py for instructions on writing your setup.cfg .
|
||||||
|
setup_cfg = os.path.join(root, "setup.cfg")
|
||||||
|
- parser = configparser.SafeConfigParser()
|
||||||
|
+ parser = configparser.ConfigParser()
|
||||||
|
with open(setup_cfg, "r") as f:
|
||||||
|
- parser.readfp(f)
|
||||||
|
+ parser.read_file(f)
|
||||||
|
VCS = parser.get("versioneer", "VCS") # mandatory
|
||||||
|
|
||||||
|
def get(parser, name):
|
|
@ -1,20 +1,18 @@
|
||||||
# Template file for 'bumblebee-status'
|
# Template file for 'bumblebee-status'
|
||||||
pkgname=bumblebee-status
|
pkgname=bumblebee-status
|
||||||
version=2.1.4
|
version=2.1.6
|
||||||
revision=3
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-netifaces python3-psutil python3-requests"
|
depends="python3-netifaces python3-psutil python3-requests"
|
||||||
checkdepends="python3-pytest python3-pytest-mock python3-freezegun $depends"
|
checkdepends="python3-pytest-xdist python3-pytest-mock python3-freezegun
|
||||||
|
psmisc $depends"
|
||||||
short_desc="Modular, theme-able status line generator for the i3 window manager"
|
short_desc="Modular, theme-able status line generator for the i3 window manager"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/tobi-wan-kenobi/bumblebee-status"
|
homepage="https://github.com/tobi-wan-kenobi/bumblebee-status"
|
||||||
distfiles="$PYPI_SITE/b/bumblebee-status/bumblebee-status-$version.tar.gz
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
https://raw.githubusercontent.com/tobi-wan-kenobi/bumblebee-status/v$version/LICENSE"
|
checksum=db71030058ea2041d9e441b5615975893635801194974cc03e1c6271f5b356d9
|
||||||
checksum="8dcd8ae54b1d66a2b337c1197014dcd32d83134d4699a0cae028bd5da777fa71
|
|
||||||
7cf86a994584e9e1bfe64c63f4e4b9d9bf757148d7ee2af960a267e79b16eab3"
|
|
||||||
skip_extraction=LICENSE
|
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
# fail on musl due to lack of locales
|
# fail on musl due to lack of locales
|
||||||
|
@ -30,7 +28,6 @@ post_patch() {
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -rf $DESTDIR/$py3_sitelib/tests
|
rm $DESTDIR/usr/share/bumblebee-status/utility/pacman-updates
|
||||||
rm -f $DESTDIR/usr/share/bumblebee-status/utility/pacman-updates
|
vlicense LICENSE
|
||||||
vlicense $XBPS_SRCDISTDIR/bumblebee-status-$version/LICENSE
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue