From 0b3bb87dc7cb5883bd064843f76887dd294a3cbf Mon Sep 17 00:00:00 2001 From: Peter Bui Date: Mon, 20 Jul 2015 22:50:31 -0500 Subject: main/py-exifread: move from testing --- main/py-exifread/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ testing/py-exifread/APKBUILD | 40 ---------------------------------------- 2 files changed, 39 insertions(+), 40 deletions(-) create mode 100644 main/py-exifread/APKBUILD delete mode 100644 testing/py-exifread/APKBUILD diff --git a/main/py-exifread/APKBUILD b/main/py-exifread/APKBUILD new file mode 100644 index 0000000000..63cf80d009 --- /dev/null +++ b/main/py-exifread/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Peter Bui +pkgname=py-exifread +_pkgname=ExifRead +pkgver=2.1.1 +pkgrel=0 +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="1ad3338c0f2cf3e3d9e90e6b33db5754 ExifRead-2.1.1.tar.gz" +sha256sums="07319ac6adf9cfc76ae34a357f12bc0b6668fa1513f8e925cf1743189e9cc56d ExifRead-2.1.1.tar.gz" +sha512sums="00c070273aeb4b231a7eebd9aba38a8e876e8ace56e10ecb92e1dc95da636d461ea69683559fb845b7c9e857a9def9c3fdc934b23eeda2352908ee70ebdcc8c2 ExifRead-2.1.1.tar.gz" diff --git a/testing/py-exifread/APKBUILD b/testing/py-exifread/APKBUILD deleted file mode 100644 index e33da65fb6..0000000000 --- a/testing/py-exifread/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Peter Bui -# Maintainer: -pkgname=py-exifread -_pkgname=ExifRead -pkgver=2.1.1 -pkgrel=0 -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="1ad3338c0f2cf3e3d9e90e6b33db5754 ExifRead-2.1.1.tar.gz" -sha256sums="07319ac6adf9cfc76ae34a357f12bc0b6668fa1513f8e925cf1743189e9cc56d ExifRead-2.1.1.tar.gz" -sha512sums="00c070273aeb4b231a7eebd9aba38a8e876e8ace56e10ecb92e1dc95da636d461ea69683559fb845b7c9e857a9def9c3fdc934b23eeda2352908ee70ebdcc8c2 ExifRead-2.1.1.tar.gz" -- cgit v1.2.3