summaryrefslogtreecommitdiff
path: root/community/python2-tagpy/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/python2-tagpy/PKGBUILD
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/python2-tagpy/PKGBUILD')
-rw-r--r--community/python2-tagpy/PKGBUILD56
1 files changed, 0 insertions, 56 deletions
diff --git a/community/python2-tagpy/PKGBUILD b/community/python2-tagpy/PKGBUILD
deleted file mode 100644
index 5da870be5..000000000
--- a/community/python2-tagpy/PKGBUILD
+++ /dev/null
@@ -1,56 +0,0 @@
-# $Id: PKGBUILD 94045 2013-07-13 12:36:26Z svenstaro $
-# Maintainer: Alexander Rødseth <rodseth@gmail.com>
-# Contributor: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Callan Barrett <wizzomafizzo@gmail.com>
-# Contributor: Scott Horowitz <stonecrest@gmail.com>
-
-pkgname=python2-tagpy
-pkgver=0.94.8
-pkgrel=4
-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-distribute' 'boost')
-replaces=('tagpy')
-conflicts=('tagpy')
-source=("http://pypi.python.org/packages/source/t/tagpy/tagpy-$pkgver.tar.gz"
- 'taglib1.7.patch')
-sha256sums=('56eab8dd81510f8af18e19375a0ffd5cd25c8e555104be46a92c3dc08634a0dc'
- 'f6cc34f8d4d1186270943cd7e1ad3c9478ae7064ab9b2cddf7760d493295cd26')
-
-prepare() {
- cd "tagpy-$pkgver"
-
- patch -p1 -i "$srcdir/taglib1.7.patch"
- 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: