[arch-commits] Commit in python-evdev/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 14:57:28 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:57:27
  Author: felixonmars
Revision: 430026

archrelease: copy trunk to staging-x86_64

Added:
  python-evdev/repos/staging-x86_64/
  python-evdev/repos/staging-x86_64/PKGBUILD
    (from rev 430025, python-evdev/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-evdev/repos/staging-x86_64/PKGBUILD (from rev 430025, python-evdev/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-12-01 14:57:27 UTC (rev 430026)
@@ -0,0 +1,30 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=python-evdev
+pkgver=1.4.0
+pkgrel=2
+pkgdesc="Python bindings for the Linux input subsystem"
+url="https://python-evdev.readthedocs.io/en/latest/"
+arch=(x86_64)
+license=(BSD)
+depends=(python)
+makedepends=(git)
+_commit=5adc2abf1ec8a02c05c80cb1b3e34ba1d4237803  # tags/v1.4.0^0
+source=("git+https://github.com/gvalkov/python-evdev#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+  cd $pkgname
+  python setup.py build
+}
+
+package() {
+  cd $pkgname
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
+}



More information about the arch-commits mailing list