summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonny Lorenz2016-04-09 13:50:36 +0200
committerRonny Lorenz2016-04-09 13:50:36 +0200
commit853ae1eb8c6cd4f5a2adcaeac24845d31eddab21 (patch)
tree4685f8a091ae1088d9f1ecf5b1c97da8db7bec11
parent3aedcbcf25aeb98f2082d45b264921e2e0c04843 (diff)
downloadaur-853ae1eb8c6cd4f5a2adcaeac24845d31eddab21.tar.gz
Include Python3 interface
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD14
2 files changed, 18 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c86a34a3dc2..3f673625ad7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sat Apr 9 11:48:59 UTC 2016
+# Sat Apr 9 11:50:13 UTC 2016
pkgbase = viennarna
pkgdesc = RNA Secondary Structure Prediction and Comparison
pkgver = 2.2.5
- pkgrel = 1
+ pkgrel = 2
url = http://www.tbi.univie.ac.at/RNA
arch = x86_64
arch = i686
@@ -11,6 +11,7 @@ pkgbase = viennarna
license = Custom
makedepends = perl
makedepends = python2
+ makedepends = python
makedepends = libtool
makedepends = check
options = staticlibs
@@ -27,6 +28,10 @@ pkgname = viennarna
provides = viennarna2=2.2.5
provides = libRNA=2.2.5
+pkgname = python-rna
+ depends = python
+ depends = viennarna=2.2.5
+
pkgname = python2-rna
depends = python2
depends = viennarna=2.2.5
diff --git a/PKGBUILD b/PKGBUILD
index db01472a871..80db9e2e95f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
# Maintainer: Ronny Lorenz <ronny at tbi dot univie dot ac dot at>
pkgbase=viennarna
-pkgname=('viennarna' 'python2-rna' 'perl-rna')
+pkgname=('viennarna' 'python-rna' 'python2-rna' 'perl-rna')
pkgver=2.2.5
-pkgrel=1
+pkgrel=2
pkgdesc="RNA Secondary Structure Prediction and Comparison"
arch=('x86_64' 'i686')
license=('Custom')
@@ -11,6 +11,7 @@ url="http://www.tbi.univie.ac.at/RNA"
groups=('viennarna-package')
makedepends=( 'perl'
'python2'
+ 'python'
'libtool'
'check')
source=(http://www.tbi.univie.ac.at/RNA/packages/source/ViennaRNA-${pkgver}.tar.gz)
@@ -20,7 +21,7 @@ sha256sums=('12654f0ba5e516d5eeb018dc76485b1c5a3ba010c61f40f1221aad5c3815cc29')
build() {
cd "${srcdir}/ViennaRNA-${pkgver}"
- ./configure --with-cluster --prefix=/usr INSTALLDIRS=vendor
+ ./configure --with-cluster --with-python3 --prefix=/usr INSTALLDIRS=vendor
make
}
@@ -87,6 +88,13 @@ package_python2-rna() {
make DESTDIR="${pkgdir}" install
}
+package_python-rna() {
+ depends=('python' viennarna="${pkgver}")
+ cd "${srcdir}/ViennaRNA-${pkgver}"
+ cd interfaces/Python3
+ make DESTDIR="${pkgdir}" install
+}
+
package_perl-rna() {
depends=('perl' viennarna="${pkgver}")
cd "${srcdir}/ViennaRNA-${pkgver}"