summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert Peters <bert@bertptrs.nl>2018-10-07 16:45:10 +0200
committerBert Peters <bert@bertptrs.nl>2018-10-07 16:45:10 +0200
commit1443a2dc2de04ed140a5f7143b7200d38831fda5 (patch)
tree649ba415f7331b87bfb6bab76111911dc3210a2a
parentde05f45f4043b9ee95dedf7306d106e707b1c02a (diff)
Update to 1.2.0.
New version fixed the unit tests, so no longer need to deselect those.
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
2 files changed, 8 insertions, 14 deletions
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 <wedjat@protonmail.com>
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
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
}