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

Felix Yan fyan at archlinux.org
Mon Dec 21 18:20:01 UTC 2015


    Date: Monday, December 21, 2015 @ 19:20:00
  Author: fyan
Revision: 154007

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 154005, python2-tagpy/trunk/PKGBUILD)
  python2-tagpy/repos/community-staging-x86_64/
  python2-tagpy/repos/community-staging-x86_64/PKGBUILD
    (from rev 154005, 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 154005, python2-tagpy/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-21 18:20:00 UTC (rev 154007)
@@ -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=7
+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 154005, python2-tagpy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-21 18:20:00 UTC (rev 154007)
@@ -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=7
+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