summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfncnt2020-09-23 12:13:11 +0200
committerfncnt2020-09-23 12:13:11 +0200
commit6979e9789aa4f7b90a667a6219e88241ab9f20a1 (patch)
tree140c25701f796c2acb15faf7697ed4938f8e0bc2
parente08c4fc74e59255851430a1492413e7cfc373d75 (diff)
downloadaur-6979e9789aa4f7b90a667a6219e88241ab9f20a1.tar.gz
Make python-rna dependency optional. Only the included rnaredprint implementation requires it, not the library itself.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fd06f68b1bd4..c6e450b98fd0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -11,7 +11,7 @@ pkgbase = infrared-git
makedepends = doxygen
depends = htd
depends = boost-libs
- depends = python-rna
+ optdepends = python-rna: required by redprint.py
provides = libinfrared.so
provides = libhtdwrap.so
provides = redprint.py
diff --git a/PKGBUILD b/PKGBUILD
index 24059bf72cff..833b596ae48e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,11 +10,11 @@ url="https://github.com/s-will/Infrared/"
license=('GPL3')
groups=('viennarna-package')
depends=('htd'
- 'boost-libs'
- 'python-rna')
+ 'boost-libs')
makedepends=('git'
'boost'
'doxygen')
+optdepends=('python-rna: required by redprint.py')
provides=('libinfrared.so' 'libhtdwrap.so' 'redprint.py')
conflicts=('infrared')
source=("Infrared::git+${url}#branch=master")