From e1fb7efec4af884b7ac450c772e64b239578e243 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 11 Apr 2023 18:01:13 +0000 Subject: automatic import of python-spython --- python-spython.spec | 264 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 264 insertions(+) create mode 100644 python-spython.spec (limited to 'python-spython.spec') diff --git a/python-spython.spec b/python-spython.spec new file mode 100644 index 0000000..3af288d --- /dev/null +++ b/python-spython.spec @@ -0,0 +1,264 @@ +%global _empty_manifest_terminate_build 0 +Name: python-spython +Version: 0.3.0 +Release: 1 +Summary: Command line python tool for working with singularity. +License: LICENSE +URL: https://github.com/singularityhub/singularity-cli +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/27/fc/59dff392b52d41e5c35d3d8de201007acba5f2a069f37936832762f52fa8/spython-0.3.0.tar.gz +BuildArch: noarch + + +%description +# Singularity Python + +[![Build Status](https://travis-ci.org/singularityhub/singularity-cli.svg?branch=master)](https://travis-ci.org/singularityhub/singularity-cli) +[![GitHub actions status](https://github.com/singularityhub/singularity-cli/workflows/spython-ci/badge.svg?branch=master)](https://github.com/singularityhub/singularity-cli/actions?query=branch%3Amaster+workflow%3Aspython-ci) + +Singularity Python (spython) is the Python API for working with Singularity containers. See +the [documentation](https://singularityhub.github.io/singularity-cli) for installation and usage, and +the [install instructions](https://singularityhub.github.io/singularity-cli/install) for a quick start. + +**This library does not support Singularity 2.x! It won't work and we no longer support it.** + +We provide a [Singularity](Singularity) recipe for you to use if more convenient, along with the [full modules docstring](https://singularityhub.github.io/singularity-cli/api/source/spython.main.base.html#module-spython.main.base). + +As of version 0.1.0, we only support Singularity > 3.5.2. This is done to encourage using +newer versions of Singularity with security fixes. If you want to use an older version of Singularity, +you will need to use version 0.0.85 or earlier. + +## 😁️ Contributors 😁️ + +We use the [all-contributors](https://github.com/all-contributors/all-contributors) +tool to generate a contributors graphic below. + + + + + + + + + + + + + + + + + + + + + + + + + +
Flamefire
Flamefire

💻
kinow
kinow

💻
tschoonj
tschoonj

💻
al3x609
al3x609

💻
mobiusklein
mobiusklein

💻
MarDiehl
MarDiehl

💻
shnizzedy
shnizzedy

💻
wkpalan
wkpalan

💻
cceyda
cceyda

💻
neumann-nico
neumann-nico

💻
vsoch
vsoch

💻
pierlauro
pierlauro

💻
biosugar0
biosugar0

💻
Tony Pan
Tony Pan

💻
+ + + + + + + + +## License + +This code is licensed under the MPL 2.0 [LICENSE](LICENSE). + +## Help and Contribution + +Please contribute to the package, or post feedback and questions as issues. For points that require discussion of the larger group, please use the Singularity List + + + + +%package -n python3-spython +Summary: Command line python tool for working with singularity. +Provides: python-spython +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-spython +# Singularity Python + +[![Build Status](https://travis-ci.org/singularityhub/singularity-cli.svg?branch=master)](https://travis-ci.org/singularityhub/singularity-cli) +[![GitHub actions status](https://github.com/singularityhub/singularity-cli/workflows/spython-ci/badge.svg?branch=master)](https://github.com/singularityhub/singularity-cli/actions?query=branch%3Amaster+workflow%3Aspython-ci) + +Singularity Python (spython) is the Python API for working with Singularity containers. See +the [documentation](https://singularityhub.github.io/singularity-cli) for installation and usage, and +the [install instructions](https://singularityhub.github.io/singularity-cli/install) for a quick start. + +**This library does not support Singularity 2.x! It won't work and we no longer support it.** + +We provide a [Singularity](Singularity) recipe for you to use if more convenient, along with the [full modules docstring](https://singularityhub.github.io/singularity-cli/api/source/spython.main.base.html#module-spython.main.base). + +As of version 0.1.0, we only support Singularity > 3.5.2. This is done to encourage using +newer versions of Singularity with security fixes. If you want to use an older version of Singularity, +you will need to use version 0.0.85 or earlier. + +## 😁️ Contributors 😁️ + +We use the [all-contributors](https://github.com/all-contributors/all-contributors) +tool to generate a contributors graphic below. + + + + + + + + + + + + + + + + + + + + + + + + + +
Flamefire
Flamefire

💻
kinow
kinow

💻
tschoonj
tschoonj

💻
al3x609
al3x609

💻
mobiusklein
mobiusklein

💻
MarDiehl
MarDiehl

💻
shnizzedy
shnizzedy

💻
wkpalan
wkpalan

💻
cceyda
cceyda

💻
neumann-nico
neumann-nico

💻
vsoch
vsoch

💻
pierlauro
pierlauro

💻
biosugar0
biosugar0

💻
Tony Pan
Tony Pan

💻
+ + + + + + + + +## License + +This code is licensed under the MPL 2.0 [LICENSE](LICENSE). + +## Help and Contribution + +Please contribute to the package, or post feedback and questions as issues. For points that require discussion of the larger group, please use the Singularity List + + + + +%package help +Summary: Development documents and examples for spython +Provides: python3-spython-doc +%description help +# Singularity Python + +[![Build Status](https://travis-ci.org/singularityhub/singularity-cli.svg?branch=master)](https://travis-ci.org/singularityhub/singularity-cli) +[![GitHub actions status](https://github.com/singularityhub/singularity-cli/workflows/spython-ci/badge.svg?branch=master)](https://github.com/singularityhub/singularity-cli/actions?query=branch%3Amaster+workflow%3Aspython-ci) + +Singularity Python (spython) is the Python API for working with Singularity containers. See +the [documentation](https://singularityhub.github.io/singularity-cli) for installation and usage, and +the [install instructions](https://singularityhub.github.io/singularity-cli/install) for a quick start. + +**This library does not support Singularity 2.x! It won't work and we no longer support it.** + +We provide a [Singularity](Singularity) recipe for you to use if more convenient, along with the [full modules docstring](https://singularityhub.github.io/singularity-cli/api/source/spython.main.base.html#module-spython.main.base). + +As of version 0.1.0, we only support Singularity > 3.5.2. This is done to encourage using +newer versions of Singularity with security fixes. If you want to use an older version of Singularity, +you will need to use version 0.0.85 or earlier. + +## 😁️ Contributors 😁️ + +We use the [all-contributors](https://github.com/all-contributors/all-contributors) +tool to generate a contributors graphic below. + + + + + + + + + + + + + + + + + + + + + + + + + +
Flamefire
Flamefire

💻
kinow
kinow

💻
tschoonj
tschoonj

💻
al3x609
al3x609

💻
mobiusklein
mobiusklein

💻
MarDiehl
MarDiehl

💻
shnizzedy
shnizzedy

💻
wkpalan
wkpalan

💻
cceyda
cceyda

💻
neumann-nico
neumann-nico

💻
vsoch
vsoch

💻
pierlauro
pierlauro

💻
biosugar0
biosugar0

💻
Tony Pan
Tony Pan

💻
+ + + + + + + + +## License + +This code is licensed under the MPL 2.0 [LICENSE](LICENSE). + +## Help and Contribution + +Please contribute to the package, or post feedback and questions as issues. For points that require discussion of the larger group, please use the Singularity List + + + + +%prep +%autosetup -n spython-0.3.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-spython -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot - 0.3.0-1 +- Package Spec generated -- cgit v1.2.3