summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel2023-04-20 14:24:35 -0400
committerGuillaume Horel2023-04-20 14:24:35 -0400
commit710629499314045543a1bf4918a1d98b3d445370 (patch)
tree895331575e09ce09479096f914eff955ab358bb9
parent4e51d0b35594c76c43c979d7f312d405c023d1ab (diff)
downloadaur-710629499314045543a1bf4918a1d98b3d445370.tar.gz
fix tests
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ae5e7c529303..319c54279ee0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-traittypes
pkgdesc = Traitlet types for NumPy, SciPy and friends.
pkgver = 0.2.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/jupyter-widgets/traittypes
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index dfcedee4dcf1..8ad1cfa1e4ab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname='python-traittypes'
_module='traittypes'
pkgver='0.2.1'
-pkgrel=2
+pkgrel=3
pkgdesc="Traitlet types for NumPy, SciPy and friends."
url="https://github.com/jupyter-widgets/traittypes"
depends=('python'
@@ -29,5 +29,6 @@ package() {
check() {
cd "${_module}"
+ sed -i -e "s/np.int/int/" traittypes/tests/test_traittypes.py
PYTHONPATH=. pytest
}