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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Fri Oct 7 20:11:26 UTC 2016


    Date: Friday, October 7, 2016 @ 20:11:25
  Author: bpiotrowski
Revision: 191604

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 191603, python2-tagpy/trunk/PKGBUILD)
  python2-tagpy/repos/community-staging-x86_64/
  python2-tagpy/repos/community-staging-x86_64/PKGBUILD
    (from rev 191603, 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 191603, python2-tagpy/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-10-07 20:11:25 UTC (rev 191604)
@@ -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=9
+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 191603, python2-tagpy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-10-07 20:11:25 UTC (rev 191604)
@@ -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=9
+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