mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 20:40:32 +01:00
Compare commits
2 Commits
276347562a
...
3f348f61a1
| Author | SHA1 | Date | |
|---|---|---|---|
| 3f348f61a1 | |||
| 8b1e60e39e |
@@ -1,19 +0,0 @@
|
|||||||
pkgbase = bloaty
|
|
||||||
pkgdesc = a size profiler for binaries
|
|
||||||
pkgver = 1.1
|
|
||||||
pkgrel = 3
|
|
||||||
url = https://github.com/google/bloaty
|
|
||||||
arch = x86_64
|
|
||||||
license = Apache-2.0
|
|
||||||
makedepends = cmake
|
|
||||||
depends = gcc-libs
|
|
||||||
depends = re2
|
|
||||||
depends = protobuf
|
|
||||||
depends = capstone
|
|
||||||
depends = abseil-cpp
|
|
||||||
source = https://github.com/google/bloaty/releases/download/v1.1/bloaty-1.1.tar.bz2
|
|
||||||
source = https://src.fedoraproject.org/rpms/bloaty/raw/rawhide/f/bloaty-1.1-absl.patch
|
|
||||||
sha256sums = a308d8369d5812aba45982e55e7c3db2ea4780b7496a5455792fb3dcba9abd6f
|
|
||||||
sha256sums = 96cc0528f6464b03d0e68060ff2d24c36624c7d3991cee142df8d3d27cefeb51
|
|
||||||
|
|
||||||
pkgname = bloaty
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
|
||||||
pkgname=bloaty
|
|
||||||
pkgver=1.1
|
|
||||||
pkgrel=3
|
|
||||||
pkgdesc="a size profiler for binaries"
|
|
||||||
arch=(x86_64)
|
|
||||||
url="https://github.com/google/bloaty"
|
|
||||||
license=('Apache-2.0')
|
|
||||||
depends=(gcc-libs re2 protobuf capstone abseil-cpp)
|
|
||||||
makedepends=(cmake)
|
|
||||||
source=(
|
|
||||||
"https://github.com/google/bloaty/releases/download/v$pkgver/bloaty-$pkgver.tar.bz2"
|
|
||||||
"https://src.fedoraproject.org/rpms/bloaty/raw/rawhide/f/bloaty-1.1-absl.patch")
|
|
||||||
sha256sums=('a308d8369d5812aba45982e55e7c3db2ea4780b7496a5455792fb3dcba9abd6f'
|
|
||||||
'96cc0528f6464b03d0e68060ff2d24c36624c7d3991cee142df8d3d27cefeb51')
|
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd "$pkgname-$pkgver"
|
|
||||||
# Abseil compatibility patch borrowed from Fedora
|
|
||||||
patch -p1 < "../bloaty-1.1-absl.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "$pkgname-$pkgver"
|
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None \
|
|
||||||
-DCMAKE_EXE_LINKER_FLAGS_RELEASE="$LDFLAGS" -Wno-dev
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
# Not included in the source tarbal, use the git release instead
|
|
||||||
# check() {
|
|
||||||
# cd "$pkgname-$pkgver"
|
|
||||||
# make test
|
|
||||||
# }
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "$pkgname-$pkgver"
|
|
||||||
make DESTDIR="$pkgdir/" install
|
|
||||||
}
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
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 = 2.4.4
|
pkgver = 3.0.0
|
||||||
pkgrel = 2
|
pkgrel = 1
|
||||||
url = https://pydicom.github.io/pydicom/stable/index.html
|
url = https://pydicom.github.io/pydicom/stable/index.html
|
||||||
arch = any
|
arch = any
|
||||||
license = MIT
|
license = MIT
|
||||||
@@ -12,15 +12,14 @@ pkgbase = python-pydicom
|
|||||||
makedepends = python-installer
|
makedepends = python-installer
|
||||||
makedepends = python-flit-core
|
makedepends = python-flit-core
|
||||||
depends = python
|
depends = python
|
||||||
|
depends = python-setuptools
|
||||||
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
|
||||||
optdepends = gdcm: for working with compressed JPEG, JPEG-LS and JPEG 2000 images
|
optdepends = gdcm: for working with compressed JPEG, JPEG-LS and JPEG 2000 images
|
||||||
optdepends = python-pylibjpeg: for working with compressed JPEG images
|
optdepends = python-pylibjpeg: for working with compressed JPEG images
|
||||||
optdepends = python-pylibjpeg-openjpeg: for working with compressed JPEG-LS or JPEG 2000 images
|
optdepends = python-pylibjpeg-openjpeg: for working with compressed JPEG-LS or JPEG 2000 images
|
||||||
optdepends = python-pylibjpeg-rle: for working with compressed RLE images
|
optdepends = python-pylibjpeg-rle: for working with compressed RLE images
|
||||||
source = python-pydicom-2.4.4.tar.gz::https://github.com/pydicom/pydicom/archive/v2.4.4.tar.gz
|
source = python-pydicom-3.0.0.tar.gz::https://github.com/pydicom/pydicom/archive/v3.0.0.tar.gz
|
||||||
source = pillow-10.1.patch
|
sha256sums = 0d21b27ea0110190725ee7cf2ddc29de633e230518b6f859025c1bb063df1b21
|
||||||
sha256sums = 42c06ed74331174111dd42c89db774a13fc472abe18015f22c5aba80cddb7843
|
|
||||||
sha256sums = 72aa784588b8f8d07142d130e755f223827d9e143e8ba07bc2276b5b0cca7633
|
|
||||||
|
|
||||||
pkgname = python-pydicom
|
pkgname = python-pydicom
|
||||||
|
|||||||
@@ -2,13 +2,13 @@
|
|||||||
# Contributor: wedjat <wedjat@protonmail.com>
|
# Contributor: wedjat <wedjat@protonmail.com>
|
||||||
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
|
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
|
||||||
pkgname=python-pydicom
|
pkgname=python-pydicom
|
||||||
pkgver=2.4.4
|
pkgver=3.0.0
|
||||||
pkgrel=2
|
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' 'LicenseRef-GDCM')
|
license=('MIT' 'LicenseRef-GDCM')
|
||||||
depends=('python')
|
depends=('python' 'python-setuptools')
|
||||||
makedepends=('python-wheel' 'python-build' 'python-installer' 'python-flit-core')
|
makedepends=('python-wheel' 'python-build' 'python-installer' 'python-flit-core')
|
||||||
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'
|
||||||
@@ -18,16 +18,8 @@ optdepends=('python-numpy: for working with pixel data'
|
|||||||
'python-pylibjpeg-rle: for working with compressed RLE images'
|
'python-pylibjpeg-rle: for working with compressed RLE images'
|
||||||
)
|
)
|
||||||
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")
|
||||||
"pillow-10.1.patch")
|
sha256sums=('0d21b27ea0110190725ee7cf2ddc29de633e230518b6f859025c1bb063df1b21')
|
||||||
sha256sums=('42c06ed74331174111dd42c89db774a13fc472abe18015f22c5aba80cddb7843'
|
|
||||||
'72aa784588b8f8d07142d130e755f223827d9e143e8ba07bc2276b5b0cca7633')
|
|
||||||
|
|
||||||
prepare()
|
|
||||||
{
|
|
||||||
cd "$srcdir/pydicom-$pkgver"
|
|
||||||
patch --forward --strip=1 --input="$srcdir/pillow-10.1.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
@@ -46,6 +38,11 @@ package()
|
|||||||
check()
|
check()
|
||||||
{
|
{
|
||||||
cd "$srcdir/pydicom-$pkgver"
|
cd "$srcdir/pydicom-$pkgver"
|
||||||
# CLI tests are broken, skip those
|
|
||||||
pytest -k "not TestCLIcall"
|
# Create a venv because software needs to be installed to run tests
|
||||||
|
python -m venv --system-site-packages test-env
|
||||||
|
test-env/bin/python -m installer dist/*.whl
|
||||||
|
|
||||||
|
# Skipped tests: have almost correct assertions on exception message
|
||||||
|
test-env/bin/python -m pytest -v -k "not test_deepcopy_bufferedreader_raises and not test_no_decoders_raises"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user