[arch-commits] Commit in python-biopython/trunk (PKGBUILD)

2015-03-28 Thread Felix Yan
Date: Saturday, March 28, 2015 @ 11:37:48
  Author: fyan
Revision: 130091

upgpkg: python-biopython 1.65-2

rebuild against python 3.4.3-2 (fix missing symbols)

Modified:
  python-biopython/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-03-28 10:29:43 UTC (rev 130090)
+++ PKGBUILD2015-03-28 10:37:48 UTC (rev 130091)
@@ -7,7 +7,7 @@
 pkgname=('python-biopython' 'python2-biopython')
 _pkgname=biopython
 pkgver=1.65
-pkgrel=1
+pkgrel=2
 pkgdesc="Freely available Python tools for computational molecular biology"
 arch=('i686' 'x86_64')
 url="http://www.biopython.org";


[arch-commits] Commit in python-biopython/trunk (PKGBUILD)

2014-05-29 Thread Evgeniy Alekseev
Date: Thursday, May 29, 2014 @ 17:05:17
  Author: arcanis
Revision: 112177

upgpkg: python-biopython 1.64-1

Modified:
  python-biopython/trunk/PKGBUILD

--+
 PKGBUILD |   41 -
 1 file changed, 32 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-29 15:04:36 UTC (rev 112176)
+++ PKGBUILD2014-05-29 15:05:17 UTC (rev 112177)
@@ -1,28 +1,51 @@
-# $id$
+# $Id$
 # Maintainer: Evgeniy Alekseev 
 # Contributor: Stunts 
 # Contributor: damir 
 
-pkgname=python-biopython
+pkgbase=python-biopython
+pkgname=('python-biopython' 'python2-biopython')
 _pkgname=biopython
-pkgver=1.63
-pkgrel=3
+pkgver=1.64
+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')
+depends=('python-numpy' 'python2-numpy')
 source=(http://www.biopython.org/DIST/${_pkgname}-${pkgver}.tar.gz)
-md5sums=('09c58433150849b131d2d9bbfdf342d3')
+md5sums=('c7636372c4e775d59391e0aa1f0c56c7')
 
+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}/"
+  cd "${srcdir}/${_pkgname}-${pkgver}"
   python setup.py build
+
+  cd "${srcdir}/${_pkgname}-${pkgver}-py2"
+  python2 setup.py build
 }
 
-package() {
-  cd "${srcdir}/${_pkgname}-${pkgver}/"
+package_python-biopython() {
+  depends=('python-numpy')
+
+  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'
+  '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"
+}
+



[arch-commits] Commit in python-biopython/trunk (PKGBUILD)

2014-05-29 Thread Evgeniy Alekseev
Date: Friday, May 30, 2014 @ 06:54:54
  Author: arcanis
Revision: 112214

upgpkg: python-biopython 1.64-2
add mysql-connector to optional dependencies according to release notes

Modified:
  python-biopython/trunk/PKGBUILD

--+
 PKGBUILD |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-05-30 04:52:48 UTC (rev 112213)
+++ PKGBUILD2014-05-30 04:54:54 UTC (rev 112214)
@@ -7,7 +7,7 @@
 pkgname=('python-biopython' 'python2-biopython')
 _pkgname=biopython
 pkgver=1.64
-pkgrel=1
+pkgrel=2
 pkgdesc="Freely available Python tools for computational molecular biology"
 arch=('i686' 'x86_64')
 url="http://www.biopython.org";
@@ -33,6 +33,7 @@
 
 package_python-biopython() {
   depends=('python-numpy')
+  optdepends=('python-mysql-connector: for BioSQL module')
 
   cd "${srcdir}/${_pkgname}-${pkgver}"
   python setup.py install --root="${pkgdir}"
@@ -42,6 +43,7 @@
 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"



[arch-commits] Commit in python-biopython/trunk (PKGBUILD)

2014-03-18 Thread Evgeniy Alekseev
Date: Tuesday, March 18, 2014 @ 18:48:00
  Author: arcanis
Revision: 107714

upgpkg: python-biopython 1.63-3
python3.4 rebuild

Modified:
  python-biopython/trunk/PKGBUILD

--+
 PKGBUILD |   53 +
 1 file changed, 45 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-03-18 17:38:57 UTC (rev 107713)
+++ PKGBUILD2014-03-18 17:48:00 UTC (rev 107714)
@@ -3,25 +3,62 @@
 # Contributor: Stunts 
 # Contributor: damir 
 
-pkgname=python-biopython
-_upstream_pkgname=biopython
+pkgname=('python2-biopython' 'python-biopython')
+_pkgname=biopython
 pkgver=1.63
-pkgrel=2
+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')
-source=(http://www.biopython.org/DIST/${_upstream_pkgname}-${pkgver}.tar.gz)
+depends=('python2-numpy' 'python-numpy')
+source=(http://www.biopython.org/DIST/${_pkgname}-${pkgver}.tar.gz)
 md5sums=('09c58433150849b131d2d9bbfdf342d3')
 
+prepare() {
+  cp -r "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-py2/"
+  
+  cd "${srcdir}/${_pkgname}-${pkgver}-py2/"
+  # 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}/"
+  cd "${srcdir}/${_pkgname}-${pkgver}-py2/"
+  python2 setup.py build
+  
+  cd "${srcdir}/${_pkgname}-${pkgver}/"
   python setup.py build
 }
 
-package() {
-  cd "${srcdir}/${_upstream_pkgname}-${pkgver}/"
+package_python2-biopython() {
+  depends=('python2-numpy')
+  optdepends=('python2-reportlab: for pdf graphics code'
+  '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"
+}
+
+package_python-biopython() {
+  depends=('python-numpy')
+  
+  cd "${srcdir}/${_pkgname}-${pkgver}/"
   python setup.py install --root="${pkgdir}"
   install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
+



[arch-commits] Commit in python-biopython/trunk (PKGBUILD)

2014-03-18 Thread Evgeniy Alekseev
Date: Tuesday, March 18, 2014 @ 18:59:42
  Author: arcanis
Revision: 107716

upgpkg: python-biopython 1.63-3

Modified:
  python-biopython/trunk/PKGBUILD

--+
 PKGBUILD |   42 +++---
 1 file changed, 3 insertions(+), 39 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-03-18 17:48:27 UTC (rev 107715)
+++ PKGBUILD2014-03-18 17:59:42 UTC (rev 107716)
@@ -3,7 +3,7 @@
 # Contributor: Stunts 
 # Contributor: damir 
 
-pkgname=('python2-biopython' 'python-biopython')
+pkgname=python-biopython
 _pkgname=biopython
 pkgver=1.63
 pkgrel=3
@@ -11,52 +11,16 @@
 arch=('i686' 'x86_64')
 url="http://www.biopython.org";
 license=('custom')
-depends=('python2-numpy' 'python-numpy')
+depends=('python-numpy')
 source=(http://www.biopython.org/DIST/${_pkgname}-${pkgver}.tar.gz)
 md5sums=('09c58433150849b131d2d9bbfdf342d3')
 
-prepare() {
-  cp -r "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-py2/"
-  
-  cd "${srcdir}/${_pkgname}-${pkgver}-py2/"
-  # 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}/${_pkgname}-${pkgver}-py2/"
-  python2 setup.py build
-  
   cd "${srcdir}/${_pkgname}-${pkgver}/"
   python setup.py build
 }
 
-package_python2-biopython() {
-  depends=('python2-numpy')
-  optdepends=('python2-reportlab: for pdf graphics code'
-  '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"
-}
-
-package_python-biopython() {
-  depends=('python-numpy')
-  
+package() {
   cd "${srcdir}/${_pkgname}-${pkgver}/"
   python setup.py install --root="${pkgdir}"
   install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"



[arch-commits] Commit in python-biopython/trunk (PKGBUILD)

2016-08-29 Thread Evgeniy Alekseev
Date: Monday, August 29, 2016 @ 09:58:02
  Author: arcanis
Revision: 187903

upgpkg: python-biopython 1.68-1

Modified:
  python-biopython/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-08-29 09:49:02 UTC (rev 187902)
+++ PKGBUILD2016-08-29 09:58:02 UTC (rev 187903)
@@ -6,7 +6,7 @@
 pkgbase=python-biopython
 pkgname=('python-biopython' 'python2-biopython')
 _pkgname=biopython
-pkgver=1.67
+pkgver=1.68
 pkgrel=1
 pkgdesc="Freely available Python tools for computational molecular biology"
 arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@
 depends=('python-numpy' 'python2-numpy')
 source=(http://www.biopython.org/DIST/${_pkgname}-${pkgver}.tar.gz)
 changelog=ChangeLog
-md5sums=('542699cc310588c1997806681ee1f65e')
+md5sums=('078e915185485a5327937029b7577ddc')
 
 prepare() {
   cp -r "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-py2"


[arch-commits] Commit in python-biopython/trunk (PKGBUILD)

2016-12-25 Thread Evangelos Foutras
Date: Sunday, December 25, 2016 @ 17:28:13
  Author: foutrelis
Revision: 202094

Python 3.6 rebuild

Modified:
  python-biopython/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-25 17:26:48 UTC (rev 202093)
+++ PKGBUILD2016-12-25 17:28:13 UTC (rev 202094)
@@ -7,7 +7,7 @@
 pkgname=('python-biopython' 'python2-biopython')
 _pkgname=biopython
 pkgver=1.68
-pkgrel=1
+pkgrel=2
 pkgdesc="Freely available Python tools for computational molecular biology"
 arch=('i686' 'x86_64')
 url="http://www.biopython.org";


[arch-commits] Commit in python-biopython/trunk (PKGBUILD)

2020-09-12 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 14:08:16
  Author: felixonmars
Revision: 703912

upgpkg: python-biopython 1.78-1

Modified:
  python-biopython/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-12 14:07:49 UTC (rev 703911)
+++ PKGBUILD2020-09-12 14:08:16 UTC (rev 703912)
@@ -4,7 +4,7 @@
 
 pkgname=python-biopython
 _pkgname=biopython
-pkgver=1.77
+pkgver=1.78
 pkgrel=1
 pkgdesc="Freely available Python tools for computational molecular biology"
 arch=('x86_64')
@@ -15,7 +15,7 @@
 optdepends=('python-mysql-connector: for BioSQL module')
 source=(http://www.biopython.org/DIST/${_pkgname}-${pkgver}.tar.gz)
 changelog=ChangeLog
-sha512sums=('6f4b03d46c591e1f49dd1e76bcc4ac5c9aaa2bf748c9dd37ffc5de5a613fbeed38f89b418c01601dd99c65b13b2e294bc8d81ffafc42a9ff1b309c84f840d0d5')
+sha512sums=('5e7a2584f067b9c1636c844452fca6561dbd217309205e9215c879a56956842192712c58fe7cf4ecd2b8841aa099f7974c6a8055700e1e3ae4a10529f7165646')
 
 build() {
   cd "${srcdir}/${_pkgname}-${pkgver}"


[arch-commits] Commit in python-biopython/trunk (PKGBUILD)

2020-11-12 Thread Felix Yan via arch-commits
Date: Thursday, November 12, 2020 @ 19:17:39
  Author: felixonmars
Revision: 753407

upgpkg: python-biopython 1.78-2: Python 3.9 rebuild

Modified:
  python-biopython/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 19:17:19 UTC (rev 753406)
+++ PKGBUILD2020-11-12 19:17:39 UTC (rev 753407)
@@ -5,7 +5,7 @@
 pkgname=python-biopython
 _pkgname=biopython
 pkgver=1.78
-pkgrel=1
+pkgrel=2
 pkgdesc="Freely available Python tools for computational molecular biology"
 arch=('x86_64')
 url="http://www.biopython.org";


[arch-commits] Commit in python-biopython/trunk (PKGBUILD)

2020-05-25 Thread Felix Yan via arch-commits
Date: Monday, May 25, 2020 @ 18:18:27
  Author: felixonmars
Revision: 634722

upgpkg: python-biopython 1.77-1

Modified:
  python-biopython/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-25 18:18:17 UTC (rev 634721)
+++ PKGBUILD2020-05-25 18:18:27 UTC (rev 634722)
@@ -4,7 +4,7 @@
 
 pkgname=python-biopython
 _pkgname=biopython
-pkgver=1.76
+pkgver=1.77
 pkgrel=1
 pkgdesc="Freely available Python tools for computational molecular biology"
 arch=('x86_64')
@@ -15,7 +15,7 @@
 optdepends=('python-mysql-connector: for BioSQL module')
 source=(http://www.biopython.org/DIST/${_pkgname}-${pkgver}.tar.gz)
 changelog=ChangeLog
-sha512sums=('cd98e5cff151f8f286e9bf9763cf4b61bceb80b2696c5ac98aae6ee180f2ab2493bd1e1852a0fd5f27c71550f8a609e5163b1c1900ae32314dd76e36b6f06de0')
+sha512sums=('6f4b03d46c591e1f49dd1e76bcc4ac5c9aaa2bf748c9dd37ffc5de5a613fbeed38f89b418c01601dd99c65b13b2e294bc8d81ffafc42a9ff1b309c84f840d0d5')
 
 build() {
   cd "${srcdir}/${_pkgname}-${pkgver}"


[arch-commits] Commit in python-biopython/trunk (PKGBUILD)

2019-12-25 Thread Felix Yan via arch-commits
Date: Wednesday, December 25, 2019 @ 23:27:31
  Author: felixonmars
Revision: 541452

upgpkg: python-biopython 1.74-1

Modified:
  python-biopython/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-12-25 23:26:59 UTC (rev 541451)
+++ PKGBUILD2019-12-25 23:27:31 UTC (rev 541452)
@@ -4,8 +4,8 @@
 
 pkgname=python-biopython
 _pkgname=biopython
-pkgver=1.73
-pkgrel=2
+pkgver=1.74
+pkgrel=1
 pkgdesc="Freely available Python tools for computational molecular biology"
 arch=('x86_64')
 url="http://www.biopython.org";
@@ -15,7 +15,7 @@
 optdepends=('python-mysql-connector: for BioSQL module')
 source=(http://www.biopython.org/DIST/${_pkgname}-${pkgver}.tar.gz)
 changelog=ChangeLog
-sha512sums=('d067330ef8e25ca6881b56f4e5e89e16a816c89760473e2f32a6236ab202f805294650aa944f0b098987425bcb65727317da7a26deb4d4937f02b00123ea9a8f')
+sha512sums=('a5611b993e383d76d2fdc9be22481624180748f06f107e603a062c51b7ca7cf8603d6d97e11d64cd011ae7bd2696c8bf3659b9c625c84c479164a6171d5e8415')
 
 build() {
   cd "${srcdir}/${_pkgname}-${pkgver}"


[arch-commits] Commit in python-biopython/trunk (PKGBUILD)

2020-02-01 Thread Antonio Rojas via arch-commits
Date: Saturday, February 1, 2020 @ 09:49:34
  Author: arojas
Revision: 561004

Update to 1.76

Modified:
  python-biopython/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-01 09:40:16 UTC (rev 561003)
+++ PKGBUILD2020-02-01 09:49:34 UTC (rev 561004)
@@ -4,7 +4,7 @@
 
 pkgname=python-biopython
 _pkgname=biopython
-pkgver=1.74
+pkgver=1.76
 pkgrel=1
 pkgdesc="Freely available Python tools for computational molecular biology"
 arch=('x86_64')
@@ -15,7 +15,7 @@
 optdepends=('python-mysql-connector: for BioSQL module')
 source=(http://www.biopython.org/DIST/${_pkgname}-${pkgver}.tar.gz)
 changelog=ChangeLog
-sha512sums=('a5611b993e383d76d2fdc9be22481624180748f06f107e603a062c51b7ca7cf8603d6d97e11d64cd011ae7bd2696c8bf3659b9c625c84c479164a6171d5e8415')
+sha512sums=('cd98e5cff151f8f286e9bf9763cf4b61bceb80b2696c5ac98aae6ee180f2ab2493bd1e1852a0fd5f27c71550f8a609e5163b1c1900ae32314dd76e36b6f06de0')
 
 build() {
   cd "${srcdir}/${_pkgname}-${pkgver}"


[arch-commits] Commit in python-biopython/trunk (PKGBUILD)

2019-11-05 Thread Antonio Rojas via arch-commits
Date: Tuesday, November 5, 2019 @ 20:30:09
  Author: arojas
Revision: 524206

Drop python2

Modified:
  python-biopython/trunk/PKGBUILD

--+
 PKGBUILD |   35 +--
 1 file changed, 5 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-05 20:26:56 UTC (rev 524205)
+++ PKGBUILD2019-11-05 20:30:09 UTC (rev 524206)
@@ -2,8 +2,7 @@
 # Contributor: Stunts 
 # Contributor: damir 
 
-pkgbase=python-biopython
-pkgname=('python-biopython' 'python2-biopython')
+pkgname=python-biopython
 _pkgname=biopython
 pkgver=1.73
 pkgrel=2
@@ -11,44 +10,20 @@
 arch=('x86_64')
 url="http://www.biopython.org";
 license=('custom')
-makedepends=('python-setuptools' 'python2-setuptools')
-depends=('python-numpy' 'python2-numpy')
+makedepends=('python-setuptools')
+depends=('python-numpy')
+optdepends=('python-mysql-connector: for BioSQL module')
 source=(http://www.biopython.org/DIST/${_pkgname}-${pkgver}.tar.gz)
 changelog=ChangeLog
 
sha512sums=('d067330ef8e25ca6881b56f4e5e89e16a816c89760473e2f32a6236ab202f805294650aa944f0b098987425bcb65727317da7a26deb4d4937f02b00123ea9a8f')
 
-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')
-
+package() {
   cd "${srcdir}/${_pkgname}-${pkgver}"
   python setup.py install --root="${pkgdir}"
   install -Dm644 "LICENSE.rst" 
"${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.rst" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-


[arch-commits] Commit in python-biopython/trunk (PKGBUILD)

2019-11-04 Thread Evangelos Foutras via arch-commits
Date: Monday, November 4, 2019 @ 08:22:02
  Author: foutrelis
Revision: 523698

Python 3.8 rebuild

Modified:
  python-biopython/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-04 08:21:52 UTC (rev 523697)
+++ PKGBUILD2019-11-04 08:22:02 UTC (rev 523698)
@@ -6,7 +6,7 @@
 pkgname=('python-biopython' 'python2-biopython')
 _pkgname=biopython
 pkgver=1.73
-pkgrel=1
+pkgrel=2
 pkgdesc="Freely available Python tools for computational molecular biology"
 arch=('x86_64')
 url="http://www.biopython.org";


[arch-commits] Commit in python-biopython/trunk (PKGBUILD)

2018-06-30 Thread Evangelos Foutras via arch-commits
Date: Saturday, June 30, 2018 @ 18:31:40
  Author: foutrelis
Revision: 349009

Python 3.7 rebuild

Modified:
  python-biopython/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-30 18:31:06 UTC (rev 349008)
+++ PKGBUILD2018-06-30 18:31:40 UTC (rev 349009)
@@ -7,7 +7,7 @@
 pkgname=('python-biopython' 'python2-biopython')
 _pkgname=biopython
 pkgver=1.71
-pkgrel=1
+pkgrel=2
 pkgdesc="Freely available Python tools for computational molecular biology"
 arch=('x86_64')
 url="http://www.biopython.org";