blob: bd91f262fc94109c7aec3594e0c03489d1b1b51b (
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
33
34
35
36
37
38
39
40
|
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer:
pkgname=py-exifread
_pkgname=ExifRead
pkgver=2.0.1
pkgrel=1
pkgdesc="Read Exif metadata from tiff and jpeg files"
url="https://pypi.python.org/pypi/ExifRead"
arch="noarch"
license="BSD"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.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
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="e1e1be39b8b991f3b7e481d4fb407d2f ExifRead-2.0.1.tar.gz"
sha256sums="5db6f14157e59a3f54abe423e4d10e820f4003e2adb8bdc7155ebca9ae43484c ExifRead-2.0.1.tar.gz"
sha512sums="ea46181512fe56660a7f88a08e30d99a2f35ff197b2d7ade3b61925115507ec7ba0f96c35f3b31a8528f91dd2ef0798e1667f703999d9f4ec4f38300fb4d898d ExifRead-2.0.1.tar.gz"
|