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

David Runge dvzrv at archlinux.org
Thu May 27 17:25:12 UTC 2021


    Date: Thursday, May 27, 2021 @ 17:25:11
  Author: dvzrv
Revision: 949072

upgpkg: python-osc 1.7.6-1: Upgrade to 1.7.6.

Exclude flaky test: https://github.com/attwad/python-osc/issues/140

Modified:
  python-osc/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-27 17:24:40 UTC (rev 949071)
+++ PKGBUILD	2021-05-27 17:25:11 UTC (rev 949072)
@@ -1,8 +1,8 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
 
 pkgname=python-osc
-pkgver=1.7.4
-pkgrel=3
+pkgver=1.7.6
+pkgrel=1
 pkgdesc='Open Sound Control server and client implementations in pure Python'
 arch=('any')
 url="https://github.com/attwad/python-osc"
@@ -11,7 +11,8 @@
 makedepends=('python-setuptools')
 checkdepends=('python-pytest')
 source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('8fe699502efe97c57a4f42bff94a9361d955946307cee5670f0abb953f179abc46f02abb8298d3b30c21183957d019d5144914b49c693e92b54ee94b2fd018b4')
+sha512sums=('fa8492bd96ac736651ea1810874de6f7a728f43a4ad2f97fcb687c3af7dc8b724e902de7b3537d08a970afe04c7031f89ffbf83dc5400484676275beeb9aa56a')
+b2sums=('d606b1951e11b1f10d7e2b86f5a35fe51a0fa27c2611f3c5ac1cb2b0693014d27e8e500828d1066cc11474877950bc29fb42247dec00ef2bfc5b2f7954c3d8ae')
 
 build() {
   cd "${pkgname}-${pkgver}"
@@ -20,7 +21,8 @@
 
 check() {
   cd "${pkgname}-${pkgver}"
-  python setup.py test
+  # exclude flaky test: https://github.com/attwad/python-osc/issues/140
+  pytest -v -k "not test_nto_to_system_time"
 }
 
 package() {
@@ -27,7 +29,6 @@
   cd "${pkgname}-${pkgver}"
   python setup.py install --skip-build \
     --optimize=1 \
-    --prefix=/usr \
     --root="${pkgdir}/"
   install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}/"
 }



More information about the arch-commits mailing list