diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 07:07:56 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 07:07:56 +0000 |
| commit | 79b02c9f369e7a9ab59e08045fd4cff1b49be669 (patch) | |
| tree | a7c1b3d65090e5650befc7d6d7f7513a21afc142 | |
| parent | d687762d6585377a770b1e4837f6af6f13abab50 (diff) | |
automatic import of python-morangoopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-morango.spec | 179 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 181 insertions, 0 deletions
@@ -0,0 +1 @@ +/morango-0.6.16.tar.gz diff --git a/python-morango.spec b/python-morango.spec new file mode 100644 index 0000000..9de1a0d --- /dev/null +++ b/python-morango.spec @@ -0,0 +1,179 @@ +%global _empty_manifest_terminate_build 0 +Name: python-morango +Version: 0.6.16 +Release: 1 +Summary: Pure Python sqlite-based Django DB replication engine. +License: MIT +URL: https://github.com/learningequality/morango +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2c/16/720a800a906dcfb4f16ea204c46dee6d641fcc70c727691b8b8fd9476bed/morango-0.6.16.tar.gz +BuildArch: noarch + +Requires: python3-django +Requires: python3-django-mptt +Requires: python3-rsa +Requires: python3-djangorestframework +Requires: python3-django-ipware +Requires: python3-future +Requires: python3-requests +Requires: python3-ifcfg + +%description +# Morango + +[](https://github.com/learningequality/morango/actions) +[](http://codecov.io/github/learningequality/morango?branch=master) +[](http://morango.readthedocs.org/en/latest/) + +Morango is a pure-Python database replication engine for Django that supports peer-to-peer syncing of data. It is structured as a Django app that can be included in projects to make specific application models syncable. + +Developed in support of the [Kolibri](https://github.com/learningequality/kolibri) product ecosystem, Morango includes some important features including: + +- A certificate-based authentication system to protect privacy and integrity of data +- A change-tracking system to support calculation of differences between databases across low-bandwidth connections +- A set of constructs to support data partitioning + +## Developer documentation + +See [morango.readthedocs.io](https://morango.readthedocs.io) + +To build and edit the docs, run: + +```bash +# install requirements +pip install -r requirements/docs.txt +pip install -e . + +# build docs +make docs + +# auto-build and refresh docs on edit +make docs-autobuild +``` + + + + +%package -n python3-morango +Summary: Pure Python sqlite-based Django DB replication engine. +Provides: python-morango +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-morango +# Morango + +[](https://github.com/learningequality/morango/actions) +[](http://codecov.io/github/learningequality/morango?branch=master) +[](http://morango.readthedocs.org/en/latest/) + +Morango is a pure-Python database replication engine for Django that supports peer-to-peer syncing of data. It is structured as a Django app that can be included in projects to make specific application models syncable. + +Developed in support of the [Kolibri](https://github.com/learningequality/kolibri) product ecosystem, Morango includes some important features including: + +- A certificate-based authentication system to protect privacy and integrity of data +- A change-tracking system to support calculation of differences between databases across low-bandwidth connections +- A set of constructs to support data partitioning + +## Developer documentation + +See [morango.readthedocs.io](https://morango.readthedocs.io) + +To build and edit the docs, run: + +```bash +# install requirements +pip install -r requirements/docs.txt +pip install -e . + +# build docs +make docs + +# auto-build and refresh docs on edit +make docs-autobuild +``` + + + + +%package help +Summary: Development documents and examples for morango +Provides: python3-morango-doc +%description help +# Morango + +[](https://github.com/learningequality/morango/actions) +[](http://codecov.io/github/learningequality/morango?branch=master) +[](http://morango.readthedocs.org/en/latest/) + +Morango is a pure-Python database replication engine for Django that supports peer-to-peer syncing of data. It is structured as a Django app that can be included in projects to make specific application models syncable. + +Developed in support of the [Kolibri](https://github.com/learningequality/kolibri) product ecosystem, Morango includes some important features including: + +- A certificate-based authentication system to protect privacy and integrity of data +- A change-tracking system to support calculation of differences between databases across low-bandwidth connections +- A set of constructs to support data partitioning + +## Developer documentation + +See [morango.readthedocs.io](https://morango.readthedocs.io) + +To build and edit the docs, run: + +```bash +# install requirements +pip install -r requirements/docs.txt +pip install -e . + +# build docs +make docs + +# auto-build and refresh docs on edit +make docs-autobuild +``` + + + + +%prep +%autosetup -n morango-0.6.16 + +%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-morango -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.16-1 +- Package Spec generated @@ -0,0 +1 @@ +97929e8f44f391f5d4e9260856e24122 morango-0.6.16.tar.gz |
