py-datalad-metalad: add new package (#26225)
Added py-nose for import and a simple installtest from appveyor.yml Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
This commit is contained in:
parent
7ca657aef6
commit
3b323d6c90
1 changed files with 25 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
# Copyright 2013-2021 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 *
|
||||
|
||||
|
||||
class PyDataladMetalad(PythonPackage):
|
||||
"""DataLad extension for semantic metadata handling"""
|
||||
|
||||
homepage = "https://github.com/datalad/datalad-metalad/"
|
||||
pypi = "datalad_metalad/datalad_metalad-0.2.1.tar.gz"
|
||||
|
||||
version('0.2.1', sha256='70fe423136a168f7630b3e0ff1951e776d61e7d5f36670bddf24299ac0870285')
|
||||
|
||||
depends_on('py-setuptools', type=('build'))
|
||||
depends_on('py-datalad@0.12.3:', type=('build', 'run'))
|
||||
depends_on('git-annex', type=('run'))
|
||||
depends_on('py-nose', type=('run', 'test'))
|
||||
|
||||
install_time_test_callbacks = ['test', 'installtest']
|
||||
|
||||
def installtest(self):
|
||||
which('datalad')('wtf')
|
Loading…
Reference in a new issue