diff options
author | Ted Alff | 2022-12-16 23:06:27 -0500 |
---|---|---|
committer | Ted Alff | 2022-12-16 23:06:27 -0500 |
commit | de5725a49d9f753f432c2ab937a143e6eb1bc0bd (patch) | |
tree | 8cb761f533beec8673393b117282dee0fc29854b | |
parent | c9dcb6cf4bd4c0376e299d5c7330730571eb0fec (diff) | |
download | aur-de5725a49d9f753f432c2ab937a143e6eb1bc0bd.tar.gz |
Rename the system_hotkey dependency from system_hotkey310 to system_hotkey
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 21 | ||||
-rw-r--r-- | rename_system_hotkey_dep.patch | 12 |
3 files changed, 31 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = superpaper-git pkgdesc = Cross-platform multi monitor wallpaper manager - pkgver = 2.1.0+38+g0c502d3 + pkgver = 2.2.0+2+g299f7e5 pkgrel = 1 url = https://github.com/hhannine/Superpaper arch = any @@ -13,12 +13,14 @@ pkgbase = superpaper-git depends = python-pillow>=7.0 depends = python-screeninfo>=0.6.1 depends = python-wxpython - depends = python-system_hotkey>=1.0.2+10+9541587 + depends = python-system_hotkey>=5 depends = python-xpybutil depends = python-numpy - provides = superpaper=2.1.0+38+g0c502d3 + provides = superpaper=2.2.0+2+g299f7e5 conflicts = superpaper source = superpaper::git+https://github.com/hhannine/Superpaper + source = rename_system_hotkey_dep.patch sha256sums = SKIP + sha256sums = 02bc7fb70c18c7292ee9cdac9be58e0954cdb03b07032ee9b5c567fe5ec4d5a5 pkgname = superpaper-git @@ -2,31 +2,38 @@ _pkgname=superpaper pkgname=${_pkgname}-git -pkgver=2.1.0+38+g0c502d3 +pkgver=2.2.0+2+g299f7e5 pkgrel=1 pkgdesc="Cross-platform multi monitor wallpaper manager" arch=('any') url="https://github.com/hhannine/Superpaper" license=('MIT') depends=('python-pillow>=7.0' 'python-screeninfo>=0.6.1' 'python-wxpython' - 'python-system_hotkey>=1.0.2+10+9541587' 'python-xpybutil' 'python-numpy') + 'python-system_hotkey>=5' 'python-xpybutil' 'python-numpy') makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools' 'git') provides=("${_pkgname}=${pkgver%%+}") conflicts=("${_pkgname}") -source=("${_pkgname}::git+https://github.com/hhannine/${_pkgname^}") -sha256sums=('SKIP') +source=("${_pkgname}::git+https://github.com/hhannine/${_pkgname^}" + 'rename_system_hotkey_dep.patch') +sha256sums=('SKIP' + '02bc7fb70c18c7292ee9cdac9be58e0954cdb03b07032ee9b5c567fe5ec4d5a5') pkgver() { - cd "${srcdir}/${_pkgname}" + cd "${_pkgname}" git describe --long --tags | sed -r "s/^v//;s/-/+/g" } +prepare() { + cd "${_pkgname}" + patch -Np2 -r- -i ../rename_system_hotkey_dep.patch +} + build() { - cd "${srcdir}/${_pkgname}" + cd "${_pkgname}" python -m build -wn } package() { - cd "${srcdir}/${_pkgname}" + cd "${_pkgname}" python -m installer -d "${pkgdir}" dist/*.whl } diff --git a/rename_system_hotkey_dep.patch b/rename_system_hotkey_dep.patch new file mode 100644 index 000000000000..1db9374fec49 --- /dev/null +++ b/rename_system_hotkey_dep.patch @@ -0,0 +1,12 @@ +diff -Naur ./superpaper-2.2.0.orig/setup.py ./superpaper-2.2.0/setup.py +--- ./superpaper-2.2.0.orig/setup.py 2022-12-16 22:57:49.982911108 -0500 ++++ ./superpaper-2.2.0/setup.py 2022-12-16 22:58:05.160926679 -0500 +@@ -61,7 +61,7 @@ + "Pillow>=7.0.0", + "screeninfo>=0.6.1", + "numpy>=1.18.0", +- "system_hotkey310>=1.0.5", ++ "system_hotkey>=1.0.5", + "xcffib>=0.8.0", + "xpybutil>=0.0.5" + ], |