diff options
author | prspkt <prspkt@protonmail.com> | 2018-07-21 00:15:46 +0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-08-28 14:09:16 +0000 |
commit | bddb056854c3044880cc7993156f1957689e2d41 (patch) | |
tree | 55afa08c84b70bcf7ddf5393d7b6424a4fa54de0 /main | |
parent | 8039f1de9894a433aca44c97b9beb7c279404d1b (diff) | |
download | aports-bddb056854c3044880cc7993156f1957689e2d41.tar.bz2 aports-bddb056854c3044880cc7993156f1957689e2d41.tar.xz |
main/py-exifread: clarify license, modernize
Diffstat (limited to 'main')
-rw-r--r-- | main/py-exifread/APKBUILD | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/main/py-exifread/APKBUILD b/main/py-exifread/APKBUILD index d86abd0968..6d8d839156 100644 --- a/main/py-exifread/APKBUILD +++ b/main/py-exifread/APKBUILD @@ -2,11 +2,11 @@ pkgname=py-exifread _pkgname=ExifRead pkgver=2.1.2 -pkgrel=1 +pkgrel=2 pkgdesc="Read Exif metadata from tiff and jpeg files" url="https://pypi.python.org/pypi/ExifRead" arch="noarch" -license="BSD" +license="BSD-3-Clause" depends="python3" depends_dev="" makedepends="python3-dev py3-setuptools" @@ -14,26 +14,16 @@ install="" subpackages="" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$_builddir" - python3 setup.py build || return 1 + cd "$builddir" + python3 setup.py build } package() { - cd "$_builddir" - python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="8f5099e11e2137e0ce5acbec91c219be ExifRead-2.1.2.tar.gz" -sha256sums="79e244f2eb466709029e8806fe5e2cdd557870c3db5f68954db0ef548d9320ad ExifRead-2.1.2.tar.gz" + sha512sums="6357a96e6d5aeabe6b8eec519934e5754e09a53e5a3871254ee84f746ff8c2115dd175f1358a9d372ce2e3a062bf6f7be9d297661f5a4cf40b9c117d3f4e69d2 ExifRead-2.1.2.tar.gz" |