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

Evgeniy Alekseev arcanis at archlinux.org
Thu Jun 9 23:18:58 UTC 2016


    Date: Friday, June 10, 2016 @ 01:18:58
  Author: arcanis
Revision: 178906

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  python-biopython/repos/community-testing-i686/
  python-biopython/repos/community-testing-i686/ChangeLog
    (from rev 178905, python-biopython/trunk/ChangeLog)
  python-biopython/repos/community-testing-i686/PKGBUILD
    (from rev 178905, python-biopython/trunk/PKGBUILD)
  python-biopython/repos/community-testing-x86_64/
  python-biopython/repos/community-testing-x86_64/ChangeLog
    (from rev 178905, python-biopython/trunk/ChangeLog)
  python-biopython/repos/community-testing-x86_64/PKGBUILD
    (from rev 178905, python-biopython/trunk/PKGBUILD)

------------------------------------+
 community-testing-i686/ChangeLog   |   11 +++++++
 community-testing-i686/PKGBUILD    |   54 +++++++++++++++++++++++++++++++++++
 community-testing-x86_64/ChangeLog |   11 +++++++
 community-testing-x86_64/PKGBUILD  |   54 +++++++++++++++++++++++++++++++++++
 4 files changed, 130 insertions(+)

Copied: python-biopython/repos/community-testing-i686/ChangeLog (from rev 178905, python-biopython/trunk/ChangeLog)
===================================================================
--- community-testing-i686/ChangeLog	                        (rev 0)
+++ community-testing-i686/ChangeLog	2016-06-09 23:18:58 UTC (rev 178906)
@@ -0,0 +1,11 @@
+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-testing-i686/PKGBUILD (from rev 178905, python-biopython/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2016-06-09 23:18:58 UTC (rev 178906)
@@ -0,0 +1,54 @@
+# $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.67
+pkgrel=1
+pkgdesc="Freely available Python tools for computational molecular biology"
+arch=('i686' 'x86_64')
+url="http://www.biopython.org"
+license=('custom')
+depends=('python-numpy' 'python2-numpy')
+source=(http://www.biopython.org/DIST/${_pkgname}-${pkgver}.tar.gz)
+changelog=ChangeLog
+md5sums=('542699cc310588c1997806681ee1f65e')
+
+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"
+}
+

Copied: python-biopython/repos/community-testing-x86_64/ChangeLog (from rev 178905, python-biopython/trunk/ChangeLog)
===================================================================
--- community-testing-x86_64/ChangeLog	                        (rev 0)
+++ community-testing-x86_64/ChangeLog	2016-06-09 23:18:58 UTC (rev 178906)
@@ -0,0 +1,11 @@
+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-testing-x86_64/PKGBUILD (from rev 178905, python-biopython/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2016-06-09 23:18:58 UTC (rev 178906)
@@ -0,0 +1,54 @@
+# $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.67
+pkgrel=1
+pkgdesc="Freely available Python tools for computational molecular biology"
+arch=('i686' 'x86_64')
+url="http://www.biopython.org"
+license=('custom')
+depends=('python-numpy' 'python2-numpy')
+source=(http://www.biopython.org/DIST/${_pkgname}-${pkgver}.tar.gz)
+changelog=ChangeLog
+md5sums=('542699cc310588c1997806681ee1f65e')
+
+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