[arch-commits] Commit in python-aspectlib/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 13 20:32:57 UTC 2020


    Date: Friday, November 13, 2020 @ 20:32:57
  Author: felixonmars
Revision: 753994

archrelease: copy trunk to community-staging-any

Added:
  python-aspectlib/repos/community-staging-any/PKGBUILD
    (from rev 753993, python-aspectlib/trunk/PKGBUILD)
Deleted:
  python-aspectlib/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   69 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 37 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-13 20:32:47 UTC (rev 753993)
+++ PKGBUILD	2020-11-13 20:32:57 UTC (rev 753994)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-aspectlib
-pkgver=1.5.1
-pkgrel=2
-pkgdesc="Development library for quickly writing configurable applications and daemons"
-arch=('any')
-license=('BSD')
-url="https://github.com/ionelmc/python-aspectlib"
-depends=('python-fields')
-makedepends=('python-setuptools')
-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')
-
-build() {
-  cd python-aspectlib-$pkgver
-  python setup.py build
-}
-
-check() {
-  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() {
-  cd python-aspectlib-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-aspectlib/repos/community-staging-any/PKGBUILD (from rev 753993, python-aspectlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-13 20:32:57 UTC (rev 753994)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-aspectlib
+pkgver=1.5.1
+pkgrel=3
+pkgdesc="Development library for quickly writing configurable applications and daemons"
+arch=('any')
+license=('BSD')
+url="https://github.com/ionelmc/python-aspectlib"
+depends=('python-fields')
+makedepends=('python-setuptools')
+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')
+
+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
+}
+
+check() {
+  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() {
+  cd python-aspectlib-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list