diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-10 05:24:20 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 05:24:20 +0000 |
| commit | 9cf8a7450a842cb520de6d4939d75c14b73dfa3a (patch) | |
| tree | c43de1db22cec3173efaa9d7f0d14bbadec453a3 | |
| parent | 2e734df4db7576d96f2c8901ee69d2b03066f30d (diff) | |
automatic import of python-expfactoryopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-expfactory.spec | 225 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 227 insertions, 0 deletions
@@ -0,0 +1 @@ +/expfactory-3.19.tar.gz diff --git a/python-expfactory.spec b/python-expfactory.spec new file mode 100644 index 0000000..efbfab0 --- /dev/null +++ b/python-expfactory.spec @@ -0,0 +1,225 @@ +%global _empty_manifest_terminate_build 0 +Name: python-expfactory +Version: 3.19 +Release: 1 +Summary: software to generate a reproducible container battery of experiments. +License: LICENSE +URL: http://www.github.com/expfactory/expfactory +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/dd/81/6c210868bcf9b9bf388fbc431ba4e5372d0f0a995bf1a0a3245400e58eee/expfactory-3.19.tar.gz +BuildArch: noarch + + +%description +# The Experiment Factory + +[](https://doi.org/10.21105/joss.00521) +[](https://zenodo.org/badge/latestdoi/108672186) +[](https://gitter.im/expfactory/lobby) + + + +See our [documentation](https://expfactory.github.io) for getting started. If you are new to containers, read our [background](https://expfactory.github.io/generate#background) or [paper](paper) first. If you want a more guided entry, see the [detailed start](https://expfactory.github.io/generate#detailed-start) + +The Experiment Factory is software to create a reproducible container that you can easily customize to deploy a set of web-based experiments. + +## Citation +If the Experiment Factory is useful to you, please cite [the paper](https://doi.org/10.21105/joss.00521) to support the software and open source development. + +``` +Sochat, (2018). The Experiment Factory: Reproducible Experiment Containers. Journal of Open Source Software, 3(22), 521, https://doi.org/10.21105/joss.00521 +``` + +## Contributing +We have many ways to contribute, and will briefly provide resources here to get you started. + +### How to Contribute +If you are a developer interested in working on the Experiment Factory software you should read out [contributing guidelines](.github/CONTRIBUTING.md) for details. For contributing containers and experiments, see our [user documentation](https://expfactory.github.io/contribute). If you have any questions, please don't hesitate to [ask a question](https://www.github.com/expfactory/expfactory/issues). You'll need to lint your code using black: + +```bash +$ pip install black +$ black expfactory --exclude template.py +``` + +### Code of Conduct +It's important to treat one another with respect, and maintain a fun and respectful environment for the open source community. Toward this aim, we ask that you review our [code of conduct](.github/CODE_OF_CONDUCT.md) + +## Background +It's predecessor at [Expfactory.org](https://expfactory.org) was never able to open up to the public, and this went against the original goal of the software. Further, the badly needed functionality to serve a local battery was poorly met with [expfactory-python](https://www.github.com/expfactory-python) as time progressed and dependencies changes. + +This version is agnostic to the underlying driver of the experiments, and provides reproducible, instantly deployable "container" experiments. What does that mean? + + - You obtain (or build) one container, a battery of experiments. + - You (optionally) customize it + - custom variables (e.g., a study identifier) and configurations go into the build recipe + - you can choose to use your own database (default output is flat files) + - other options are available at runtime + - The container can be easily shared. + - You run the container, optionally specifying a subset and ordering, and collect your results + +If you build on [Docker Hub](https://hub.docker.com/) anyone else can then pull and use your exact container to collect their own results. It is exact down to the file hash. Note +that bases for expfactory were initially provided on [Docker Hub](https://hub.docker.com/r/vanessa/expfactory-builder/tags) and have moved to [Quay.io](https://quay.io/repository/vanessa/expfactory-builder?tab=tags). Dockerfiles in the repository that use the expfactory-builder are +also updated. If you need a previous version, please see the tags on the original Docker Hub. + +## Experiment Library +The experiments themselves are now maintained under [expfactory-experiments](https://www.github.com/expfactory-experiments), official submissions to be found by expfactory can be added to the [library](https://www.github.com/expfactory/library) (under development) to be tested that they meet minimum requirements. + +%package -n python3-expfactory +Summary: software to generate a reproducible container battery of experiments. +Provides: python-expfactory +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-expfactory +# The Experiment Factory + +[](https://doi.org/10.21105/joss.00521) +[](https://zenodo.org/badge/latestdoi/108672186) +[](https://gitter.im/expfactory/lobby) + + + +See our [documentation](https://expfactory.github.io) for getting started. If you are new to containers, read our [background](https://expfactory.github.io/generate#background) or [paper](paper) first. If you want a more guided entry, see the [detailed start](https://expfactory.github.io/generate#detailed-start) + +The Experiment Factory is software to create a reproducible container that you can easily customize to deploy a set of web-based experiments. + +## Citation +If the Experiment Factory is useful to you, please cite [the paper](https://doi.org/10.21105/joss.00521) to support the software and open source development. + +``` +Sochat, (2018). The Experiment Factory: Reproducible Experiment Containers. Journal of Open Source Software, 3(22), 521, https://doi.org/10.21105/joss.00521 +``` + +## Contributing +We have many ways to contribute, and will briefly provide resources here to get you started. + +### How to Contribute +If you are a developer interested in working on the Experiment Factory software you should read out [contributing guidelines](.github/CONTRIBUTING.md) for details. For contributing containers and experiments, see our [user documentation](https://expfactory.github.io/contribute). If you have any questions, please don't hesitate to [ask a question](https://www.github.com/expfactory/expfactory/issues). You'll need to lint your code using black: + +```bash +$ pip install black +$ black expfactory --exclude template.py +``` + +### Code of Conduct +It's important to treat one another with respect, and maintain a fun and respectful environment for the open source community. Toward this aim, we ask that you review our [code of conduct](.github/CODE_OF_CONDUCT.md) + +## Background +It's predecessor at [Expfactory.org](https://expfactory.org) was never able to open up to the public, and this went against the original goal of the software. Further, the badly needed functionality to serve a local battery was poorly met with [expfactory-python](https://www.github.com/expfactory-python) as time progressed and dependencies changes. + +This version is agnostic to the underlying driver of the experiments, and provides reproducible, instantly deployable "container" experiments. What does that mean? + + - You obtain (or build) one container, a battery of experiments. + - You (optionally) customize it + - custom variables (e.g., a study identifier) and configurations go into the build recipe + - you can choose to use your own database (default output is flat files) + - other options are available at runtime + - The container can be easily shared. + - You run the container, optionally specifying a subset and ordering, and collect your results + +If you build on [Docker Hub](https://hub.docker.com/) anyone else can then pull and use your exact container to collect their own results. It is exact down to the file hash. Note +that bases for expfactory were initially provided on [Docker Hub](https://hub.docker.com/r/vanessa/expfactory-builder/tags) and have moved to [Quay.io](https://quay.io/repository/vanessa/expfactory-builder?tab=tags). Dockerfiles in the repository that use the expfactory-builder are +also updated. If you need a previous version, please see the tags on the original Docker Hub. + +## Experiment Library +The experiments themselves are now maintained under [expfactory-experiments](https://www.github.com/expfactory-experiments), official submissions to be found by expfactory can be added to the [library](https://www.github.com/expfactory/library) (under development) to be tested that they meet minimum requirements. + +%package help +Summary: Development documents and examples for expfactory +Provides: python3-expfactory-doc +%description help +# The Experiment Factory + +[](https://doi.org/10.21105/joss.00521) +[](https://zenodo.org/badge/latestdoi/108672186) +[](https://gitter.im/expfactory/lobby) + + + +See our [documentation](https://expfactory.github.io) for getting started. If you are new to containers, read our [background](https://expfactory.github.io/generate#background) or [paper](paper) first. If you want a more guided entry, see the [detailed start](https://expfactory.github.io/generate#detailed-start) + +The Experiment Factory is software to create a reproducible container that you can easily customize to deploy a set of web-based experiments. + +## Citation +If the Experiment Factory is useful to you, please cite [the paper](https://doi.org/10.21105/joss.00521) to support the software and open source development. + +``` +Sochat, (2018). The Experiment Factory: Reproducible Experiment Containers. Journal of Open Source Software, 3(22), 521, https://doi.org/10.21105/joss.00521 +``` + +## Contributing +We have many ways to contribute, and will briefly provide resources here to get you started. + +### How to Contribute +If you are a developer interested in working on the Experiment Factory software you should read out [contributing guidelines](.github/CONTRIBUTING.md) for details. For contributing containers and experiments, see our [user documentation](https://expfactory.github.io/contribute). If you have any questions, please don't hesitate to [ask a question](https://www.github.com/expfactory/expfactory/issues). You'll need to lint your code using black: + +```bash +$ pip install black +$ black expfactory --exclude template.py +``` + +### Code of Conduct +It's important to treat one another with respect, and maintain a fun and respectful environment for the open source community. Toward this aim, we ask that you review our [code of conduct](.github/CODE_OF_CONDUCT.md) + +## Background +It's predecessor at [Expfactory.org](https://expfactory.org) was never able to open up to the public, and this went against the original goal of the software. Further, the badly needed functionality to serve a local battery was poorly met with [expfactory-python](https://www.github.com/expfactory-python) as time progressed and dependencies changes. + +This version is agnostic to the underlying driver of the experiments, and provides reproducible, instantly deployable "container" experiments. What does that mean? + + - You obtain (or build) one container, a battery of experiments. + - You (optionally) customize it + - custom variables (e.g., a study identifier) and configurations go into the build recipe + - you can choose to use your own database (default output is flat files) + - other options are available at runtime + - The container can be easily shared. + - You run the container, optionally specifying a subset and ordering, and collect your results + +If you build on [Docker Hub](https://hub.docker.com/) anyone else can then pull and use your exact container to collect their own results. It is exact down to the file hash. Note +that bases for expfactory were initially provided on [Docker Hub](https://hub.docker.com/r/vanessa/expfactory-builder/tags) and have moved to [Quay.io](https://quay.io/repository/vanessa/expfactory-builder?tab=tags). Dockerfiles in the repository that use the expfactory-builder are +also updated. If you need a previous version, please see the tags on the original Docker Hub. + +## Experiment Library +The experiments themselves are now maintained under [expfactory-experiments](https://www.github.com/expfactory-experiments), official submissions to be found by expfactory can be added to the [library](https://www.github.com/expfactory/library) (under development) to be tested that they meet minimum requirements. + +%prep +%autosetup -n expfactory-3.19 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-expfactory -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.19-1 +- Package Spec generated @@ -0,0 +1 @@ +30776925bc596f19169eb34a9e8ddbc6 expfactory-3.19.tar.gz |
