summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Krenek (Mikos)2015-12-07 16:34:49 +0100
committerMichal Krenek (Mikos)2015-12-07 16:34:49 +0100
commitdaea6280f4486e27b89b464e2cddbd6bd030d6f3 (patch)
tree15e2411cdc51527e1d5df52d6244ba2cc987e310
downloadaur-daea6280f4486e27b89b464e2cddbd6bd030d6f3.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD27
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ca8798a1941
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = python-txws
+ pkgdesc = Twisted WebSockets
+ pkgver = 0.9.1
+ pkgrel = 1
+ url = https://github.com/MostAwesomeDude/txWS
+ arch = any
+ license = MIT
+ makedepends = git
+ source = git+https://github.com/MostAwesomeDude/txWS.git#tag=0.9.1
+ sha256sums = SKIP
+
+pkgname = python-txws
+ depends = python-twisted
+ depends = python-six
+
+pkgname = python2-txws
+ depends = python2-twisted
+ depends = python2-six
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..155d11046c8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Michal Krenek (Mikos) <m.krenek@gmail.com>
+pkgbase=python-txws
+_pkgbase=txWS
+pkgname=(python-txws python2-txws)
+pkgver=0.9.1
+pkgrel=1
+pkgdesc="Twisted WebSockets"
+arch=("any")
+url="https://github.com/MostAwesomeDude/txWS"
+license=("MIT")
+makedepends=('git')
+source=("git+https://github.com/MostAwesomeDude/txWS.git#tag=${pkgver}")
+sha256sums=('SKIP')
+
+package_python-txws() {
+ depends=('python-twisted' 'python-six')
+
+ cd "$srcdir/${_pkgbase}"
+ python setup.py install --root=$pkgdir
+}
+
+package_python2-txws() {
+ depends=('python2-twisted' 'python2-six')
+
+ cd "$srcdir/${_pkgbase}"
+ python2 setup.py install --root=$pkgdir
+}