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

Rémy Oudompheng remy at archlinux.org
Thu Sep 2 20:34:33 UTC 2010


    Date: Thursday, September 2, 2010 @ 16:34:33
  Author: remy
Revision: 89649

upgpkg: biopython 1.54-2
Rebuild for python2.

Modified:
  biopython/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-09-02 20:30:25 UTC (rev 89648)
+++ PKGBUILD	2010-09-02 20:34:33 UTC (rev 89649)
@@ -4,23 +4,23 @@
 
 pkgname=biopython
 pkgver=1.54
-pkgrel=1
+pkgrel=2
 pkgdesc="Freely available Python tools for computational molecular biology"
 arch=('i686' 'x86_64')
 url="http://www.biopython.org"
 license=('custom')
-depends=('glibc' 'python' 'python-numpy')
+depends=('glibc' 'python2' 'python-numpy')
 source=(http://www.biopython.org/DIST/${pkgname}-${pkgver}.tar.gz)
 md5sums=('d4c4ce5a3e1bb401928ca3dc3d1b08cd')
 sha1sums=('db23fd12efec2931fdbfac4b85854212f897ab53')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  yes | python setup.py build
+  yes | python2 setup.py build
 }
 
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  yes | python setup.py install --root="${pkgdir}"
+  yes | python2 setup.py install --root="${pkgdir}"
   install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }




More information about the arch-commits mailing list