[arch-commits] Commit in python2-tagpy/repos (4 files)

Jelle van der Waa jelle at archlinux.org
Tue Nov 4 18:53:52 UTC 2014


    Date: Tuesday, November 4, 2014 @ 19:53:51
  Author: jelle
Revision: 121874

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 121873, python2-tagpy/trunk/PKGBUILD)
  python2-tagpy/repos/community-staging-x86_64/
  python2-tagpy/repos/community-staging-x86_64/PKGBUILD
    (from rev 121873, 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 121873, python2-tagpy/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2014-11-04 18:53:51 UTC (rev 121874)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Callan Barrett <wizzomafizzo at gmail.com>
+# Contributor: Scott Horowitz <stonecrest at gmail.com>
+
+pkgname=python2-tagpy
+pkgver=2013.1
+pkgrel=3
+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 121873, python2-tagpy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2014-11-04 18:53:51 UTC (rev 121874)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Callan Barrett <wizzomafizzo at gmail.com>
+# Contributor: Scott Horowitz <stonecrest at gmail.com>
+
+pkgname=python2-tagpy
+pkgver=2013.1
+pkgrel=3
+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:


More information about the arch-commits mailing list