Date: Monday, August 11, 2014 @ 20:17:11 Author: jelle Revision: 117192
archrelease: copy trunk to community-staging-x86_64, community-staging-i686 Added: python2-tagpy/repos/community-staging-i686/ python2-tagpy/repos/community-staging-i686/PKGBUILD (from rev 117191, python2-tagpy/trunk/PKGBUILD) python2-tagpy/repos/community-staging-x86_64/ python2-tagpy/repos/community-staging-x86_64/PKGBUILD (from rev 117191, python2-tagpy/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) Copied: python2-tagpy/repos/community-staging-i686/PKGBUILD (from rev 117191, python2-tagpy/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2014-08-11 18:17:11 UTC (rev 117192) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Callan Barrett <wizzomafi...@gmail.com> +# Contributor: Scott Horowitz <stonecr...@gmail.com> + +pkgname=python2-tagpy +pkgver=2013.1 +pkgrel=2 +pkgdesc='Python bindings for TagLib' +arch=('x86_64' 'i686') +url='http://pypi.python.org/pypi/tagpy' +license=('MIT') +depends=('python2' 'taglib' 'boost-libs') +makedepends=('python2-setuptools' 'boost') +replaces=('tagpy') +conflicts=('tagpy') +source=("http://pypi.python.org/packages/source/t/tagpy/tagpy-$pkgver.tar.gz") +sha256sums=('80481c78ce34878e7a1f3231acd781a3bf1b0b569c70ce0e8d63af58061152f4') + +prepare() { + cd "tagpy-$pkgver" + + sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ + $(find . -name '*.py') +} + +build() { + cd "tagpy-$pkgver" + + ./configure.py \ + --taglib-lib-dir=/usr/lib/ \ + --taglib-inc-dir=/usr/include/taglib/ \ + --boost-inc-dir=/usr/include/boost/ \ + --boost-lib-dir=/usr/lib/ \ + --boost-python-libname=boost_python + python2 setup.py build +} + +check(){ + cd "tagpy-$pkgver" + + python2 setup.py test +} + +package(){ + cd "tagpy-$pkgver" + + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: Copied: python2-tagpy/repos/community-staging-x86_64/PKGBUILD (from rev 117191, python2-tagpy/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2014-08-11 18:17:11 UTC (rev 117192) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Callan Barrett <wizzomafi...@gmail.com> +# Contributor: Scott Horowitz <stonecr...@gmail.com> + +pkgname=python2-tagpy +pkgver=2013.1 +pkgrel=2 +pkgdesc='Python bindings for TagLib' +arch=('x86_64' 'i686') +url='http://pypi.python.org/pypi/tagpy' +license=('MIT') +depends=('python2' 'taglib' 'boost-libs') +makedepends=('python2-setuptools' 'boost') +replaces=('tagpy') +conflicts=('tagpy') +source=("http://pypi.python.org/packages/source/t/tagpy/tagpy-$pkgver.tar.gz") +sha256sums=('80481c78ce34878e7a1f3231acd781a3bf1b0b569c70ce0e8d63af58061152f4') + +prepare() { + cd "tagpy-$pkgver" + + sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ + $(find . -name '*.py') +} + +build() { + cd "tagpy-$pkgver" + + ./configure.py \ + --taglib-lib-dir=/usr/lib/ \ + --taglib-inc-dir=/usr/include/taglib/ \ + --boost-inc-dir=/usr/include/boost/ \ + --boost-lib-dir=/usr/lib/ \ + --boost-python-libname=boost_python + python2 setup.py build +} + +check(){ + cd "tagpy-$pkgver" + + python2 setup.py test +} + +package(){ + cd "tagpy-$pkgver" + + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: