[arch-commits] Commit in python-evdev/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sat Feb 23 15:36:36 UTC 2019
Date: Saturday, February 23, 2019 @ 15:36:34
Author: heftig
Revision: 346720
archrelease: copy trunk to extra-x86_64
Added:
python-evdev/repos/extra-x86_64/PKGBUILD
(from rev 346719, python-evdev/trunk/PKGBUILD)
Deleted:
python-evdev/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 78 +++++++++++++++++++++++--------------------------------------
1 file changed, 30 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-23 15:36:05 UTC (rev 346719)
+++ PKGBUILD 2019-02-23 15:36:34 UTC (rev 346720)
@@ -1,48 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgbase=python-evdev
-pkgname=(python-evdev python2-evdev)
-pkgver=1.1.2
-pkgrel=1
-pkgdesc="Python bindings for the Linux input subsystem"
-arch=(x86_64)
-url="https://python-evdev.readthedocs.io/en/latest/"
-license=(BSD)
-makedepends=(python python2 git)
-_commit=34a7535e8e160c78bf923adc48a1f1f6bcdcaae8 # tags/v1.1.2
-source=("$pkgbase::git+https://github.com/gvalkov/python-evdev#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgbase
- git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
- cp -a $pkgbase python2
- cp -a $pkgbase python3
-}
-
-build() {
- cd python3
- python3 setup.py build
-
- cd ../python2
- python2 setup.py build
-}
-
-package_python-evdev() {
- depends=(python)
-
- cd python3
- python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dt "$pkgdir/usr/share/licenses/python-evdev" -m644 LICENSE
-}
-
-package_python2-evdev() {
- depends=(python2)
-
- cd python2
- python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dt "$pkgdir/usr/share/licenses/python2-evdev" -m644 LICENSE
-}
Copied: python-evdev/repos/extra-x86_64/PKGBUILD (from rev 346719, python-evdev/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-02-23 15:36:34 UTC (rev 346720)
@@ -0,0 +1,30 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=python-evdev
+pkgver=1.1.2
+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=34a7535e8e160c78bf923adc48a1f1f6bcdcaae8 # tags/v1.1.2
+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