1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 20:40:32 +01:00

Update to 1.2.0.

New version fixed the unit tests, so no longer need to deselect those.
This commit is contained in:
2018-10-07 16:45:10 +02:00
parent de05f45f40
commit 1443a2dc2d
2 changed files with 8 additions and 14 deletions

View File

@@ -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

View File

@@ -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
}