summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 06:05:05 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 06:05:05 +0000
commit2c0550942a70934edbfa3c60f53966067a5e0b1a (patch)
tree15c48bb3418792f13097eaea95dd885afa93e740
parent6187ef245c51b847afb5fcf1477c8b1f306f45fa (diff)
automatic import of python-locus
-rw-r--r--.gitignore1
-rw-r--r--python-locus.spec94
-rw-r--r--sources1
3 files changed, 96 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..677d1d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/locus-10.0.0.tar.gz
diff --git a/python-locus.spec b/python-locus.spec
new file mode 100644
index 0000000..0e7ceda
--- /dev/null
+++ b/python-locus.spec
@@ -0,0 +1,94 @@
+%global _empty_manifest_terminate_build 0
+Name: python-locus
+Version: 10.0.0
+Release: 1
+Summary: please add a summary manually as the author left a blank one
+License: MIT License Copyright (c) 2020 Azat Ibrakov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+URL: https://github.com/lycantropos/locus/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8c/4b/86507bb84c32364dece5cd87067b947c37c40860f162560fc20916711d0b/locus-10.0.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-ground
+Requires: python3-reprit
+Requires: python3-hypothesis
+Requires: python3-pytest
+
+%description
+[![](https://github.com/lycantropos/locus/workflows/CI/badge.svg)](https://github.com/lycantropos/locus/actions/workflows/ci.yml "Github Actions")
+[![](https://readthedocs.org/projects/locus/badge/?version=latest)](https://locus.readthedocs.io/en/latest "Documentation")
+[![](https://codecov.io/gh/lycantropos/locus/branch/master/graph/badge.svg)](https://codecov.io/gh/lycantropos/locus "Codecov")
+[![](https://img.shields.io/github/license/lycantropos/locus.svg)](https://github.com/lycantropos/locus/blob/master/LICENSE "License")
+[![](https://badge.fury.io/py/locus.svg)](https://badge.fury.io/py/locus "PyPI")
+In what follows `python` is an alias for `python3.6` or `pypy3.6`
+or any later version (`python3.7`, `pypy3.7` and so on).
+
+%package -n python3-locus
+Summary: please add a summary manually as the author left a blank one
+Provides: python-locus
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-locus
+[![](https://github.com/lycantropos/locus/workflows/CI/badge.svg)](https://github.com/lycantropos/locus/actions/workflows/ci.yml "Github Actions")
+[![](https://readthedocs.org/projects/locus/badge/?version=latest)](https://locus.readthedocs.io/en/latest "Documentation")
+[![](https://codecov.io/gh/lycantropos/locus/branch/master/graph/badge.svg)](https://codecov.io/gh/lycantropos/locus "Codecov")
+[![](https://img.shields.io/github/license/lycantropos/locus.svg)](https://github.com/lycantropos/locus/blob/master/LICENSE "License")
+[![](https://badge.fury.io/py/locus.svg)](https://badge.fury.io/py/locus "PyPI")
+In what follows `python` is an alias for `python3.6` or `pypy3.6`
+or any later version (`python3.7`, `pypy3.7` and so on).
+
+%package help
+Summary: Development documents and examples for locus
+Provides: python3-locus-doc
+%description help
+[![](https://github.com/lycantropos/locus/workflows/CI/badge.svg)](https://github.com/lycantropos/locus/actions/workflows/ci.yml "Github Actions")
+[![](https://readthedocs.org/projects/locus/badge/?version=latest)](https://locus.readthedocs.io/en/latest "Documentation")
+[![](https://codecov.io/gh/lycantropos/locus/branch/master/graph/badge.svg)](https://codecov.io/gh/lycantropos/locus "Codecov")
+[![](https://img.shields.io/github/license/lycantropos/locus.svg)](https://github.com/lycantropos/locus/blob/master/LICENSE "License")
+[![](https://badge.fury.io/py/locus.svg)](https://badge.fury.io/py/locus "PyPI")
+In what follows `python` is an alias for `python3.6` or `pypy3.6`
+or any later version (`python3.7`, `pypy3.7` and so on).
+
+%prep
+%autosetup -n locus-10.0.0
+
+%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-locus -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 10.0.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..96cf252
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c37925fecdb25f0cf4bc205f0e033a3d locus-10.0.0.tar.gz