[arch-commits] Commit in python-wsaccel/repos (4 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Dec 25 16:37:17 UTC 2016


    Date: Sunday, December 25, 2016 @ 16:37:16
  Author: bpiotrowski
Revision: 201925

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  python-wsaccel/repos/community-staging-i686/
  python-wsaccel/repos/community-staging-i686/PKGBUILD
    (from rev 201924, python-wsaccel/trunk/PKGBUILD)
  python-wsaccel/repos/community-staging-x86_64/
  python-wsaccel/repos/community-staging-x86_64/PKGBUILD
    (from rev 201924, python-wsaccel/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   50 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++
 2 files changed, 100 insertions(+)

Copied: python-wsaccel/repos/community-staging-i686/PKGBUILD (from rev 201924, python-wsaccel/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-12-25 16:37:16 UTC (rev 201925)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-wsaccel
+pkgname=('python-wsaccel' 'python2-wsaccel')
+pkgver=0.6.2
+_commit=f16d0b8cd9b54b5b2d7698a5b41d5c38e1564fb6
+pkgrel=2
+pkgdesc='Accelerator for ws4py and AutobahnPython'
+arch=('i686' 'x86_64')
+url='https://github.com/methane/wsaccel'
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'cython2' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("git+https://github.com/methane/wsaccel.git#commit=$_commit")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a wsaccel{,-py2}
+}
+
+build() {
+  cd "$srcdir"/wsaccel
+  python setup.py build
+
+  cd "$srcdir"/wsaccel-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/wsaccel
+  python setup.py ptr
+
+  cd "$srcdir"/wsaccel-py2
+  python2 setup.py ptr
+}
+
+package_python-wsaccel() {
+  depends=('python')
+
+  cd wsaccel
+  python setup.py install --root="$pkgdir" -O1
+}
+
+package_python2-wsaccel() {
+  depends=('python2')
+
+  cd wsaccel-py2
+  python2 setup.py install --root="$pkgdir" -O1
+}

Copied: python-wsaccel/repos/community-staging-x86_64/PKGBUILD (from rev 201924, python-wsaccel/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-12-25 16:37:16 UTC (rev 201925)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-wsaccel
+pkgname=('python-wsaccel' 'python2-wsaccel')
+pkgver=0.6.2
+_commit=f16d0b8cd9b54b5b2d7698a5b41d5c38e1564fb6
+pkgrel=2
+pkgdesc='Accelerator for ws4py and AutobahnPython'
+arch=('i686' 'x86_64')
+url='https://github.com/methane/wsaccel'
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'cython2' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("git+https://github.com/methane/wsaccel.git#commit=$_commit")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a wsaccel{,-py2}
+}
+
+build() {
+  cd "$srcdir"/wsaccel
+  python setup.py build
+
+  cd "$srcdir"/wsaccel-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/wsaccel
+  python setup.py ptr
+
+  cd "$srcdir"/wsaccel-py2
+  python2 setup.py ptr
+}
+
+package_python-wsaccel() {
+  depends=('python')
+
+  cd wsaccel
+  python setup.py install --root="$pkgdir" -O1
+}
+
+package_python2-wsaccel() {
+  depends=('python2')
+
+  cd wsaccel-py2
+  python2 setup.py install --root="$pkgdir" -O1
+}



More information about the arch-commits mailing list