diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-12 07:06:31 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 07:06:31 +0000 |
commit | 535fc525aa46ece9ce6518456693f94e64ff8d21 (patch) | |
tree | 792ad5f50ffc63058641bf9708a1ea277f89a3d5 | |
parent | 2bf78d8c28fcbcb3842df7ab1edb7358dfa500ea (diff) |
automatic import of python-otter-graderopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-otter-grader.spec | 180 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 182 insertions, 0 deletions
@@ -0,0 +1 @@ +/otter-grader-4.3.2.tar.gz diff --git a/python-otter-grader.spec b/python-otter-grader.spec new file mode 100644 index 0000000..6cc7ba9 --- /dev/null +++ b/python-otter-grader.spec @@ -0,0 +1,180 @@ +%global _empty_manifest_terminate_build 0 +Name: python-otter-grader +Version: 4.3.2 +Release: 1 +Summary: Python and Jupyter Notebook autograder +License: BSD-3-Clause +URL: https://github.com/ucbds-infra/otter-grader +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bc/21/32f423b64a8de4a5d5faa1ddf5ae4969f98e0fe72a007fb786f7dd1fa824/otter-grader-4.3.2.tar.gz +BuildArch: noarch + +Requires: python3-dill +Requires: python3-jinja2 +Requires: python3-nbformat +Requires: python3-pandas +Requires: python3-PyYAML +Requires: python3-on-whales +Requires: python3-requests +Requires: python3-wrapt +Requires: python3-jupytext +Requires: python3-click +Requires: python3-fica +Requires: python3-ipython +Requires: python3-google-api-python-client +Requires: python3-google-auth-oauthlib +Requires: python3-six + +%description +# Otter-Grader + +[](https://pypi.org/project/otter-grader/) +[](https://zenodo.org/badge/latestdoi/208363438) +[](https://github.com/ucbds-infra/otter-grader/actions/workflows/run-tests.yml) +[](https://codecov.io/gh/ucbds-infra/otter-grader) +[](https://otter-grader.readthedocs.io/en/latest/?badge=latest) +[](https://join.slack.com/t/otter-grader/shared_invite/enQtOTM5MTQ0MzkwMTk0LTBiNWIzZTYxNDA2NDZmM2JkMzcwZjA4YWViNDM4ZTgyNDVhNDgwOTQ0NjNlZjcwNmY5YzJiZjZhZGNhNzc5MjA) + +Otter Grader is a light-weight, modular open-source autograder developed by the Data Science +Education Program at UC Berkeley. It is designed to work with classes at any scale by abstracting +away the autograding internals in a way that is compatible with any instructor's assignment +distribution and collection pipeline. Otter supports local grading through parallel Docker +containers, grading using the autograder platforms of 3rd party learning management systems (LMSs), +the deployment of an Otter-managed grading virtual machine, and a client package that allows +students to run public checks on their own machines. Otter is designed to grade Python scripts and +Jupyter Notebooks, and is compatible with a few different LMSs, including Canvas and Gradescope. + +## Documentation + +The documentation for Otter can be found [here](https://otter-grader.rtfd.io). + +## Contributing + +See [`CONTRIBUTING.md`](CONTRIBUTING.md). + +## Changelog + +See [`CHANGELOG.md`](CHANGELOG.md). + + + + +%package -n python3-otter-grader +Summary: Python and Jupyter Notebook autograder +Provides: python-otter-grader +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-otter-grader +# Otter-Grader + +[](https://pypi.org/project/otter-grader/) +[](https://zenodo.org/badge/latestdoi/208363438) +[](https://github.com/ucbds-infra/otter-grader/actions/workflows/run-tests.yml) +[](https://codecov.io/gh/ucbds-infra/otter-grader) +[](https://otter-grader.readthedocs.io/en/latest/?badge=latest) +[](https://join.slack.com/t/otter-grader/shared_invite/enQtOTM5MTQ0MzkwMTk0LTBiNWIzZTYxNDA2NDZmM2JkMzcwZjA4YWViNDM4ZTgyNDVhNDgwOTQ0NjNlZjcwNmY5YzJiZjZhZGNhNzc5MjA) + +Otter Grader is a light-weight, modular open-source autograder developed by the Data Science +Education Program at UC Berkeley. It is designed to work with classes at any scale by abstracting +away the autograding internals in a way that is compatible with any instructor's assignment +distribution and collection pipeline. Otter supports local grading through parallel Docker +containers, grading using the autograder platforms of 3rd party learning management systems (LMSs), +the deployment of an Otter-managed grading virtual machine, and a client package that allows +students to run public checks on their own machines. Otter is designed to grade Python scripts and +Jupyter Notebooks, and is compatible with a few different LMSs, including Canvas and Gradescope. + +## Documentation + +The documentation for Otter can be found [here](https://otter-grader.rtfd.io). + +## Contributing + +See [`CONTRIBUTING.md`](CONTRIBUTING.md). + +## Changelog + +See [`CHANGELOG.md`](CHANGELOG.md). + + + + +%package help +Summary: Development documents and examples for otter-grader +Provides: python3-otter-grader-doc +%description help +# Otter-Grader + +[](https://pypi.org/project/otter-grader/) +[](https://zenodo.org/badge/latestdoi/208363438) +[](https://github.com/ucbds-infra/otter-grader/actions/workflows/run-tests.yml) +[](https://codecov.io/gh/ucbds-infra/otter-grader) +[](https://otter-grader.readthedocs.io/en/latest/?badge=latest) +[](https://join.slack.com/t/otter-grader/shared_invite/enQtOTM5MTQ0MzkwMTk0LTBiNWIzZTYxNDA2NDZmM2JkMzcwZjA4YWViNDM4ZTgyNDVhNDgwOTQ0NjNlZjcwNmY5YzJiZjZhZGNhNzc5MjA) + +Otter Grader is a light-weight, modular open-source autograder developed by the Data Science +Education Program at UC Berkeley. It is designed to work with classes at any scale by abstracting +away the autograding internals in a way that is compatible with any instructor's assignment +distribution and collection pipeline. Otter supports local grading through parallel Docker +containers, grading using the autograder platforms of 3rd party learning management systems (LMSs), +the deployment of an Otter-managed grading virtual machine, and a client package that allows +students to run public checks on their own machines. Otter is designed to grade Python scripts and +Jupyter Notebooks, and is compatible with a few different LMSs, including Canvas and Gradescope. + +## Documentation + +The documentation for Otter can be found [here](https://otter-grader.rtfd.io). + +## Contributing + +See [`CONTRIBUTING.md`](CONTRIBUTING.md). + +## Changelog + +See [`CHANGELOG.md`](CHANGELOG.md). + + + + +%prep +%autosetup -n otter-grader-4.3.2 + +%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-otter-grader -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 4.3.2-1 +- Package Spec generated @@ -0,0 +1 @@ +d55e5e3273842305cf921fdb7c89c9aa otter-grader-4.3.2.tar.gz |