aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-piexif/APKBUILD
blob: 4eade68ef5a29b881ff79523148922a97c0928cb (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
# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-piexif
_pkgname=piexif
pkgver=1.1.3
pkgrel=1
pkgdesc="EXIF manipulations with Python"
url="https://github.com/hMatoba/Piexif"
arch="noarch !s390x" # Test failures
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pillow"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="df5f7793c39911af58bbae76cf998e2a7bc820b84dcf9808ee8f6a38f766f824fef28392ef88387e18b10c270c4b27881be310f0368076b6fb65379a11a93270  piexif-1.1.3.zip"