[arch-commits] Commit in imdbpy/repos/community-x86_64 (PKGBUILD PKGBUILD)
Ray Rashif
schiv at nymeria.archlinux.org
Sun Feb 3 15:16:52 UTC 2013
Date: Sunday, February 3, 2013 @ 16:16:51
Author: schiv
Revision: 83597
archrelease: copy trunk to community-x86_64
Added:
imdbpy/repos/community-x86_64/PKGBUILD
(from rev 83596, imdbpy/trunk/PKGBUILD)
Deleted:
imdbpy/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-03 15:15:16 UTC (rev 83596)
+++ PKGBUILD 2013-02-03 15:16:51 UTC (rev 83597)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Ray Rashif <schiv at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
-# Contributor: lang2 <wenzhi.liang at gmail.com>
-
-pkgname=imdbpy
-_realname=IMDbPY
-pkgver=4.9
-pkgrel=1
-pkgdesc="Python bindings for the Internet Movie Database (IMDb)"
-url="http://imdbpy.sourceforge.net/"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('python2')
-makedepends=('python2-distribute')
-optdepends=('python2-lxml' 'python2-sqlalchemy' 'python2-sqlobject')
-source=(http://downloads.sourceforge.net/$pkgname/$_realname-$pkgver.tar.gz)
-md5sums=('5b071cd63d1804ed568741d2db8d12b5')
-
-build(){
- cd "$srcdir/$_realname-$pkgver"
-
- # python2 fix
- for file in $(find . -name '*.py' -print); do
- sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file
- sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
- done
-
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- # fix paths
- # WTH is upstream doing?
- # TODO: report upstream about this nasty
- mv "$pkgdir/usr/etc" "$pkgdir"
- mkdir -p "$pkgdir/usr/share/doc"
- #mv "$pkgdir/usr/imdb" "$pkgdir/usr/share"
- mv "$pkgdir/usr/doc" "$pkgdir/usr/share/doc/imdb"
-}
Copied: imdbpy/repos/community-x86_64/PKGBUILD (from rev 83596, imdbpy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-02-03 15:16:51 UTC (rev 83597)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at koon.fr>
+# Contributor: lang2 <wenzhi.liang at gmail.com>
+
+pkgname=imdbpy
+_realname=IMDbPY
+pkgver=4.9
+pkgrel=1
+pkgdesc="Python bindings for the Internet Movie Database (IMDb)"
+url="http://imdbpy.sourceforge.net/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('python2')
+makedepends=('python2-distribute')
+optdepends=('python2-lxml' 'python2-sqlalchemy' 'python2-sqlobject')
+source=(http://downloads.sourceforge.net/$pkgname/$_realname-$pkgver.tar.gz)
+md5sums=('5b071cd63d1804ed568741d2db8d12b5')
+
+package(){
+ cd "$srcdir/$_realname-$pkgver"
+
+ # python2 fix
+ for file in $(find . -name '*.py' -print); do
+ sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file
+ sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
+ done
+
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ # fix paths
+ # WTH is upstream doing?
+ # TODO: report upstream about this nasty
+ mv "$pkgdir/usr/etc" "$pkgdir"
+ mkdir -p "$pkgdir/usr/share/doc"
+ #mv "$pkgdir/usr/imdb" "$pkgdir/usr/share"
+ mv "$pkgdir/usr/doc" "$pkgdir/usr/share/doc/imdb"
+}
More information about the arch-commits
mailing list