blat: add v37 (#30166)

This commit is contained in:
snehring 2022-04-27 05:26:57 -05:00 committed by GitHub
parent 48ff4c7679
commit da3d315cba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,11 +11,24 @@ class Blat(Package):
alignment algorithm.""" alignment algorithm."""
homepage = "https://genome.ucsc.edu/FAQ/FAQblat.html" homepage = "https://genome.ucsc.edu/FAQ/FAQblat.html"
url = "https://users.soe.ucsc.edu/~kent/src/blatSrc35.zip" url = "https://genome-test.gi.ucsc.edu/~kent/src/blatSrc35.zip"
maintainers = ['snehring']
version('37', sha256='88ee2b272d42ab77687c61d200b11f1d58443951069feb7e10226a2509f84cf2')
version('35', sha256='06d9bcf114ec4a4b21fef0540a0532556b6602322a5a2b33f159dc939ae53620') version('35', sha256='06d9bcf114ec4a4b21fef0540a0532556b6602322a5a2b33f159dc939ae53620')
depends_on('libpng') depends_on('libpng')
depends_on('libuuid', when='@37:')
depends_on('mysql-client', when='@37:')
@when('@37')
def patch(self):
filter_file(r',src\/hg\/', ',NOMATCHME', 'inc/userApp.mk')
def flag_handler(self, name, flags):
if self.spec.satisfies('@35') and name.lower() == 'cflags':
flags.append('-fcommon')
return (flags, None, None)
def setup_build_environment(self, env): def setup_build_environment(self, env):
env.set('MACHTYPE', 'x86_64') env.set('MACHTYPE', 'x86_64')