[arch-commits] Commit in python-matrix-angular-sdk (3 files)

Johannes Löthberg demize at archlinux.org
Mon Jan 23 14:39:56 UTC 2017


    Date: Monday, January 23, 2017 @ 14:39:56
  Author: demize
Revision: 208563

archrelease: copy trunk to community-any

Added:
  python-matrix-angular-sdk/repos/
  python-matrix-angular-sdk/repos/community-any/
  python-matrix-angular-sdk/repos/community-any/PKGBUILD
    (from rev 208562, python-matrix-angular-sdk/trunk/PKGBUILD)

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

Copied: python-matrix-angular-sdk/repos/community-any/PKGBUILD (from rev 208562, python-matrix-angular-sdk/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2017-01-23 14:39:56 UTC (rev 208563)
@@ -0,0 +1,47 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+
+pkgbase=python-matrix-angular-sdk
+pkgname=(python-matrix-angular-sdk python2-matrix-angular-sdk)
+pkgver=0.6.8
+pkgrel=1
+
+pkgdesc="AngularJS services for implementing the Client-Server API on Matrix"
+url="https://github.com/matrix-org/matrix-angular-sdk"
+arch=('any')
+license=('Apache')
+
+makedepends=('python'
+             'python-setuptools'
+             'python2'
+             'python2-setuptools')
+
+source=("python-matrix-angular-sdk-$pkgver.tar.gz::https://github.com/matrix-org/matrix-angular-sdk/archive/v$pkgver.tar.gz")
+
+md5sums=('9cf2dd16d1fd34dc24c64a7efcdb2efd')
+
+prepare() {
+	cp -a matrix-angular-sdk-$pkgver{,-python2}
+}
+
+build() {
+	cd matrix-angular-sdk-$pkgver
+	python setup.py build 
+
+	cd "$srcdir"/matrix-angular-sdk-$pkgver
+	python2 setup.py build 
+}
+
+package_python-matrix-angular-sdk() {
+	depends=('python')
+
+	cd matrix-angular-sdk-$pkgver
+	python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+}
+
+package_python2-matrix-angular-sdk() {
+	depends=('python2')
+
+	cd matrix-angular-sdk-$pkgver-python2
+	python2 setup.py install --root "$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list