summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 03:48:14 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 03:48:14 +0000
commitbbc9b5b884eef85dd5c14d63f9a63c7a08955b5f (patch)
treec0af9c208676881433dd6eeb12bd0a0da70bd9d4
parent35b4a2a706f8726f86a8bc54f148d26b4273a48a (diff)
automatic import of python-rcsb-utils-ioopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-rcsb-utils-io.spec192
-rw-r--r--sources1
3 files changed, 194 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7f30cc2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/rcsb.utils.io-1.43.tar.gz
diff --git a/python-rcsb-utils-io.spec b/python-rcsb-utils-io.spec
new file mode 100644
index 0000000..3c686b4
--- /dev/null
+++ b/python-rcsb-utils-io.spec
@@ -0,0 +1,192 @@
+%global _empty_manifest_terminate_build 0
+Name: python-rcsb.utils.io
+Version: 1.43
+Release: 1
+Summary: RCSB Python I/O Utility Classes
+License: Apache 2.0
+URL: https://github.com/rcsb/py-rcsb_utils_io
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fc/28/273804a3f616a7dde25c96dbae811d929d652932659c8e6b9ad0fb6874e2/rcsb.utils.io-1.43.tar.gz
+BuildArch: noarch
+
+
+%description
+# RCSB Python I/O Utility Classes
+
+[![Build Status](https://dev.azure.com/rcsb/RCSB%20PDB%20Python%20Projects/_apis/build/status/rcsb.py-rcsb_utils_io?branchName=master)](https://dev.azure.com/rcsb/RCSB%20PDB%20Python%20Projects/_build/latest?definitionId=13&branchName=master)
+
+## Introduction
+
+This module contains a collection of utility classes for performing i/o operations on common
+file formats encountered in the PDB data repository.
+
+### Installation
+
+Download the library source software from the project repository:
+
+```bash
+
+git clone --recurse-submodules https://github.com/rcsb/py-rcsb_utils_io.git
+
+```
+
+Optionally, run test suite (Python versions 2.7, and 3.9) using
+[setuptools](https://setuptools.readthedocs.io/en/latest/) or
+[tox](http://tox.readthedocs.io/en/latest/example/platform.html):
+
+```bash
+python setup.py test
+
+or simply run
+
+tox
+```
+
+Installation is via the program [pip](https://pypi.python.org/pypi/pip).
+
+```bash
+pip install rcsb.utils.io
+
+or from the local repository:
+
+pip install .
+```
+
+
+%package -n python3-rcsb.utils.io
+Summary: RCSB Python I/O Utility Classes
+Provides: python-rcsb.utils.io
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-rcsb.utils.io
+# RCSB Python I/O Utility Classes
+
+[![Build Status](https://dev.azure.com/rcsb/RCSB%20PDB%20Python%20Projects/_apis/build/status/rcsb.py-rcsb_utils_io?branchName=master)](https://dev.azure.com/rcsb/RCSB%20PDB%20Python%20Projects/_build/latest?definitionId=13&branchName=master)
+
+## Introduction
+
+This module contains a collection of utility classes for performing i/o operations on common
+file formats encountered in the PDB data repository.
+
+### Installation
+
+Download the library source software from the project repository:
+
+```bash
+
+git clone --recurse-submodules https://github.com/rcsb/py-rcsb_utils_io.git
+
+```
+
+Optionally, run test suite (Python versions 2.7, and 3.9) using
+[setuptools](https://setuptools.readthedocs.io/en/latest/) or
+[tox](http://tox.readthedocs.io/en/latest/example/platform.html):
+
+```bash
+python setup.py test
+
+or simply run
+
+tox
+```
+
+Installation is via the program [pip](https://pypi.python.org/pypi/pip).
+
+```bash
+pip install rcsb.utils.io
+
+or from the local repository:
+
+pip install .
+```
+
+
+%package help
+Summary: Development documents and examples for rcsb.utils.io
+Provides: python3-rcsb.utils.io-doc
+%description help
+# RCSB Python I/O Utility Classes
+
+[![Build Status](https://dev.azure.com/rcsb/RCSB%20PDB%20Python%20Projects/_apis/build/status/rcsb.py-rcsb_utils_io?branchName=master)](https://dev.azure.com/rcsb/RCSB%20PDB%20Python%20Projects/_build/latest?definitionId=13&branchName=master)
+
+## Introduction
+
+This module contains a collection of utility classes for performing i/o operations on common
+file formats encountered in the PDB data repository.
+
+### Installation
+
+Download the library source software from the project repository:
+
+```bash
+
+git clone --recurse-submodules https://github.com/rcsb/py-rcsb_utils_io.git
+
+```
+
+Optionally, run test suite (Python versions 2.7, and 3.9) using
+[setuptools](https://setuptools.readthedocs.io/en/latest/) or
+[tox](http://tox.readthedocs.io/en/latest/example/platform.html):
+
+```bash
+python setup.py test
+
+or simply run
+
+tox
+```
+
+Installation is via the program [pip](https://pypi.python.org/pypi/pip).
+
+```bash
+pip install rcsb.utils.io
+
+or from the local repository:
+
+pip install .
+```
+
+
+%prep
+%autosetup -n rcsb.utils.io-1.43
+
+%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-rcsb.utils.io -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.43-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..e91e0e7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+839abdc4a1bf7ae726ba609e4b541c56 rcsb.utils.io-1.43.tar.gz