[arch-commits] Commit in (4 files)

Evgeniy Alekseev arcanis at nymeria.archlinux.org
Sun Jan 12 10:57:55 UTC 2014


    Date: Sunday, January 12, 2014 @ 11:57:55
  Author: arcanis
Revision: 103848

added python2-biopython-1.63-2

Added:
  python2-biopython/
  python2-biopython/repos/
  python2-biopython/trunk/
  python2-biopython/trunk/PKGBUILD

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Added: python2-biopython/trunk/PKGBUILD
===================================================================
--- python2-biopython/trunk/PKGBUILD	                        (rev 0)
+++ python2-biopython/trunk/PKGBUILD	2014-01-12 10:57:55 UTC (rev 103848)
@@ -0,0 +1,48 @@
+# $id$
+# Maintainer: Evgeniy Alekseev <arcanis.arch at gmail dot com>
+# Contributor: Stunts <f.pinamartins at gmail dot com>
+# Contributor: damir <damir at archlinux dot org>
+
+pkgname=python2-biopython
+_upstream_pkgname=biopython
+pkgver=1.63
+pkgrel=2
+pkgdesc="Freely available Python tools for computational molecular biology"
+arch=('i686' 'x86_64')
+url="http://www.biopython.org"
+license=('custom')
+depends=('python2-numpy')
+optdepends=('python2-reportlab: for pdf graphics code'
+            'mysql-python: for BioSQL module')
+source=(http://www.biopython.org/DIST/${_upstream_pkgname}-${pkgver}.tar.gz)
+md5sums=('09c58433150849b131d2d9bbfdf342d3')
+
+prepare() {
+  cd "${srcdir}/${_upstream_pkgname}-${pkgver}/"
+  # change python to python2
+  sed -i "s|python|python2|g" "Bio/bgzf.py"
+  sed -i "s|python|python2|g" "Bio/DocSQL.py"
+  sed -i "s|python|python2|g" "Bio/kNN.py"
+  sed -i "s|python|python2|g" "Bio/LogisticRegression.py"
+  sed -i "s|python|python2|g" "Bio/PDB/parse_pdb_header.py"
+  sed -i "s|python|python2|g" "Bio/PDB/PDBList.py"
+  sed -i "s|python|python2|g" "Bio/Restriction/__init__.py"
+  sed -i "s|python|python2|g" "Bio/Restriction/PrintFormat.py"
+  sed -i "s|python|python2|g" "Bio/Restriction/Restriction.py"
+  sed -i "s|python|python2|g" "Bio/SeqUtils/__init__.py"
+  sed -i "s|python|python2|g" "Bio/UniProt/GOA.py"
+  sed -i "s|python|python2|g" "Bio/Wise/__init__.py"
+  sed -i "s|python|python2|g" "Bio/Wise/dnal.py"
+  sed -i "s|python|python2|g" "Bio/Wise/psw.py"
+}
+
+build() {
+  cd "${srcdir}/${_upstream_pkgname}-${pkgver}/"
+  python2 setup.py build
+}
+
+package() {
+  cd "${srcdir}/${_upstream_pkgname}-${pkgver}/"
+  python2 setup.py install --root="${pkgdir}"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


Property changes on: python2-biopython/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list