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

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 16:08:21 UTC 2019


    Date: Friday, October 25, 2019 @ 16:08:20
  Author: foutrelis
Revision: 365669

archrelease: copy trunk to staging-x86_64

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

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

Copied: python-evdev/repos/staging-x86_64/PKGBUILD (from rev 365668, python-evdev/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-10-25 16:08:20 UTC (rev 365669)
@@ -0,0 +1,30 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=python-evdev
+pkgver=1.2.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=91710cd7b86573f9bdb139ff9e9cfce212c94879  # tags/v1.2.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