Date: Monday, August 27, 2018 @ 06:12:35 Author: arcanis Revision: 374664
archrelease: copy trunk to community-x86_64 Added: python-biopython/repos/community-x86_64/ChangeLog (from rev 374663, python-biopython/trunk/ChangeLog) python-biopython/repos/community-x86_64/PKGBUILD (from rev 374663, python-biopython/trunk/PKGBUILD) Deleted: python-biopython/repos/community-x86_64/ChangeLog python-biopython/repos/community-x86_64/PKGBUILD -----------+ ChangeLog | 43 ++++++++++++----------- PKGBUILD | 110 ++++++++++++++++++++++++++++++------------------------------ 2 files changed, 78 insertions(+), 75 deletions(-) Deleted: ChangeLog =================================================================== --- ChangeLog 2018-08-27 06:12:24 UTC (rev 374663) +++ ChangeLog 2018-08-27 06:12:35 UTC (rev 374664) @@ -1,20 +0,0 @@ -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-x86_64/ChangeLog (from rev 374663, python-biopython/trunk/ChangeLog) =================================================================== --- ChangeLog (rev 0) +++ ChangeLog 2018-08-27 06:12:35 UTC (rev 374664) @@ -0,0 +1,23 @@ +1.72-1: +upstream update + +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 Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-08-27 06:12:24 UTC (rev 374663) +++ PKGBUILD 2018-08-27 06:12:35 UTC (rev 374664) @@ -1,55 +0,0 @@ -# $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" -} - Copied: python-biopython/repos/community-x86_64/PKGBUILD (from rev 374663, python-biopython/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-08-27 06:12:35 UTC (rev 374664) @@ -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.72 +pkgrel=1 +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=('e2ce74f4533c9c779c8fbafb73ed562c890209a4318fc9d8616ec98670ee5e97649b8c1b0207c91454b923faecf375f20bd6a0aaff52ccc73268fb0b1ea0b44c') + +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" +} +