summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert Peters <bert@bertptrs.nl>2018-08-10 11:30:38 +0200
committerBert Peters <bert@bertptrs.nl>2018-08-10 11:30:38 +0200
commitde05f45f4043b9ee95dedf7306d106e707b1c02a (patch)
tree644a9a25ac387bfd5d44107b169584308edbf345
parent23b5b430e92ba450c252892575ba1e55109e54f2 (diff)
Fix Python 3.7 incompatibility.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3f5dcf2..e797b93 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-pydicom
pkgdesc = Pure python package for working with DICOM files
pkgver = 1.1.0
- pkgrel = 2
+ pkgrel = 3
url = https://pydicom.github.io/pydicom/stable/index.html
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index e0cc096..32af00c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
pkgname=('python-pydicom' 'python2-pydicom')
pkgver=1.1.0
-pkgrel=2
+pkgrel=3
pkgdesc="Pure python package for working with DICOM files"
arch=("x86_64")
url="https://pydicom.github.io/pydicom/stable/index.html"
@@ -47,7 +47,9 @@ check()
cd "$srcdir/pydicom-$pkgver"
# Test suite has a known issue with Pillow 5 and up
# See: https://github.com/pydicom/pydicom/issues/663
+ # Timezone test isn't supposed to run in python 3, but it does
# Don't write byte code to prevent a "$srcdir in pkg" error on rebuilds
PYTHONDONTWRITEBYTECODE=1 \
- pytest --deselect=pydicom/tests/test_pillow_pixel_data.py::test_PI_RGB[JPEG_RGB_RGB]
+ pytest --deselect=pydicom/tests/test_pillow_pixel_data.py::test_PI_RGB[JPEG_RGB_RGB] \
+ --deselect pydicom/tests/test_fixes.py::TestTimeZone::test_constructor
}