summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 04:59:12 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 04:59:12 +0000
commitfb3ee9ebff2e56311edbc2cc5b5ddbcfac5dd674 (patch)
tree2c37d168ba703feb3fd723bab84edaa6aa753870
parent557ec9962189b0449f976a44af48d949cbe003b7 (diff)
automatic import of python-plom
-rw-r--r--.gitignore1
-rw-r--r--python-plom.spec243
-rw-r--r--sources1
3 files changed, 245 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..bf031a4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/plom-0.13.3.tar.gz
diff --git a/python-plom.spec b/python-plom.spec
new file mode 100644
index 0000000..9444603
--- /dev/null
+++ b/python-plom.spec
@@ -0,0 +1,243 @@
+%global _empty_manifest_terminate_build 0
+Name: python-plom
+Version: 0.13.3
+Release: 1
+Summary: Plom is Paperless Open Marking
+License: AGPLv3+
+URL: https://plomgrading.org
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/09/3d/43a9f5bb7c7e5a506332f961ba7a13a8996eaff6c99ba6e492123afbde15/plom-0.13.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-scikit-learn
+Requires: python3-passlib
+Requires: python3-numpy
+Requires: python3-opencv-python-headless
+Requires: python3-pymupdf
+Requires: python3-exif
+Requires: python3-stdiomask
+Requires: python3-tqdm
+Requires: python3-pytest-qt
+Requires: python3-requests
+Requires: python3-pandas
+Requires: python3-PyQt5
+Requires: python3-imutils
+Requires: python3-canvasapi
+Requires: python3-zipfly
+Requires: python3-segno
+Requires: python3-zxing-cpp
+Requires: python3-Pillow
+Requires: python3-requests-toolbelt
+Requires: python3-fonttools
+Requires: python3-packaging
+Requires: python3-appdirs
+Requires: python3-PyMySQL
+Requires: python3-aiohttp
+Requires: python3-arrow
+Requires: python3-lapsolver
+Requires: python3-tomlkit
+Requires: python3-peewee
+Requires: python3-tomli
+Requires: python3-importlib-resources
+
+%description
+# Paperless Open Marking - [Plom](https://plomgrading.org)
+
+ * Plom is a system for large-scale marking by humans of handwritten work.
+ * Designed for giving consistent, meaningful feedback to students.
+ * [Free/Open Source Software](https://www.gnu.org/licenses/agpl-3.0.en.html)
+ written in Python using [Qt](https://pypi.org/project/PyQt5) and other
+ components.
+
+<img src="https://plomgrading.org/images/plomclient.png" width="800px" alt="The plom annotation client in action">
+
+
+## Plom's benefits
+
+ * Respects privacy of student data -- all data stays on your server,
+ and markers do not see student name or ID when working.
+ * Easy multi-versioned tests -- designed to handle crowded classrooms
+ and multi-section courses over multiple days.
+ * Simplify logistics and minimizes paper-handling.
+ * Free -- Plom is [Libre](https://en.wikipedia.org/wiki/Gratis_versus_libre#Libre)
+ and [Gratis](https://en.wikipedia.org/wiki/Gratis_versus_libre#Gratis).
+ No software to buy, and no subscriptions to pay.
+
+
+## Want to know more?
+
+Take a look at the [plomgrading.org](https://plomgrading.org).
+
+
+## Translations
+
+If you'd like to help translate Plom into another language,
+please help at https://gitlab.com/plom/plom/-/issues/1725
+
+The metainfo files (used for example on
+[Flathub](https://flathub.org/apps/details/org.plomgrading.PlomClient))
+can be translated by editing
+[here](https://gitlab.com/plom/plom/-/blob/main/org.plomgrading.PlomClient.metainfo.xml)
+and
+[here](https://gitlab.com/plom/plom/-/blob/main/org.plomgrading.PlomClient.desktop).
+
+
+
+## Getting in touch
+
+ * Our dev channel is [gitter.im/plomgrading/dev](https://gitter.im/plomgrading/dev).
+ * Our [main development repo is on Gitlab.com](https://gitlab.com/plom/plom)
+ and [mirrored on GitHub](https://github.com/plomgrading/plom).
+
+
+%package -n python3-plom
+Summary: Plom is Paperless Open Marking
+Provides: python-plom
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-plom
+# Paperless Open Marking - [Plom](https://plomgrading.org)
+
+ * Plom is a system for large-scale marking by humans of handwritten work.
+ * Designed for giving consistent, meaningful feedback to students.
+ * [Free/Open Source Software](https://www.gnu.org/licenses/agpl-3.0.en.html)
+ written in Python using [Qt](https://pypi.org/project/PyQt5) and other
+ components.
+
+<img src="https://plomgrading.org/images/plomclient.png" width="800px" alt="The plom annotation client in action">
+
+
+## Plom's benefits
+
+ * Respects privacy of student data -- all data stays on your server,
+ and markers do not see student name or ID when working.
+ * Easy multi-versioned tests -- designed to handle crowded classrooms
+ and multi-section courses over multiple days.
+ * Simplify logistics and minimizes paper-handling.
+ * Free -- Plom is [Libre](https://en.wikipedia.org/wiki/Gratis_versus_libre#Libre)
+ and [Gratis](https://en.wikipedia.org/wiki/Gratis_versus_libre#Gratis).
+ No software to buy, and no subscriptions to pay.
+
+
+## Want to know more?
+
+Take a look at the [plomgrading.org](https://plomgrading.org).
+
+
+## Translations
+
+If you'd like to help translate Plom into another language,
+please help at https://gitlab.com/plom/plom/-/issues/1725
+
+The metainfo files (used for example on
+[Flathub](https://flathub.org/apps/details/org.plomgrading.PlomClient))
+can be translated by editing
+[here](https://gitlab.com/plom/plom/-/blob/main/org.plomgrading.PlomClient.metainfo.xml)
+and
+[here](https://gitlab.com/plom/plom/-/blob/main/org.plomgrading.PlomClient.desktop).
+
+
+
+## Getting in touch
+
+ * Our dev channel is [gitter.im/plomgrading/dev](https://gitter.im/plomgrading/dev).
+ * Our [main development repo is on Gitlab.com](https://gitlab.com/plom/plom)
+ and [mirrored on GitHub](https://github.com/plomgrading/plom).
+
+
+%package help
+Summary: Development documents and examples for plom
+Provides: python3-plom-doc
+%description help
+# Paperless Open Marking - [Plom](https://plomgrading.org)
+
+ * Plom is a system for large-scale marking by humans of handwritten work.
+ * Designed for giving consistent, meaningful feedback to students.
+ * [Free/Open Source Software](https://www.gnu.org/licenses/agpl-3.0.en.html)
+ written in Python using [Qt](https://pypi.org/project/PyQt5) and other
+ components.
+
+<img src="https://plomgrading.org/images/plomclient.png" width="800px" alt="The plom annotation client in action">
+
+
+## Plom's benefits
+
+ * Respects privacy of student data -- all data stays on your server,
+ and markers do not see student name or ID when working.
+ * Easy multi-versioned tests -- designed to handle crowded classrooms
+ and multi-section courses over multiple days.
+ * Simplify logistics and minimizes paper-handling.
+ * Free -- Plom is [Libre](https://en.wikipedia.org/wiki/Gratis_versus_libre#Libre)
+ and [Gratis](https://en.wikipedia.org/wiki/Gratis_versus_libre#Gratis).
+ No software to buy, and no subscriptions to pay.
+
+
+## Want to know more?
+
+Take a look at the [plomgrading.org](https://plomgrading.org).
+
+
+## Translations
+
+If you'd like to help translate Plom into another language,
+please help at https://gitlab.com/plom/plom/-/issues/1725
+
+The metainfo files (used for example on
+[Flathub](https://flathub.org/apps/details/org.plomgrading.PlomClient))
+can be translated by editing
+[here](https://gitlab.com/plom/plom/-/blob/main/org.plomgrading.PlomClient.metainfo.xml)
+and
+[here](https://gitlab.com/plom/plom/-/blob/main/org.plomgrading.PlomClient.desktop).
+
+
+
+## Getting in touch
+
+ * Our dev channel is [gitter.im/plomgrading/dev](https://gitter.im/plomgrading/dev).
+ * Our [main development repo is on Gitlab.com](https://gitlab.com/plom/plom)
+ and [mirrored on GitHub](https://github.com/plomgrading/plom).
+
+
+%prep
+%autosetup -n plom-0.13.3
+
+%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-plom -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.13.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..adf6fe0
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+143a832e401dbad6004490a6dedd28d6 plom-0.13.3.tar.gz