diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-10 09:38:47 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 09:38:47 +0000 |
| commit | 2972df96fe0331f5a613d0daa04d606e34b29b8a (patch) | |
| tree | 5af96eb9b193ff34750496cd59011e45cdb7f79e | |
| parent | 28f04ad88b42fe7a767fc5345210c8d6058c96c8 (diff) | |
automatic import of python-mincepy
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-mincepy.spec | 115 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 117 insertions, 0 deletions
@@ -0,0 +1 @@ +/mincepy-0.16.5.tar.gz diff --git a/python-mincepy.spec b/python-mincepy.spec new file mode 100644 index 0000000..def1026 --- /dev/null +++ b/python-mincepy.spec @@ -0,0 +1,115 @@ +%global _empty_manifest_terminate_build 0 +Name: python-mincepy +Version: 0.16.5 +Release: 1 +Summary: Python object storage with versioning made simple +License: LGPLv3 +URL: https://github.com/muhrin/mincepy.git +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9d/f7/6393022f3ab3f4381b67708ca61d9910de32d66d39d6b7236431f7fab518/mincepy-0.16.5.tar.gz +BuildArch: noarch + +Requires: python3-deprecation +Requires: python3-dnspython +Requires: python3-pymongo +Requires: python3-litemongo +Requires: python3-importlib-metadata +Requires: python3-mongomock +Requires: python3-bidict +Requires: python3-networkx +Requires: python3-pytray +Requires: python3-stevedore +Requires: python3-click +Requires: python3-tabulate +Requires: python3-tqdm +Requires: python3-pyblake2 +Requires: python3-contextlib2 +Requires: python3-click +Requires: python3-tabulate +Requires: python3-ipython +Requires: python3-mongomock +Requires: python3-pip +Requires: python3-pytest +Requires: python3-pytest-benchmark +Requires: python3-pytest-cov +Requires: python3-pre-commit +Requires: python3-twine +Requires: python3-yapf +Requires: python3-nbsphinx +Requires: python3-sphinx +Requires: python3-sphinx-autobuild +Requires: python3-mincepy-gui +Requires: python3-mincepy-sci + +%description +mincePy: move the database to one side and let your objects take centre stage. +MincePy is an `object-document mapper`_ (ORM) using the `data mapper pattern`_ designed specifically for computational +and data science. What does this all mean?? It's simple really, it means you can store, find, get the history of and +annotate any of your python objects either in your local database or one shared with your collaborators. +See `documentation`_ for more information. + +%package -n python3-mincepy +Summary: Python object storage with versioning made simple +Provides: python-mincepy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-mincepy +mincePy: move the database to one side and let your objects take centre stage. +MincePy is an `object-document mapper`_ (ORM) using the `data mapper pattern`_ designed specifically for computational +and data science. What does this all mean?? It's simple really, it means you can store, find, get the history of and +annotate any of your python objects either in your local database or one shared with your collaborators. +See `documentation`_ for more information. + +%package help +Summary: Development documents and examples for mincepy +Provides: python3-mincepy-doc +%description help +mincePy: move the database to one side and let your objects take centre stage. +MincePy is an `object-document mapper`_ (ORM) using the `data mapper pattern`_ designed specifically for computational +and data science. What does this all mean?? It's simple really, it means you can store, find, get the history of and +annotate any of your python objects either in your local database or one shared with your collaborators. +See `documentation`_ for more information. + +%prep +%autosetup -n mincepy-0.16.5 + +%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-mincepy -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.16.5-1 +- Package Spec generated @@ -0,0 +1 @@ +825f5d02ae3412d828a10a9b4fb9b824 mincepy-0.16.5.tar.gz |
