created py-tomopy package and fixed its dependencies (#4576)

* added py-tomopy package

* fixed dependencies and added import_modules

* edited deps for tomopy with import_modules and added py-olefile pkg

* changed module name

* changed dependency to python because it will not build with setuptools

* fixed dependency list for py-tomopy and py-dxchange

* added py-nose dependency

* fixed tests

* commented out dependency py-counter

* fixed dependency py-pybtex-docutils

* removed nose as a dependency

* fixed flake8 errors

* fixed import_modules

* fixed import_modules indent

* fixed various issues in tomopy and deps files
This commit is contained in:
Stas Sergienko
2017-06-22 12:51:51 -05:00
committed by Adam J. Stewart
parent 3c8e65f3d8
commit 6aa3d51939
14 changed files with 140 additions and 15 deletions

View File

@@ -33,9 +33,23 @@ class PyPybtex(PythonPackage):
homepage = "https://pybtex.org"
url = "https://pypi.io/packages/source/P/Pybtex/pybtex-0.21.tar.gz"
import_modules = [
'custom_fixers', 'pybtex', 'pybtex.style', 'pybtex.tests',
'pybtex.database', 'pybtex.backends', 'pybtex.bibtex',
'pybtex.charwidths', 'pybtex.markup', 'pybtex.plugin',
'pybtex.style.sorting', 'pybtex.style.names',
'pybtex.style.labels', 'pybtex.style.formatting',
'pybtex.tests.database_test', 'pybtex.tests.bst_parser_test',
'pybtex.tests.data', 'pybtex.database.output',
'pybtex.database.input', 'pybtex.database.format',
'pybtex.database.convert'
]
version('0.21', 'e7b320b2bcb34c664c4385533a2ea831')
depends_on('py-setuptools', type='build')
depends_on('py-latexcodec@1.0.4:', type=('build', 'run'))
depends_on('py-pyyaml@3.01:', type=('build', 'run'))
depends_on('py-counter@1:', when='^python@:2.6', type=('build', 'run'))
# This dependency breaks concretization
# See https://github.com/LLNL/spack/issues/2793
# depends_on('py-counter@1:', when='^python@:2.6', type=('build', 'run'))