summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorclintval2018-01-21 18:26:27 -0800
committerclintval2018-01-21 18:26:27 -0800
commit9fdb7cb16c3560b9470b3cc32781458503586dcf (patch)
treed4c310bade5e1d6c4caac74265210471b947553b /PKGBUILD
parent3d114dfa8d448cf3b221cea9534a417023baf9ad (diff)
downloadaur-9fdb7cb16c3560b9470b3cc32781458503586dcf.tar.gz
python-pybedtools-git provides/conflicts per install
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 308744652f7..6c33bf05e91 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,13 +4,11 @@ _name=pybedtools
pkgbase='python-pybedtools-git'
pkgname=('python-pybedtools-git' 'python2-pybedtools-git')
pkgver=0.7.10.r25.g9ab3ff6
-pkgrel=1
+pkgrel=2
pkgdesc="Python wrapper for the bioinformatics genomic arithmetic tool bedtools"
arch=('any')
url="https://pypi.python.org/pypi/pybedtools"
license=('GPL2')
-provides=('python-pybedtools')
-conflicts=('python-pybedtools')
makedepends=(
'python' 'python-setuptools' 'cython'
'python2' 'python2-setuptools' 'cython2')
@@ -47,6 +45,8 @@ package_python2-pybedtools-git() {
'htslib: for working with SAM/BAM/CRAM files'
'python2-matplotlib: for plotting genomic intervals'
'ucsc-kent-genome-tools: for bedgraph to bigwig conversions')
+ provides=('python2-pyvcf')
+ conflicts=('python2-pyvcf')
cd "${_name}"-"${pkgver}"-py2
python2 setup.py install --root="${pkgdir}"/ --optimize=1 --skip-build
@@ -72,6 +72,8 @@ package_python-pybedtools-git() {
'htslib: for working with SAM/BAM/CRAM files'
'python-matplotlib: for plotting genomic intervals'
'ucsc-kent-genome-tools: for bedgraph to bigwig conversions')
+ provides=('python-pyvcf')
+ conflicts=('python-pyvcf')
cd "${_name}"-"${pkgver}"
python setup.py install --root="${pkgdir}"/ --optimize=1 --skip-build