From dfe0752807783099d9bb7c5ae7d21a9b1ed155fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=A5=E7=BE=8E=E7=8C=AB?= Date: Sat, 5 May 2018 11:11:26 +0800 Subject: [PATCH] Bump pysam to 0.14.1. (#7988) * py-pysam requires curl. * py-pysam conflicts with htslib@1.7. * Bump py-pysam versions. * Add more dependencies. --- var/spack/repos/builtin/packages/py-pysam/package.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/py-pysam/package.py b/var/spack/repos/builtin/packages/py-pysam/package.py index 8b98f5a4e8..945855947b 100644 --- a/var/spack/repos/builtin/packages/py-pysam/package.py +++ b/var/spack/repos/builtin/packages/py-pysam/package.py @@ -30,12 +30,18 @@ class PyPysam(PythonPackage): sets.""" homepage = "https://pypi.python.org/pypi/pysam" - url = "https://pypi.io/packages/source/p/pysam/pysam-0.11.2.2.tar.gz" + url = "https://github.com/pysam-developers/pysam/archive/v0.14.1.tar.gz" + version('0.14.1', 'ad88fa5bbcc0fdf4a936734691d9c9d1') version('0.13', 'a9b502dd1a7e6403e35e6972211688a2') version('0.11.2.2', '56230cd5f55b503845915b76c22d620a') version('0.7.7', 'eaf9f37cbccc5e2708754d045909c1a0') depends_on('py-setuptools', type='build') depends_on('py-cython@0.21:', type='build') + depends_on('curl') depends_on('bcftools') + depends_on('htslib') + depends_on('samtools') + + depends_on('htslib@:1.6', when='@:0.13')