mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-27 13:30:31 +01:00
Update to v2.0.0.
This version dropped python 2 support and so does this package.
This commit is contained in:
12
.SRCINFO
12
.SRCINFO
@@ -1,6 +1,6 @@
|
|||||||
pkgbase = python-pydicom
|
pkgbase = python-pydicom
|
||||||
pkgdesc = Pure python package for working with DICOM files
|
pkgdesc = Pure python package for working with DICOM files
|
||||||
pkgver = 1.4.2
|
pkgver = 2.0.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://pydicom.github.io/pydicom/stable/index.html
|
url = https://pydicom.github.io/pydicom/stable/index.html
|
||||||
arch = any
|
arch = any
|
||||||
@@ -8,17 +8,11 @@ pkgbase = python-pydicom
|
|||||||
license = custom
|
license = custom
|
||||||
checkdepends = python-pytest
|
checkdepends = python-pytest
|
||||||
makedepends = python-setuptools
|
makedepends = python-setuptools
|
||||||
makedepends = python2-setuptools
|
|
||||||
depends = python
|
depends = python
|
||||||
optdepends = python-numpy: for working with pixel data
|
optdepends = python-numpy: for working with pixel data
|
||||||
optdepends = python-pillow: for working with compressed image data
|
optdepends = python-pillow: for working with compressed image data
|
||||||
source = python-pydicom-1.4.2.tar.gz::https://github.com/pydicom/pydicom/archive/v1.4.2.tar.gz
|
source = python-pydicom-2.0.0.tar.gz::https://github.com/pydicom/pydicom/archive/v2.0.0.tar.gz
|
||||||
md5sums = dc5c3e61f6dd6db4b92f34c8026b6e8a
|
md5sums = 57262b6846904fd14647430363c2319a
|
||||||
|
|
||||||
pkgname = python-pydicom
|
pkgname = python-pydicom
|
||||||
|
|
||||||
pkgname = python2-pydicom
|
|
||||||
depends = python2
|
|
||||||
optdepends = python2-numpy: for working with pixel data
|
|
||||||
optdepends = python2-pillow: for working with compressed image data
|
|
||||||
|
|
||||||
|
|||||||
22
PKGBUILD
22
PKGBUILD
@@ -1,20 +1,20 @@
|
|||||||
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||||
# Maintainer: wedjat <wedjat@protonmail.com>
|
# Maintainer: wedjat <wedjat@protonmail.com>
|
||||||
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
|
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
|
||||||
pkgname=('python-pydicom' 'python2-pydicom')
|
pkgname=python-pydicom
|
||||||
pkgver=1.4.2
|
pkgver=2.0.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Pure python package for working with DICOM files"
|
pkgdesc="Pure python package for working with DICOM files"
|
||||||
arch=("any")
|
arch=("any")
|
||||||
url="https://pydicom.github.io/pydicom/stable/index.html"
|
url="https://pydicom.github.io/pydicom/stable/index.html"
|
||||||
license=('MIT' 'custom')
|
license=('MIT' 'custom')
|
||||||
depends=('python')
|
depends=('python')
|
||||||
makedepends=('python-setuptools' 'python2-setuptools')
|
makedepends=('python-setuptools')
|
||||||
optdepends=('python-numpy: for working with pixel data'
|
optdepends=('python-numpy: for working with pixel data'
|
||||||
'python-pillow: for working with compressed image data')
|
'python-pillow: for working with compressed image data')
|
||||||
checkdepends=('python-pytest')
|
checkdepends=('python-pytest')
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/pydicom/pydicom/archive/v$pkgver.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/pydicom/pydicom/archive/v$pkgver.tar.gz")
|
||||||
md5sums=('dc5c3e61f6dd6db4b92f34c8026b6e8a')
|
md5sums=('57262b6846904fd14647430363c2319a')
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
@@ -22,7 +22,7 @@ build()
|
|||||||
python setup.py build
|
python setup.py build
|
||||||
}
|
}
|
||||||
|
|
||||||
package_python-pydicom()
|
package()
|
||||||
{
|
{
|
||||||
cd "$srcdir/pydicom-$pkgver"
|
cd "$srcdir/pydicom-$pkgver"
|
||||||
python setup.py install --skip-build --root="$pkgdir"/ --optimize=1
|
python setup.py install --skip-build --root="$pkgdir"/ --optimize=1
|
||||||
@@ -30,18 +30,6 @@ package_python-pydicom()
|
|||||||
install -D "$srcdir/pydicom-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
install -D "$srcdir/pydicom-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
}
|
}
|
||||||
|
|
||||||
package_python2-pydicom()
|
|
||||||
{
|
|
||||||
depends=('python2')
|
|
||||||
optdepends=('python2-numpy: for working with pixel data'
|
|
||||||
'python2-pillow: for working with compressed image data')
|
|
||||||
cd "$srcdir/pydicom-$pkgver"
|
|
||||||
python2 setup.py install --skip-build --root="$pkgdir"/ --optimize=1
|
|
||||||
|
|
||||||
install -D "$srcdir/pydicom-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
check()
|
check()
|
||||||
{
|
{
|
||||||
cd "$srcdir/pydicom-$pkgver"
|
cd "$srcdir/pydicom-$pkgver"
|
||||||
|
|||||||
Reference in New Issue
Block a user