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

David Runge dvzrv at gemini.archlinux.org
Mon Sep 13 21:48:20 UTC 2021


    Date: Monday, September 13, 2021 @ 21:48:20
  Author: dvzrv
Revision: 1014737

upgpkg: python-mailmanclient 3.3.3-1: Upgrade to 3.3.3.

Add all current checkdepends.
Disable failing tests (they should be re-evaluated with a newer version of mailman3.
Simplify installation in package() to adhere to python package guidelines.

Modified:
  python-mailmanclient/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-13 21:26:59 UTC (rev 1014736)
+++ PKGBUILD	2021-09-13 21:48:20 UTC (rev 1014737)
@@ -2,7 +2,7 @@
 
 _name=mailmanclient
 pkgname=python-mailmanclient
-pkgver=3.3.2
+pkgver=3.3.3
 pkgrel=1
 pkgdesc="Official Python bindings for the GNU Mailman 3 REST API"
 arch=('any')
@@ -10,18 +10,17 @@
 license=('LGPL3')
 depends=('python-requests')
 makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-pytest-vcr' 'python-pytest-services'
-'mailman3' 'python-falcon')
+checkdepends=('mailman3' 'python-falcon' 'python-httpx' 'python-pytest' 'python-pytest-asyncio'
+'python-pytest-services')
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
-sha512sums=('87498df04ba9c7471f3a1c462dccb11af3af93669e2b0bef0d7f88fd756a860845b17503ea53b5b6eb894fb53f42816ea798fe8658ac78c119db9e795f805755'
+sha512sums=('a4d18a7fc6084dfb20a7028cc085c31e696b8c2db4eec674852929b1d3a221a065b8e33d8047d018d4a0edf1afb3bcb55e76906808c0f6b3715abb8a81437b9e'
             'SKIP')
-b2sums=('4578adc3a65b778fa9c24665e025b04d69e79253b851887712895eefc15c9a50eea135f131e9bded203a14573d40c74baa8a1f0e029eedf666a030701393d0e4'
+b2sums=('d354123fb7735d8b670422461f3d5697a30ac83d1b2f9c7f642583423ab383f58b0d0604f18be23175fcdabe42721ee02102e764211fd0723c9146f8c39581fd'
         'SKIP')
 validpgpkeys=('541EA0448453394FF77A0ECC9D9B2BA061D0A67C') # Abhilash Raj <raj.abhilash1 at gmail.com>
 
 prepare() {
   mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
 }
 
 build() {
@@ -32,13 +31,11 @@
 check() {
   cd "$pkgname-$pkgver"
   export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v -k 'not using.rst'
+  pytest -v -k 'not using.rst and not test_find_user_page and not test_find_users'
 }
 
 package() {
   cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --root="${pkgdir}"
+  python setup.py install --optimize=1 --root="${pkgdir}"
   install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
 }



More information about the arch-commits mailing list