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

Eric Bélanger eric at archlinux.org
Sun Jul 4 14:33:34 EDT 2010


    Date: Sunday, July 4, 2010 @ 14:33:34
  Author: eric
Revision: 84822

upgpkg: biopython 1.54-1
Upstream update

Modified:
  biopython/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-04 16:35:49 UTC (rev 84821)
+++ PKGBUILD	2010-07-04 18:33:34 UTC (rev 84822)
@@ -3,20 +3,24 @@
 # Contributor: damir <damir at archlinux.org>
 
 pkgname=biopython
-pkgver=1.53
+pkgver=1.54
 pkgrel=1
 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')
-source=(http://www.biopython.org/DIST/$pkgname-$pkgver.tar.gz)
-md5sums=('df1004ec64b9b593c0e690c14a20667a')
+source=(http://www.biopython.org/DIST/${pkgname}-${pkgver}.tar.gz)
+md5sums=('d4c4ce5a3e1bb401928ca3dc3d1b08cd')
+sha1sums=('db23fd12efec2931fdbfac4b85854212f897ab53')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  yes | python setup.py build || return 1
-  # python setup.py test
-  yes | python setup.py install --root="$pkgdir" || return 1
-  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  yes | python setup.py build
 }
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  yes | python setup.py install --root="${pkgdir}"
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list