Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
python-aspectlib


Commits:
6b480f9d by Jelle van der Waa at 2024-10-11T12:33:31+02:00
upgpkg: 2.0.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-aspectlib
        pkgdesc = Development library for quickly writing configurable 
applications and daemons
-       pkgver = 1.5.2
-       pkgrel = 8
+       pkgver = 2.0.0
+       pkgrel = 1
        url = https://github.com/ionelmc/python-aspectlib
        arch = any
        license = BSD-2-Clause
@@ -15,9 +15,7 @@ pkgbase = python-aspectlib
        makedepends = python-wheel
        depends = python
        depends = python-fields
-       source = 
python-aspectlib-1.5.2.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v1.5.2.tar.gz
-       source = python310.patch
-       sha512sums = 
33642f828989d07c6af78bdf9adc9f2abbc419df89b878cfe7bd9c8df226a59401176b56b1f2b3ba48661ea5a145520de0bc7a0980226b742b0a79f31ab7dd7f
-       sha512sums = 
74b4261afd1fe20749f94dab067514eab12c484453607b820a96e1e8308fddbac4ac49ce24334c79c9fea6729877457ae60cb5004709106186c51d9af66087af
+       source = 
python-aspectlib-2.0.0.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v2.0.0.tar.gz
+       sha512sums = 
455ae7bb7808158abc79814632cd108397bfffc4d6c5e0f8a041ca03ed0f0fc2022d0929ad3a29e9015d8b3e3b02afa071c9b28fc62845eac4f6ef8c3fa2d9b2
 
 pkgname = python-aspectlib


=====================================
PKGBUILD
=====================================
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=python-aspectlib
-pkgver=1.5.2
-pkgrel=8
+pkgver=2.0.0
+pkgrel=1
 pkgdesc="Development library for quickly writing configurable applications and 
daemons"
 arch=('any')
 license=('BSD-2-Clause')
@@ -11,15 +11,11 @@ depends=('python' 'python-fields')
 makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 checkdepends=('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";
-        python310.patch)
-sha512sums=('33642f828989d07c6af78bdf9adc9f2abbc419df89b878cfe7bd9c8df226a59401176b56b1f2b3ba48661ea5a145520de0bc7a0980226b742b0a79f31ab7dd7f'
-            
'74b4261afd1fe20749f94dab067514eab12c484453607b820a96e1e8308fddbac4ac49ce24334c79c9fea6729877457ae60cb5004709106186c51d9af66087af')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v$pkgver.tar.gz";)
+sha512sums=('455ae7bb7808158abc79814632cd108397bfffc4d6c5e0f8a041ca03ed0f0fc2022d0929ad3a29e9015d8b3e3b02afa071c9b28fc62845eac4f6ef8c3fa2d9b2')
 
 prepare() {
   cd python-aspectlib-$pkgver
-  # https://github.com/ionelmc/python-aspectlib/pull/22
-  patch -Np1 -i ../python310.patch
 }
 
 build() {
@@ -30,7 +26,8 @@ build() {
 check() {
   cd python-aspectlib-$pkgver
   # https://github.com/ionelmc/python-aspectlib/issues/15
-  PYTHONPATH=src pytest --deselect 
tests/test_integrations_py3.py::test_decorate_tornado_coroutine
+  # python-pluggy is not compatible with pytest9, breaking the tests
+  PYTHONPATH=src pytest --deselect 
tests/test_integrations_py3.py::test_decorate_tornado_coroutine -W 
ignore::DeprecationWarning
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-aspectlib/-/commit/6b480f9da79def745407ca11cc0c0e592224b174

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-aspectlib/-/commit/6b480f9da79def745407ca11cc0c0e592224b174
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to