diff options
author | Justin S <3630356+codeandkey@users.noreply.github.com> | 2020-05-01 16:40:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 16:40:09 -0500 |
commit | f38820f89c913ce142e6562829c0809ad661a59b (patch) | |
tree | 1e71ffd2f80204f55e566d2dc5d392974a10bc02 /var | |
parent | 40df44e021e2908b8ae7d05d7c07159444c8b8d5 (diff) | |
download | spack-f38820f89c913ce142e6562829c0809ad661a59b.tar.gz spack-f38820f89c913ce142e6562829c0809ad661a59b.tar.bz2 spack-f38820f89c913ce142e6562829c0809ad661a59b.tar.xz spack-f38820f89c913ce142e6562829c0809ad661a59b.zip |
tbl2asn: new package at 20200301 (#16280)
* tbl2asn: new package at 20200301
* tbl2asn: remove unused url
* tbl2asn: use spack decompression, fix permissions
* tbl2asn: change version
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/tbl2asn/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tbl2asn/package.py b/var/spack/repos/builtin/packages/tbl2asn/package.py new file mode 100644 index 0000000000..8f1c0ba74c --- /dev/null +++ b/var/spack/repos/builtin/packages/tbl2asn/package.py @@ -0,0 +1,24 @@ +# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * +from os import chmod + + +class Tbl2asn(Package): + """Tbl2asn is a command-line program that automates the creation of + sequence records for submission to GenBank.""" + + homepage = "https://www.ncbi.nlm.nih.gov/genbank/tbl2asn2/" + + version('2020-03-01', sha256='7cc1119d3cfcbbffdbd4ecf33cef8bbdd44fc5625c72976bee08b1157625377e') + + def url_for_version(self, ver): + return "https://ftp.ncbi.nih.gov/toolbox/ncbi_tools/converters/by_program/tbl2asn/linux.tbl2asn.gz" + + def install(self, spec, prefix): + mkdirp(prefix.bin) + install('../linux.tbl2asn', prefix.bin.tbl2asn) + chmod(prefix.bin.tbl2asn, 0o775) |