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

Evgeniy Alekseev arcanis at archlinux.org
Sat Sep 19 11:28:13 UTC 2015


    Date: Saturday, September 19, 2015 @ 13:28:12
  Author: arcanis
Revision: 140758

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

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

------------------------------------+
 community-staging-i686/ChangeLog   |    5 +++
 community-staging-i686/PKGBUILD    |   54 +++++++++++++++++++++++++++++++++++
 community-staging-x86_64/ChangeLog |    5 +++
 community-staging-x86_64/PKGBUILD  |   54 +++++++++++++++++++++++++++++++++++
 4 files changed, 118 insertions(+)

Copied: python-biopython/repos/community-staging-i686/ChangeLog (from rev 140757, python-biopython/trunk/ChangeLog)
===================================================================
--- community-staging-i686/ChangeLog	                        (rev 0)
+++ community-staging-i686/ChangeLog	2015-09-19 11:28:12 UTC (rev 140758)
@@ -0,0 +1,5 @@
+1.65-3:
+python3.5 rebuild
+
+1.65-1:
+upstream update

Copied: python-biopython/repos/community-staging-i686/PKGBUILD (from rev 140757, python-biopython/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-19 11:28:12 UTC (rev 140758)
@@ -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.65
+pkgrel=3
+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=('143e7861ade85c0a8b5e2bbdd1da1f67')
+
+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-staging-x86_64/ChangeLog (from rev 140757, python-biopython/trunk/ChangeLog)
===================================================================
--- community-staging-x86_64/ChangeLog	                        (rev 0)
+++ community-staging-x86_64/ChangeLog	2015-09-19 11:28:12 UTC (rev 140758)
@@ -0,0 +1,5 @@
+1.65-3:
+python3.5 rebuild
+
+1.65-1:
+upstream update

Copied: python-biopython/repos/community-staging-x86_64/PKGBUILD (from rev 140757, python-biopython/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-19 11:28:12 UTC (rev 140758)
@@ -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.65
+pkgrel=3
+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=('143e7861ade85c0a8b5e2bbdd1da1f67')
+
+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