Package Details: python-pylibtiff-git r153.ef9076e-1

Git Clone URL: https://aur.archlinux.org/python-pylibtiff-git.git (read-only)
Package Base: python-pylibtiff-git
Description: A python wrapper of the C libtiff library
Upstream URL: https://github.com/pearu/pylibtiff
Licenses: BSD
Provides: python-libtiff, python-pylibtiff
Replaces: python-libtiff-svn
Submitter: fredericva
Maintainer: fredericva
Last Packager: fredericva
Votes: 1
Popularity: 0.000000
First Submitted: 2017-01-25 10:21
Last Updated: 2018-02-13 09:46

Required by (0)

Sources (1)

Latest Comments

fredericva commented on 2017-05-04 13:14

@radioxoma Done, thanks!

radioxoma commented on 2017-05-03 18:47

Please update

# Maintainer: Frederic Van Assche <frederic at fredericva.com>
# Contributor: Eugene Dvoretsky <radioxoma at gmail dot com>

pkgname=python-pylibtiff-git
pkgver=r138.33735eb
pkgrel=1
pkgdesc="A python wrapper of the C libtiff library"
arch=('i686' 'x86_64')
url="https://github.com/pearu/pylibtiff"
license=('BSD')
depends=('python-numpy' 'libtiff')
makedepends=('python-setuptools' 'git')
provides=('python-libtiff' 'python-pylibtiff')
replaces=('python-libtiff-svn')
source=("${pkgname%-git}::git+https://github.com/pearu/pylibtiff.git")
sha256sums=('SKIP')

pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
cd $srcdir/python-pylibtiff
python setup.py build

# Don't care about "ImportError: No module named tif_lzw"
python -c "from libtiff import TIFF" || true
}

package() {
cd $srcdir/python-pylibtiff
python setup.py install --root="$pkgdir" --optimize=1
}