diff options
author | Giancarlo Razzolini | 2024-05-13 12:05:27 -0300 |
---|---|---|
committer | Giancarlo Razzolini | 2024-05-13 12:05:27 -0300 |
commit | adc6858eddd937d6b80f7705f4daa5cbeb1c9a2d (patch) | |
tree | 9833b29e9036b2cbaf14018b42560db227cac6cf | |
parent | 8736efe921edc3517d9025b4dfd7f398016c1696 (diff) | |
download | aur-adc6858eddd937d6b80f7705f4daa5cbeb1c9a2d.tar.gz |
Add the patch for python 3.12 to i3pystatus
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 15 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = i3pystatus-git pkgdesc = i3status replacement written in python for the i3 window manager - pkgver = 3.35.r370.gac71437 - pkgrel = 2 + pkgver = 3.35.r403.g28ed5c1 + pkgrel = 1 url = https://github.com/enkore/i3pystatus arch = any license = MIT @@ -23,6 +23,8 @@ pkgbase = i3pystatus-git provides = i3pystatus conflicts = i3pystatus source = i3pystatus-git::git+https://github.com/enkore/i3pystatus + source = python-3.12.patch::https://github.com/enkore/i3pystatus/pull/865.patch md5sums = SKIP + md5sums = 7cb22a0fbdb4cc050d5ccc8d2e64541e pkgname = i3pystatus-git @@ -3,8 +3,8 @@ pkgname=i3pystatus-git pkgdesc="i3status replacement written in python for the i3 window manager" -pkgver=3.35.r370.gac71437 -pkgrel=2 +pkgver=3.35.r403.g28ed5c1 +pkgrel=1 arch=('any') url="https://github.com/enkore/i3pystatus" license=('MIT') @@ -24,14 +24,21 @@ makedepends=('git' 'python-setuptools') checkdepends=('python-pytest-runner' 'python-mock') provides=('i3pystatus') conflicts=('i3pystatus') -source=("$pkgname::git+$url") -md5sums=('SKIP') +source=("$pkgname::git+$url" + "python-3.12.patch::https://github.com/enkore/i3pystatus/pull/865.patch") +md5sums=('SKIP' + '7cb22a0fbdb4cc050d5ccc8d2e64541e') pkgver() { cd "$pkgname" git describe --long --tags | sed 's/-/.r/;s/-/./' } +prepare () { + cd "$pkgname" + patch -Np1 -i ../python-3.12.patch +} + build() { cd "$pkgname" python setup.py build |