summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 03:12:50 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 03:12:50 +0000
commit0148f2d80a0629a6a7ef7780673e644faa3867af (patch)
tree8db6ee1c53c9ca5cf3c7881a045eb2f158f1fd77
parent1069c609665e5ba1bcbb12fdcb69faa1c5a528f1 (diff)
automatic import of python-clique
-rw-r--r--.gitignore1
-rw-r--r--python-clique.spec234
-rw-r--r--sources1
3 files changed, 236 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..0596c2f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/clique-2.0.0.tar.gz
diff --git a/python-clique.spec b/python-clique.spec
new file mode 100644
index 0000000..d8ea079
--- /dev/null
+++ b/python-clique.spec
@@ -0,0 +1,234 @@
+%global _empty_manifest_terminate_build 0
+Name: python-clique
+Version: 2.0.0
+Release: 1
+Summary: Manage collections with common numerical component
+License: Apache License (2.0)
+URL: https://gitlab.com/4degrees/clique
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c0/e9/9f558bf9fe1d1c7b801ec95f714c1e1a028d510d86f8e967056a4e7e8d2a/clique-2.0.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-lowdown
+Requires: python3-pytest-runner
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-lowdown
+Requires: python3-pytest-runner
+Requires: python3-pytest
+Requires: python3-pytest-cov
+
+%description
+######
+Clique
+######
+
+Manage collections with common numerical component.
+
+.. code-block:: python
+
+ >>> import os
+ >>> import clique
+ >>> collections, remainder = clique.assemble(os.listdir('.'))
+ >>> for collection in collections:
+ ... print(collection)
+ file.%04d.jpg [1-5, 8, 10-15]
+ file.%04d.dpx [1-15]
+
+
+*************
+Documentation
+*************
+
+Full documentation can be found at http://clique.readthedocs.org
+
+*************
+Issue tracker
+*************
+
+Found a bug? Have an idea on how to make the tool better?
+
+Post it at https://gitlab.com/4degrees/clique/issues
+
+*********************
+Copyright and license
+*********************
+
+Copyright (c) 2013 Martin Pengelly-Phillips
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+this work except in compliance with the License. You may obtain a copy of the
+License in the LICENSE.txt file, or at:
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed
+under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+CONDITIONS OF ANY KIND, either express or implied. See the License for the
+specific language governing permissions and limitations under the License.
+
+
+
+
+
+%package -n python3-clique
+Summary: Manage collections with common numerical component
+Provides: python-clique
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-clique
+######
+Clique
+######
+
+Manage collections with common numerical component.
+
+.. code-block:: python
+
+ >>> import os
+ >>> import clique
+ >>> collections, remainder = clique.assemble(os.listdir('.'))
+ >>> for collection in collections:
+ ... print(collection)
+ file.%04d.jpg [1-5, 8, 10-15]
+ file.%04d.dpx [1-15]
+
+
+*************
+Documentation
+*************
+
+Full documentation can be found at http://clique.readthedocs.org
+
+*************
+Issue tracker
+*************
+
+Found a bug? Have an idea on how to make the tool better?
+
+Post it at https://gitlab.com/4degrees/clique/issues
+
+*********************
+Copyright and license
+*********************
+
+Copyright (c) 2013 Martin Pengelly-Phillips
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+this work except in compliance with the License. You may obtain a copy of the
+License in the LICENSE.txt file, or at:
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed
+under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+CONDITIONS OF ANY KIND, either express or implied. See the License for the
+specific language governing permissions and limitations under the License.
+
+
+
+
+
+%package help
+Summary: Development documents and examples for clique
+Provides: python3-clique-doc
+%description help
+######
+Clique
+######
+
+Manage collections with common numerical component.
+
+.. code-block:: python
+
+ >>> import os
+ >>> import clique
+ >>> collections, remainder = clique.assemble(os.listdir('.'))
+ >>> for collection in collections:
+ ... print(collection)
+ file.%04d.jpg [1-5, 8, 10-15]
+ file.%04d.dpx [1-15]
+
+
+*************
+Documentation
+*************
+
+Full documentation can be found at http://clique.readthedocs.org
+
+*************
+Issue tracker
+*************
+
+Found a bug? Have an idea on how to make the tool better?
+
+Post it at https://gitlab.com/4degrees/clique/issues
+
+*********************
+Copyright and license
+*********************
+
+Copyright (c) 2013 Martin Pengelly-Phillips
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not use
+this work except in compliance with the License. You may obtain a copy of the
+License in the LICENSE.txt file, or at:
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software distributed
+under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+CONDITIONS OF ANY KIND, either express or implied. See the License for the
+specific language governing permissions and limitations under the License.
+
+
+
+
+
+%prep
+%autosetup -n clique-2.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-clique -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..dee4219
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+14c892725fcc49a4ae1f7032c6b37424 clique-2.0.0.tar.gz