[arch-commits] Commit in python-biopython/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Jun 30 18:31:45 UTC 2018


    Date: Saturday, June 30, 2018 @ 18:31:45
  Author: foutrelis
Revision: 349010

archrelease: copy trunk to community-staging-x86_64

Added:
  python-biopython/repos/community-staging-x86_64/
  python-biopython/repos/community-staging-x86_64/ChangeLog
    (from rev 349009, python-biopython/trunk/ChangeLog)
  python-biopython/repos/community-staging-x86_64/PKGBUILD
    (from rev 349009, python-biopython/trunk/PKGBUILD)

-----------+
 ChangeLog |   20 ++++++++++++++++++++
 PKGBUILD  |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

Copied: python-biopython/repos/community-staging-x86_64/ChangeLog (from rev 349009, python-biopython/trunk/ChangeLog)
===================================================================
--- community-staging-x86_64/ChangeLog	                        (rev 0)
+++ community-staging-x86_64/ChangeLog	2018-06-30 18:31:45 UTC (rev 349010)
@@ -0,0 +1,20 @@
+1.71-1:
+upstream update
+
+1.70-1:
+upstream update
+
+1.68-1:
+upstream update
+
+1.67-1:
+upstream update
+
+1.66-1:
+upstream update
+
+1.65-3:
+python3.5 rebuild
+
+1.65-1:
+upstream update

Copied: python-biopython/repos/community-staging-x86_64/PKGBUILD (from rev 349009, python-biopython/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-06-30 18:31:45 UTC (rev 349010)
@@ -0,0 +1,55 @@
+# $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>
+
+pkgbase=python-biopython
+pkgname=('python-biopython' 'python2-biopython')
+_pkgname=biopython
+pkgver=1.71
+pkgrel=2
+pkgdesc="Freely available Python tools for computational molecular biology"
+arch=('x86_64')
+url="http://www.biopython.org"
+license=('custom')
+makedepends=('python-setuptools' 'python2-setuptools')
+depends=('python-numpy' 'python2-numpy')
+source=(http://www.biopython.org/DIST/${_pkgname}-${pkgver}.tar.gz)
+changelog=ChangeLog
+sha512sums=('003955e92295e98526c88abb573db9bdc37877fc41395551b541e7106ffa603327a36c6f4d999838c0be38b378901235c9dbd7cb7fc25c14a5d7001939fe23bd')
+
+prepare() {
+  cp -r "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-py2"
+  # change python to python2
+  find "${_pkgname}-${pkgver}-py2" -name '*.py' -type f -exec \
+      sed -i 's|env python|env python2|' {} \;
+}
+
+build() {
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  python setup.py build
+
+  cd "${srcdir}/${_pkgname}-${pkgver}-py2"
+  python2 setup.py build
+}
+
+package_python-biopython() {
+  depends=('python-numpy')
+  optdepends=('python-mysql-connector: for BioSQL module')
+
+  cd "${srcdir}/${_pkgname}-${pkgver}"
+  python setup.py install --root="${pkgdir}"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-biopython() {
+  depends=('python2-numpy')
+  optdepends=('python2-reportlab: for pdf graphics code'
+              'python2-mysql-connector: for BioSQL module'
+              'mysql-python: for BioSQL module')
+
+  cd "${srcdir}/${_pkgname}-${pkgver}-py2"
+  python2 setup.py install --root="${pkgdir}"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+



More information about the arch-commits mailing list