[arch-commits] Commit in python-aspectlib/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Nov 18 20:13:01 UTC 2020
Date: Wednesday, November 18, 2020 @ 20:13:01
Author: felixonmars
Revision: 757176
archrelease: copy trunk to community-staging-any
Added:
python-aspectlib/repos/community-staging-any/PKGBUILD
(from rev 757175, python-aspectlib/trunk/PKGBUILD)
Deleted:
python-aspectlib/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 69 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 32 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-18 20:12:45 UTC (rev 757175)
+++ PKGBUILD 2020-11-18 20:13:01 UTC (rev 757176)
@@ -1,37 +0,0 @@
-# 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
-}
Copied: python-aspectlib/repos/community-staging-any/PKGBUILD (from rev 757175, python-aspectlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-18 20:13:01 UTC (rev 757176)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-aspectlib
+pkgver=1.5.2
+pkgrel=1
+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=('33642f828989d07c6af78bdf9adc9f2abbc419df89b878cfe7bd9c8df226a59401176b56b1f2b3ba48661ea5a145520de0bc7a0980226b742b0a79f31ab7dd7f')
+
+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