blob: b00dae1e7abbbd46c5e2e7923cb0b8deaef225c4 (
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.10.4
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.0.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=('d3ba8f0b3c599eb2a152cd92a2a298ebfc6615ece92ff92d97cb298233753e18cc71301863e2a3efe31d714b8ccd79f4cca3c7b21afefe60f8bf307b630e3dc4')
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"
}
|