mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-28 05:50:31 +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:
14
PKGBUILD
14
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user