diff options
author | morguldir | 2020-02-25 00:33:27 +0100 |
---|---|---|
committer | morguldir | 2020-02-25 00:33:27 +0100 |
commit | fbc11c87607fa70c67effd7c8deaa9f3fc904303 (patch) | |
tree | b18bde60c9386fd7fa54f103e3113435c033bc63 /PKGBUILD | |
parent | ff39ee4b3f70d749701137de007af6238c524cd1 (diff) | |
download | aur-fbc11c87607fa70c67effd7c8deaa9f3fc904303.tar.gz |
Make super call python2 compatible
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -3,21 +3,28 @@ pkgname=python2-evdev pkgver=1.3.0 -pkgrel=1 +pkgrel=2 pkgdesc="Python2 bindings for the Linux input subsystem" arch=(x86_64) url="https://python-evdev.readthedocs.io/en/latest/" license=(BSD) depends=(python2-pbr) makedepends=(python2 git) -source=("git+https://github.com/gvalkov/python-evdev#tag=v$pkgver") -sha256sums=('SKIP') +source=("git+https://github.com/gvalkov/python-evdev#tag=v$pkgver" + "https://patch-diff.githubusercontent.com/raw/gvalkov/python-evdev/pull/119.patch") +sha256sums=('SKIP' + 'aedf0f1623572f448ea049d7c5ee60c7fcf5334bc619a4e2a2b1ecba3def6627') pkgver() { cd python-evdev git describe --tags | sed 's/^v//;s/-/+/g' } +prepare() { + cd python-evdev + git apply ../119.patch +} + build() { cd python-evdev python2 setup.py build |