diff --git a/.SRCINFO b/.SRCINFO index e797b93..567e4f2 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 = 3 + pkgver = 1.2.0 + pkgrel = 1 url = https://pydicom.github.io/pydicom/stable/index.html arch = x86_64 license = MIT @@ -12,8 +12,8 @@ pkgbase = python-pydicom depends = python optdepends = python-numpy: for working with pixel data optdepends = python-pillow: for working with compressed image data - source = python-pydicom-1.1.0.tar.gz::https://github.com/pydicom/pydicom/archive/v1.1.0.tar.gz - md5sums = 759799fbe1d01d1daadeca649717122b + source = python-pydicom-1.2.0.tar.gz::https://github.com/pydicom/pydicom/archive/v1.2.0.tar.gz + md5sums = edbdde15650b4a071de40dfea474bdcc pkgname = python-pydicom diff --git a/PKGBUILD b/PKGBUILD index 32af00c..4b0abdf 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,8 +2,8 @@ # Maintainer: wedjat # Contributor: Andrzej Giniewicz pkgname=('python-pydicom' 'python2-pydicom') -pkgver=1.1.0 -pkgrel=3 +pkgver=1.2.0 +pkgrel=1 pkgdesc="Pure python package for working with DICOM files" arch=("x86_64") url="https://pydicom.github.io/pydicom/stable/index.html" @@ -14,7 +14,7 @@ optdepends=('python-numpy: for working with pixel data' 'python-pillow: for working with compressed image data') checkdepends=('python-pytest') source=("$pkgname-$pkgver.tar.gz::https://github.com/pydicom/pydicom/archive/v$pkgver.tar.gz") -md5sums=('759799fbe1d01d1daadeca649717122b') +md5sums=('edbdde15650b4a071de40dfea474bdcc') build() { @@ -45,11 +45,5 @@ package_python2-pydicom() 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] \ - --deselect pydicom/tests/test_fixes.py::TestTimeZone::test_constructor + PYTHONDONTWRITEBYTECODE=1 pytest }