[arch-commits] Commit in python-vpython/trunk (PKGBUILD)

Ionut Biru ibiru at archlinux.org
Sat Jun 19 21:54:28 UTC 2010


    Date: Saturday, June 19, 2010 @ 17:54:28
  Author: ibiru
Revision: 82945

upgpkg: python-vpython 5.32-1
update to 5.32, dropping Makefile.in.patch since it was merged upstream, added package function

Modified:
  python-vpython/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-19 18:54:36 UTC (rev 82944)
+++ PKGBUILD	2010-06-19 21:54:28 UTC (rev 82945)
@@ -3,8 +3,8 @@
 # Contributor: Comete <la_comete at tiscali.fr>
 
 pkgname=python-vpython
-pkgver=5.11
-pkgrel=5
+pkgver=5.32
+pkgrel=1
 pkgdesc="A Python module that offers real-time 3D output"
 arch=('i686' 'x86_64')
 url="http://www.vpython.org"
@@ -12,20 +12,22 @@
 makedepends=('pkg-config' 'boost')
 license=('custom')
 options=(!libtool)
-source=(http://www.vpython.org/contents/download/visual-5.11.tar.bz2 idlepath.patch Makefile.in.patch)
-md5sums=('b7c0acc12e395bfd050dada008891dc1'
-         '565dfeb03de806ba2382d05c0ded27d6'
-         '8327c39c71c34d208afe306791fca7d2')
+source=(http://www.vpython.org/contents/download/visual-5.32_release.tar.bz2 idlepath.patch)
+md5sums=('866f51f0c49b60086dbe3581f508d30b'
+         '565dfeb03de806ba2382d05c0ded27d6')
 
 build() {
   cd ${srcdir}/visual-${pkgver}_release
   patch -Np1 -i ${srcdir}/idlepath.patch || return 1
-  patch -Np1 -i ${srcdir}/Makefile.in.patch || return 1
   pythondir=`python -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
   unset PYTHONPATH # ignore developers PYTHONPATH
   ./configure --prefix=/usr \
               --with-example-dir=$pythondir/visual/demos
   make || return 1
+}
+
+package() {
+  cd ${srcdir}/visual-${pkgver}_release
   make DESTDIR=${pkgdir} install
   install -D -m644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }




More information about the arch-commits mailing list