summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoaquim Monteiro2019-11-22 19:44:32 +0000
committerJoaquim Monteiro2019-11-22 19:44:32 +0000
commit9ae2fac25e8da89644985ee35922593d6387b465 (patch)
tree6c7c5efac799d7e20e0ab12071f13a40736fc5dc
downloadaur-9ae2fac25e8da89644985ee35922593d6387b465.tar.gz
Initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD30
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b15064f8f74
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = python-asyncqt-git
+ pkgdesc = Implementation of the PEP 3156 Event-Loop with Qt (with PySide2 support) (Git version)
+ pkgver = v0.7.0.r7.g66ccce1
+ pkgrel = 1
+ url = https://github.com/gmarull/asyncqt
+ arch = any
+ license = BSD
+ makedepends = git
+ makedepends = python-setuptools
+ depends = python
+ optdepends = python-pyqt5: PyQt5 support
+ optdepends = pyside2: PySide2 support
+ provides = python-asyncqt
+ conflicts = python-asyncqt
+ source = git+https://github.com/gmarull/asyncqt.git
+ sha512sums = SKIP
+
+pkgname = python-asyncqt-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..3739c502c6e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+asyncqt/
+pkg/
+src/
+*.tar*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6208f96ce80
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: gmes78 <gmes.078 at gmail dot com>
+
+pkgname=python-asyncqt-git
+pkgver=v0.7.0.r7.g66ccce1
+pkgrel=1
+pkgdesc="Implementation of the PEP 3156 Event-Loop with Qt (with PySide2 support) (Git version)"
+arch=(any)
+url="https://github.com/gmarull/asyncqt"
+license=("BSD")
+
+depends=("python")
+makedepends=("git" "python-setuptools")
+optdepends=("python-pyqt5: PyQt5 support"
+ "pyside2: PySide2 support")
+provides=("python-asyncqt")
+conflicts=("python-asyncqt")
+
+source=("git+https://github.com/gmarull/asyncqt.git")
+sha512sums=("SKIP")
+
+pkgver() {
+ cd "asyncqt"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+ cd "asyncqt"
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname"
+}