diff --git a/maintainer/conda/MDAnalysis/build.sh b/maintainer/conda/MDAnalysis/build.sh new file mode 100644 index 00000000000..ceaf34b38d1 --- /dev/null +++ b/maintainer/conda/MDAnalysis/build.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +pip install package/ +pip install testsuite/ diff --git a/maintainer/conda/MDAnalysis/meta.yaml b/maintainer/conda/MDAnalysis/meta.yaml new file mode 100644 index 00000000000..da9a118701b --- /dev/null +++ b/maintainer/conda/MDAnalysis/meta.yaml @@ -0,0 +1,74 @@ +package: + name: mdanalysis + version: "0.14.0" + +source: + # to build from source you can speficy the path to the code directly. + # path: ../../../ + git_url: https://github.com/MDAnalysis/mdanalysis + git_branch: develop + +requirements: + build: + - python + - setuptools + - pip + - numpy + - cython + - tempdir + - six + - griddataformats + - networkx + - biopython + - nose + - tempdir + + run: + - python + - numpy + - scipy + - griddataformats + - networkx + - biopython + - matplotlib + - seaborn + - six + - netcdf4 + - nose + - tempdir + +test: + # Python imports + # turn off test for now since MDAnalysis require GridDataFormats package + # we can make a conda recipe for it too + imports: + - MDAnalysis + - MDAnalysis.analysis + + requires: + # Put any additional test requirements here. For example + - python + - numpy + - scipy + - griddataformats + - networkx + - biopython + - matplotlib + - seaborn + - six + - netcdf4 + - nose + - tempdir + + commands: + - python -c 'import MDAnalysisTests; MDAnalysisTests.run(label="full", extra_argv=[])' + +about: + home: http://www.mdanalysis.org + license: GPLv2 + license_file: package/LICENSE + summary: 'MDAnalysis is a Python library to analyze molecular dynamics trajectories.' + +# See +# http://docs.continuum.io/conda/build.html for +# more information about meta.yaml diff --git a/maintainer/conda/tempdir/bld.bat b/maintainer/conda/tempdir/bld.bat new file mode 100644 index 00000000000..87b1481d740 --- /dev/null +++ b/maintainer/conda/tempdir/bld.bat @@ -0,0 +1,8 @@ +"%PYTHON%" setup.py install +if errorlevel 1 exit 1 + +:: Add more build steps here, if they are necessary. + +:: See +:: http://docs.continuum.io/conda/build.html +:: for a list of environment variables that are set during the build process. diff --git a/maintainer/conda/tempdir/build.sh b/maintainer/conda/tempdir/build.sh new file mode 100644 index 00000000000..4d7fc032b8c --- /dev/null +++ b/maintainer/conda/tempdir/build.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +$PYTHON setup.py install + +# Add more build steps here, if they are necessary. + +# See +# http://docs.continuum.io/conda/build.html +# for a list of environment variables that are set during the build process. diff --git a/maintainer/conda/tempdir/meta.yaml b/maintainer/conda/tempdir/meta.yaml new file mode 100644 index 00000000000..cd4bd5e31d7 --- /dev/null +++ b/maintainer/conda/tempdir/meta.yaml @@ -0,0 +1,33 @@ +package: + name: tempdir + version: "0.7.1" + +source: + fn: tempdir-0.7.1.tar.gz + url: https://pypi.python.org/packages/source/t/tempdir/tempdir-0.7.1.tar.gz + md5: 4076f2d7fa9306c77f7b16a5f2e4c154 + +build: + noarch_python: True + +requirements: + build: + - python + - setuptools + + run: + - python + +test: + # Python imports + imports: + - tempdir + +about: + home: https://bitbucket.org/another_thomas/tempdir + license: MIT License + summary: 'Tempdirs are temporary directories, based on tempfile.mkdtemp' + +# See +# http://docs.continuum.io/conda/build.html for +# more information about meta.yaml