%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 [![build](https://github.com/learningequality/morango/actions/workflows/tox.yml/badge.svg?branch=master)](https://github.com/learningequality/morango/actions) [![image](http://codecov.io/github/learningequality/morango/coverage.svg?branch=master)](http://codecov.io/github/learningequality/morango?branch=master) [![image](https://readthedocs.org/projects/morango/badge/?version=latest)](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 [![build](https://github.com/learningequality/morango/actions/workflows/tox.yml/badge.svg?branch=master)](https://github.com/learningequality/morango/actions) [![image](http://codecov.io/github/learningequality/morango/coverage.svg?branch=master)](http://codecov.io/github/learningequality/morango?branch=master) [![image](https://readthedocs.org/projects/morango/badge/?version=latest)](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 [![build](https://github.com/learningequality/morango/actions/workflows/tox.yml/badge.svg?branch=master)](https://github.com/learningequality/morango/actions) [![image](http://codecov.io/github/learningequality/morango/coverage.svg?branch=master)](http://codecov.io/github/learningequality/morango?branch=master) [![image](https://readthedocs.org/projects/morango/badge/?version=latest)](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 - 0.6.16-1 - Package Spec generated