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

2020-11-18 Thread Felix Yan via arch-commits
Date: Wednesday, November 18, 2020 @ 20:12:45
  Author: felixonmars
Revision: 757175

upgpkg: python-aspectlib 1.5.2-1

Modified:
  python-aspectlib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-18 20:12:25 UTC (rev 757174)
+++ PKGBUILD2020-11-18 20:12:45 UTC (rev 757175)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan 
 
 pkgname=python-aspectlib
-pkgver=1.5.1
-pkgrel=3
+pkgver=1.5.2
+pkgrel=1
 pkgdesc="Development library for quickly writing configurable applications and 
daemons"
 arch=('any')
 license=('BSD')
@@ -12,13 +12,8 @@
 checkdepends=('python-mock' 'python-tornado' 'python-process-tests'
   'python-profilestats' 'python-pytest-runner') # 'mysql-python')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v$pkgver.tar.gz;)
-sha512sums=('24e700a14096042f2382910eb1245a9b64d99670c8bd60e2df4afe41113e8f813633bae10c8c2487c52c556f537a77ee43f6672a00af1f05d2ed4a129a92332e')
+sha512sums=('33642f828989d07c6af78bdf9adc9f2abbc419df89b878cfe7bd9c8df226a59401176b56b1f2b3ba48661ea5a145520de0bc7a0980226b742b0a79f31ab7dd7f')
 
-prepare() {
-  cd python-aspectlib-$pkgver
-  sed -i 's/from _dummy_thread import allocate_lock/from _thread import 
allocate_lock/' src/aspectlib/test.py
-}
-
 build() {
   cd python-aspectlib-$pkgver
   python setup.py build


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

2020-11-13 Thread Felix Yan via arch-commits
Date: Friday, November 13, 2020 @ 20:32:47
  Author: felixonmars
Revision: 753993

upgpkg: python-aspectlib 1.5.1-3: Python 3.9 rebuild

Modified:
  python-aspectlib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-13 20:19:15 UTC (rev 753992)
+++ PKGBUILD2020-11-13 20:32:47 UTC (rev 753993)
@@ -2,7 +2,7 @@
 
 pkgname=python-aspectlib
 pkgver=1.5.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Development library for quickly writing configurable applications and 
daemons"
 arch=('any')
 license=('BSD')


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

2020-11-13 Thread Felix Yan via arch-commits
Date: Friday, November 13, 2020 @ 20:19:15
  Author: felixonmars
Revision: 753992

add fixes for python 3.9

Modified:
  python-aspectlib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-13 20:18:15 UTC (rev 753991)
+++ PKGBUILD2020-11-13 20:19:15 UTC (rev 753992)
@@ -14,6 +14,11 @@
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v$pkgver.tar.gz;)
 
sha512sums=('24e700a14096042f2382910eb1245a9b64d99670c8bd60e2df4afe41113e8f813633bae10c8c2487c52c556f537a77ee43f6672a00af1f05d2ed4a129a92332e')
 
+prepare() {
+  cd python-aspectlib-$pkgver
+  sed -i 's/from _dummy_thread import allocate_lock/from _thread import 
allocate_lock/' src/aspectlib/test.py
+}
+
 build() {
   cd python-aspectlib-$pkgver
   python setup.py build


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

2020-06-11 Thread Felix Yan via arch-commits
Date: Thursday, June 11, 2020 @ 18:47:54
  Author: felixonmars
Revision: 642118

upgpkg: python-aspectlib 1.5.1-1

Modified:
  python-aspectlib/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-11 18:47:41 UTC (rev 642117)
+++ PKGBUILD2020-06-11 18:47:54 UTC (rev 642118)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=python-aspectlib
-pkgver=1.5.0
+pkgver=1.5.1
 pkgrel=1
 pkgdesc="Development library for quickly writing configurable applications and 
daemons"
 arch=('any')
@@ -12,7 +12,7 @@
 checkdepends=('python-mock' 'python-tornado' 'python-process-tests'
   'python-profilestats' 'python-pytest-runner') # 'mysql-python')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v$pkgver.tar.gz;)
-sha512sums=('313e383d44b8ebbfcb3e657512280ce8a0919dd4736dd058282788ea1c0711c6a33cb9ceecbc711368abda438be515a5579bbd4d31a629208e320be3e7e39381')
+sha512sums=('24e700a14096042f2382910eb1245a9b64d99670c8bd60e2df4afe41113e8f813633bae10c8c2487c52c556f537a77ee43f6672a00af1f05d2ed4a129a92332e')
 
 build() {
   cd python-aspectlib-$pkgver


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

2020-05-20 Thread Felix Yan via arch-commits
Date: Wednesday, May 20, 2020 @ 18:09:30
  Author: felixonmars
Revision: 630923

remove broken workaround

Modified:
  python-aspectlib/trunk/PKGBUILD

--+
 PKGBUILD |5 -
 1 file changed, 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-20 18:09:05 UTC (rev 630922)
+++ PKGBUILD2020-05-20 18:09:30 UTC (rev 630923)
@@ -14,11 +14,6 @@
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v$pkgver.tar.gz;)
 
sha512sums=('313e383d44b8ebbfcb3e657512280ce8a0919dd4736dd058282788ea1c0711c6a33cb9ceecbc711368abda438be515a5579bbd4d31a629208e320be3e7e39381')
 
-prepare() {
-  cd python-aspectlib-$pkgver
-  sed -i 's/gen.Task/gen.coroutine/' tests/test_integrations_py3.py
-}
-
 build() {
   cd python-aspectlib-$pkgver
   python setup.py build


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

2020-05-20 Thread Felix Yan via arch-commits
Date: Wednesday, May 20, 2020 @ 18:08:50
  Author: felixonmars
Revision: 630921

upgpkg: python-aspectlib 1.5.0-1

Modified:
  python-aspectlib/trunk/PKGBUILD

--+
 PKGBUILD |   20 +---
 1 file changed, 13 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-20 18:03:29 UTC (rev 630920)
+++ PKGBUILD2020-05-20 18:08:50 UTC (rev 630921)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan 
 
 pkgname=python-aspectlib
-pkgver=1.4.2
-pkgrel=6
+pkgver=1.5.0
+pkgrel=1
 pkgdesc="Development library for quickly writing configurable applications and 
daemons"
 arch=('any')
 license=('BSD')
@@ -10,18 +10,24 @@
 depends=('python-fields')
 makedepends=('python-setuptools')
 checkdepends=('python-mock' 'python-tornado' 'python-process-tests'
-  'python-profilestats' 'python-pytest') # 'mysql-python')
+  'python-profilestats' 'python-pytest-runner') # 'mysql-python')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v$pkgver.tar.gz;)
-sha512sums=('fadb90b625ce2faac8f6d29ee28efaee09b4338c3c516c79d9e8753b7fb2ff45e0033174c5c5302f47f1f9e332824f37d56667fb05e66f85b808e8aa3a086f57')
+sha512sums=('313e383d44b8ebbfcb3e657512280ce8a0919dd4736dd058282788ea1c0711c6a33cb9ceecbc711368abda438be515a5579bbd4d31a629208e320be3e7e39381')
 
+prepare() {
+  cd python-aspectlib-$pkgver
+  sed -i 's/gen.Task/gen.coroutine/' tests/test_integrations_py3.py
+}
+
 build() {
-  cd "$srcdir"/python-aspectlib-$pkgver
+  cd python-aspectlib-$pkgver
   python setup.py build
 }
 
 check() {
-  cd "$srcdir"/python-aspectlib-$pkgver
-  LC_CTYPE=en_US.UTF-8 py.test || warning 
"https://github.com/ionelmc/python-aspectlib/issues/11;
+  cd python-aspectlib-$pkgver
+  # https://github.com/ionelmc/python-aspectlib/issues/15
+  python setup.py pytest --addopts '--deselect 
tests/test_integrations_py3.py::test_decorate_tornado_coroutine'
 }
 
 package() {


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

2020-05-13 Thread Jelle van der Waa via arch-commits
Date: Wednesday, May 13, 2020 @ 19:39:37
  Author: jelle
Revision: 627767

remove unused python2 module

Modified:
  python-aspectlib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-13 19:35:39 UTC (rev 627766)
+++ PKGBUILD2020-05-13 19:39:37 UTC (rev 627767)
@@ -2,7 +2,7 @@
 
 pkgname=python-aspectlib
 pkgver=1.4.2
-pkgrel=5
+pkgrel=6
 pkgdesc="Development library for quickly writing configurable applications and 
daemons"
 arch=('any')
 license=('BSD')


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

2020-05-13 Thread Jelle van der Waa via arch-commits
Date: Wednesday, May 13, 2020 @ 19:35:31
  Author: jelle
Revision: 627765

remove unused python2 module

Modified:
  python-aspectlib/trunk/PKGBUILD

--+
 PKGBUILD |   35 +++
 1 file changed, 7 insertions(+), 28 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-13 19:31:20 UTC (rev 627764)
+++ PKGBUILD2020-05-13 19:35:31 UTC (rev 627765)
@@ -1,7 +1,6 @@
 # Maintainer: Felix Yan 
 
-pkgbase=python-aspectlib
-pkgname=('python-aspectlib' 'python2-aspectlib')
+pkgname=python-aspectlib
 pkgver=1.4.2
 pkgrel=5
 pkgdesc="Development library for quickly writing configurable applications and 
daemons"
@@ -8,45 +7,25 @@
 arch=('any')
 license=('BSD')
 url="https://github.com/ionelmc/python-aspectlib;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-fields' 
'python2-fields')
-checkdepends=('python-mock' 'python2-mock' 'python-tornado' 'python2-tornado'
-  'python-process-tests' 'python2-process-tests' 'python2-trollius'
-  'python-profilestats' 'python2-profilestats' 'python-pytest' 
'python2-pytest') # 'mysql-python')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v$pkgver.tar.gz;)
+depends=('python-fields')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-tornado' 'python-process-tests'
+  'python-profilestats' 'python-pytest') # 'mysql-python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v$pkgver.tar.gz;)
 
sha512sums=('fadb90b625ce2faac8f6d29ee28efaee09b4338c3c516c79d9e8753b7fb2ff45e0033174c5c5302f47f1f9e332824f37d56667fb05e66f85b808e8aa3a086f57')
 
-prepare() {
-  cp -a python-aspectlib-$pkgver{,-py2}
-}
-
 build() {
   cd "$srcdir"/python-aspectlib-$pkgver
   python setup.py build
-
-  cd "$srcdir"/python-aspectlib-$pkgver-py2
-  python2 setup.py build
 }
 
 check() {
   cd "$srcdir"/python-aspectlib-$pkgver
   LC_CTYPE=en_US.UTF-8 py.test || warning 
"https://github.com/ionelmc/python-aspectlib/issues/11;
-
-  cd "$srcdir"/python-aspectlib-$pkgver-py2
-  py.test2 || warning "Tests failed"
 }
 
-package_python-aspectlib() {
-  depends=('python-fields')
-
+package() {
   cd python-aspectlib-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
   install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
-
-package_python2-aspectlib() {
-  depends=('python2-fields')
-
-  cd python-aspectlib-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}


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

2019-11-03 Thread Felix Yan via arch-commits
Date: Monday, November 4, 2019 @ 00:21:32
  Author: felixonmars
Revision: 522818

Python 3.8 rebuild

Modified:
  python-aspectlib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-04 00:19:53 UTC (rev 522817)
+++ PKGBUILD2019-11-04 00:21:32 UTC (rev 522818)
@@ -3,7 +3,7 @@
 pkgbase=python-aspectlib
 pkgname=('python-aspectlib' 'python2-aspectlib')
 pkgver=1.4.2
-pkgrel=4
+pkgrel=5
 pkgdesc="Development library for quickly writing configurable applications and 
daemons"
 arch=('any')
 license=('BSD')


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

2019-10-26 Thread Felix Yan via arch-commits
Date: Saturday, October 26, 2019 @ 20:23:10
  Author: felixonmars
Revision: 520494

Python 3.8 rebuild

Modified:
  python-aspectlib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-26 20:23:06 UTC (rev 520493)
+++ PKGBUILD2019-10-26 20:23:10 UTC (rev 520494)
@@ -3,7 +3,7 @@
 pkgbase=python-aspectlib
 pkgname=('python-aspectlib' 'python2-aspectlib')
 pkgver=1.4.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Development library for quickly writing configurable applications and 
daemons"
 arch=('any')
 license=('BSD')


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

2018-07-13 Thread Felix Yan via arch-commits
Date: Friday, July 13, 2018 @ 07:55:49
  Author: felixonmars
Revision: 358451

upgpkg: python-aspectlib 1.4.2-3

Python 3.7 rebuild

Modified:
  python-aspectlib/trunk/PKGBUILD

--+
 PKGBUILD |   37 ++---
 1 file changed, 18 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-13 07:53:58 UTC (rev 358450)
+++ PKGBUILD2018-07-13 07:55:49 UTC (rev 358451)
@@ -4,51 +4,50 @@
 pkgbase=python-aspectlib
 pkgname=('python-aspectlib' 'python2-aspectlib')
 pkgver=1.4.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Development library for quickly writing configurable applications and 
daemons"
 arch=('any')
 license=('BSD')
 url="https://github.com/ionelmc/python-aspectlib;
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-pytest-capturelog' 'python2-pytest-capturelog' 
'python-mock'
-  'python2-mock' 'python-tornado' 'python2-tornado' 
'python-process-tests'
-  'python2-process-tests' 'python2-trollius' 'python-profilestats'
-  'python2-profilestats') # 'mysql-python')
-source=("git+https://github.com/ionelmc/python-aspectlib.git#tag=v$pkgver;)
-sha512sums=('SKIP')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-fields' 
'python2-fields')
+checkdepends=('python-mock' 'python2-mock' 'python-tornado' 'python2-tornado'
+  'python-process-tests' 'python2-process-tests' 'python2-trollius'
+  'python-profilestats' 'python2-profilestats' 'python-pytest' 
'python2-pytest') # 'mysql-python')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v$pkgver.tar.gz;)
+sha512sums=('fadb90b625ce2faac8f6d29ee28efaee09b4338c3c516c79d9e8753b7fb2ff45e0033174c5c5302f47f1f9e332824f37d56667fb05e66f85b808e8aa3a086f57')
 
 prepare() {
-  cp -a python-aspectlib{,-py2}
+  cp -a python-aspectlib-$pkgver{,-py2}
 }
 
 build() {
-  cd "$srcdir"/python-aspectlib
+  cd "$srcdir"/python-aspectlib-$pkgver
   python setup.py build
 
-  cd "$srcdir"/python-aspectlib-py2
+  cd "$srcdir"/python-aspectlib-$pkgver-py2
   python2 setup.py build
 }
 
 check() {
-  cd "$srcdir"/python-aspectlib
-  LC_CTYPE=en_US.UTF-8 py.test
+  cd "$srcdir"/python-aspectlib-$pkgver
+  LC_CTYPE=en_US.UTF-8 py.test || warning 
"https://github.com/ionelmc/python-aspectlib/issues/11;
 
-  cd "$srcdir"/python-aspectlib-py2
-  py.test2
+  cd "$srcdir"/python-aspectlib-$pkgver-py2
+  py.test2 || warning "Tests failed"
 }
 
 package_python-aspectlib() {
-  depends=('python')
+  depends=('python-fields')
 
-  cd python-aspectlib
+  cd python-aspectlib-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
   install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
 package_python2-aspectlib() {
-  depends=('python2')
+  depends=('python2-fields')
 
-  cd python-aspectlib-py2
+  cd python-aspectlib-$pkgver-py2
   python2 setup.py install --root="$pkgdir" --optimize=1
   install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }


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

2016-12-24 Thread Bartłomiej Piotrowski
Date: Sunday, December 25, 2016 @ 02:43:23
  Author: bpiotrowski
Revision: 201797

Python 3.6 rebuild

Modified:
  python-aspectlib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-25 02:43:12 UTC (rev 201796)
+++ PKGBUILD2016-12-25 02:43:23 UTC (rev 201797)
@@ -4,7 +4,7 @@
 pkgbase=python-aspectlib
 pkgname=('python-aspectlib' 'python2-aspectlib')
 pkgver=1.4.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Development library for quickly writing configurable applications and 
daemons"
 arch=('any')
 license=('BSD')


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

2016-05-12 Thread Felix Yan
Date: Thursday, May 12, 2016 @ 09:33:44
  Author: fyan
Revision: 174860

upgpkg: python-aspectlib 1.4.2-1

Modified:
  python-aspectlib/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-12 07:33:36 UTC (rev 174859)
+++ PKGBUILD2016-05-12 07:33:44 UTC (rev 174860)
@@ -3,7 +3,7 @@
 
 pkgbase=python-aspectlib
 pkgname=('python-aspectlib' 'python2-aspectlib')
-pkgver=1.4.1
+pkgver=1.4.2
 pkgrel=1
 pkgdesc="Development library for quickly writing configurable applications and 
daemons"
 arch=('any')


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

2016-05-06 Thread Felix Yan
Date: Saturday, May 7, 2016 @ 03:55:56
  Author: fyan
Revision: 173984

upgpkg: python-aspectlib 1.4.1-1

Modified:
  python-aspectlib/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-07 01:54:30 UTC (rev 173983)
+++ PKGBUILD2016-05-07 01:55:56 UTC (rev 173984)
@@ -3,7 +3,7 @@
 
 pkgbase=python-aspectlib
 pkgname=('python-aspectlib' 'python2-aspectlib')
-pkgver=1.4.0
+pkgver=1.4.1
 pkgrel=1
 pkgdesc="Development library for quickly writing configurable applications and 
daemons"
 arch=('any')
@@ -13,7 +13,7 @@
 checkdepends=('python-pytest-capturelog' 'python2-pytest-capturelog' 
'python-mock'
   'python2-mock' 'python-tornado' 'python2-tornado' 
'python-process-tests'
   'python2-process-tests' 'python2-trollius' 'python-profilestats'
-  'python2-profilestats')
+  'python2-profilestats') # 'mysql-python')
 source=("git+https://github.com/ionelmc/python-aspectlib.git#tag=v$pkgver;)
 sha512sums=('SKIP')
 


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

2016-04-10 Thread Felix Yan
Date: Sunday, April 10, 2016 @ 14:57:21
  Author: fyan
Revision: 170089

upgpkg: python-aspectlib 1.4.0-1

Modified:
  python-aspectlib/trunk/PKGBUILD

--+
 PKGBUILD |   26 +-
 1 file changed, 13 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-04-10 12:53:46 UTC (rev 170088)
+++ PKGBUILD2016-04-10 12:57:21 UTC (rev 170089)
@@ -3,16 +3,17 @@
 
 pkgbase=python-aspectlib
 pkgname=('python-aspectlib' 'python2-aspectlib')
-pkgver=1.3.3
+pkgver=1.4.0
 pkgrel=1
 pkgdesc="Development library for quickly writing configurable applications and 
daemons"
 arch=('any')
 license=('BSD')
-url="https://aspectlib.readthedocs.org;
+url="https://github.com/ionelmc/python-aspectlib;
 makedepends=('python-setuptools' 'python2-setuptools' 'git')
 checkdepends=('python-pytest-capturelog' 'python2-pytest-capturelog' 
'python-mock'
   'python2-mock' 'python-tornado' 'python2-tornado' 
'python-process-tests'
-  'python2-process-tests')
+  'python2-process-tests' 'python2-trollius' 'python-profilestats'
+  'python2-profilestats')
 source=("git+https://github.com/ionelmc/python-aspectlib.git#tag=v$pkgver;)
 sha512sums=('SKIP')
 
@@ -21,20 +22,19 @@
 }
 
 build() {
-  cd "$srcdir/python-aspectlib"
+  cd "$srcdir"/python-aspectlib
   python setup.py build
 
-  cd "$srcdir/python-aspectlib-py2"
+  cd "$srcdir"/python-aspectlib-py2
   python2 setup.py build
 }
 
 check() {
-  cd "$srcdir/python-aspectlib"
+  cd "$srcdir"/python-aspectlib
   LC_CTYPE=en_US.UTF-8 py.test
 
-  cd "$srcdir/python-aspectlib-py2"
-  # We don't have trollius packaged
-  py.test2 || warning "Tests failed"
+  cd "$srcdir"/python-aspectlib-py2
+  py.test2
 }
 
 package_python-aspectlib() {
@@ -41,8 +41,8 @@
   depends=('python')
 
   cd python-aspectlib
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
 package_python2-aspectlib() {
@@ -49,6 +49,6 @@
   depends=('python2')
 
   cd python-aspectlib-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }