[arch-commits] Commit in python-autobahn/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sun Dec 2 16:10:59 UTC 2018


    Date: Sunday, December 2, 2018 @ 16:10:59
  Author: foxboron
Revision: 410769

upgpkg: python-autobahn 18.11.1-1

Modified:
  python-autobahn/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-02 16:06:07 UTC (rev 410768)
+++ PKGBUILD	2018-12-02 16:10:59 UTC (rev 410769)
@@ -3,7 +3,7 @@
 
 pkgbase=python-autobahn
 pkgname=(python-autobahn python2-autobahn)
-pkgver=18.10.1
+pkgver=18.11.1
 pkgrel=1
 pkgdesc='Real-time framework for Web, Mobile & Internet of Things'
 arch=(any)
@@ -12,17 +12,11 @@
 makedepends=(python-setuptools python2-setuptools python-twisted python-six python-txaio python2-twisted python2-six python2-txaio)
 checkdepends=(python2-unittest2)
 source=(https://pypi.io/packages/source/a/autobahn/autobahn-$pkgver.tar.gz)
-sha256sums=('b5767bebd94ba13fc286604f889f208e7babc77d72d9f372d331bc14c89c5a40')
+sha256sums=('c7e775e46fc033160fa89942de4953ca739f26167f74431dc2c8a3cd165b8755')
 
-prepare() {
-  cp -a autobahn-$pkgver{,-py2}
-}
-
 build() {
   cd "$srcdir/autobahn-$pkgver"
   python setup.py build
-
-  cd "$srcdir/autobahn-$pkgver-py2"
   python2 setup.py build
 }
 
@@ -30,8 +24,6 @@
   cd "$srcdir/autobahn-$pkgver"
   #It requires python-unittest2 in [community]
   #python setup.py test
-
-  cd "$srcdir/autobahn-$pkgver-py2"
   #python2 setup.py test
 }
 
@@ -46,7 +38,7 @@
 package_python2-autobahn() {
   depends=(python2 python2-twisted python2-six python2-txaio)
 
-  cd "$srcdir/autobahn-$pkgver-py2"
+  cd "$srcdir/autobahn-$pkgver"
   python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }


More information about the arch-commits mailing list