blob: c8a012a4213135aba0f8c7d0a8929e4acfb4bd3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Marco Rubin <marco.rubin@protonmail.com>
_name=psd-tools
pkgname=python-$_name
pkgver=1.14.2
pkgrel=1
pkgdesc='Python package for working with Adobe Photoshop PSD files'
arch=(any)
url='https://github.com/psd-tools/psd-tools'
license=('MIT')
depends=('python>=3.8'
'python-docopt>=0.6.0'
'python-attrs>=23.0.0'
'python-pillow>=10.3.0'
python-aggdraw
python-numpy
python-scipy
python-scikit-image)
makedepends=(cython python-build python-installer python-setuptools python-wheel)
source=("$url/archive/v$pkgver.tar.gz")
b2sums=('98e908127c0b735fdc8a0a19d0c42d7dce7b331bfbf68cc580b412c72ca50079a8e5c63b6aaaa3dc4464e8bd08d8494bbdb140d863c1594ff2c49b3906c801d7')
build() {
cd $_name-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $_name-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|