[arch-commits] Commit in mutagen/trunk (ChangeLog PKGBUILD)
Eric Bélanger
eric at archlinux.org
Sat Aug 21 03:52:10 UTC 2010
Date: Friday, August 20, 2010 @ 23:52:09
Author: eric
Revision: 88201
upgpkg: mutagen 1.20-2
Rebuilt for python2
Modified:
mutagen/trunk/ChangeLog
mutagen/trunk/PKGBUILD
-----------+
ChangeLog | 5 +++++
PKGBUILD | 7 ++++---
2 files changed, 9 insertions(+), 3 deletions(-)
Modified: ChangeLog
===================================================================
--- ChangeLog 2010-08-21 03:26:07 UTC (rev 88200)
+++ ChangeLog 2010-08-21 03:52:09 UTC (rev 88201)
@@ -1,5 +1,10 @@
2010-08-20 Eric Belanger <eric at archlinux.org>
+ * mutagen 1.20-2
+ * Rebuilt for python2
+
+2010-08-20 Eric Belanger <eric at archlinux.org>
+
* mutagen 1.20-1
* Upstream update
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-08-21 03:26:07 UTC (rev 88200)
+++ PKGBUILD 2010-08-21 03:52:09 UTC (rev 88201)
@@ -3,12 +3,12 @@
pkgname=mutagen
pkgver=1.20
-pkgrel=1
+pkgrel=2
pkgdesc="An audio metadata tag reader and writer implemented in pure python"
arch=('any')
url="http://code.google.com/p/mutagen/"
license=('GPL2')
-depends=('python')
+depends=('python2')
changelog=ChangeLog
source=(http://mutagen.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
md5sums=('adb16d9f6056bc864a5c86c6f885af79')
@@ -16,7 +16,8 @@
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- python setup.py install --root="${pkgdir}"
+ python2 setup.py install --root="${pkgdir}"
install -d "${pkgdir}/usr/bin"
install -m755 tools/* "${pkgdir}/usr/bin"
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' "${pkgdir}"/usr/bin/*
}
More information about the arch-commits
mailing list