[arch-commits] Commit in python-aspectlib/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 1 14:57:47 UTC 2021
Date: Wednesday, December 1, 2021 @ 14:57:46
Author: foutrelis
Revision: 1059603
archrelease: copy trunk to community-staging-any
Added:
python-aspectlib/repos/community-staging-any/
python-aspectlib/repos/community-staging-any/PKGBUILD
(from rev 1059601, python-aspectlib/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-aspectlib/repos/community-staging-any/PKGBUILD (from rev 1059601, python-aspectlib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 14:57:46 UTC (rev 1059603)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-aspectlib
+pkgver=1.5.2
+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=('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