From bb6f8ed5e9403ae0992411699870a4df11b17afb Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 11 Apr 2023 21:41:56 +0000 Subject: automatic import of python-hestia --- python-hestia.spec | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 python-hestia.spec (limited to 'python-hestia.spec') diff --git a/python-hestia.spec b/python-hestia.spec new file mode 100644 index 0000000..4c2aa73 --- /dev/null +++ b/python-hestia.spec @@ -0,0 +1,135 @@ +%global _empty_manifest_terminate_build 0 +Name: python-hestia +Version: 0.6.0 +Release: 1 +Summary: Polyaxon common utilities. +License: MIT +URL: https://github.com/polyaxon/hestia +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9f/00/903809ee8c14ef33881e7b435f8a17297f7f6a095ce9298ff1f1eeef3612/hestia-0.6.0.tar.gz +BuildArch: noarch + + +%description +[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE) +[![Build Status](https://travis-ci.com/polyaxon/hestia.svg?branch=master)](https://travis-ci.com/polyaxon/hestia) +[![PyPI version](https://badge.fury.io/py/hestia.svg)](https://badge.fury.io/py/hestia) +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e49f4132c90e496e974d3e9883ee4d8c)](https://www.codacy.com/app/polyaxon/hestia?utm_source=github.com&utm_medium=referral&utm_content=polyaxon/hestia&utm_campaign=Badge_Grade) +[![Slack](https://img.shields.io/badge/chat-on%20slack-aadada.svg?logo=slack&longCache=true)](https://join.slack.com/t/polyaxon/shared_invite/enQtMzQ0ODc2MDg1ODc0LWY2ZTdkMTNmZjBlZmRmNjQxYmYwMTBiMDZiMWJhODI2ZTk0MDU4Mjg5YzA5M2NhYzc5ZjhiMjczMDllYmQ2MDg) + +# hestia + +Polyaxon common utilities. + +## Installation + +``` +pip install -U hestia +``` + +# License + +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fpolyaxon%2Frhea.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fpolyaxon%2Frhea?ref=badge_large) + + + + +%package -n python3-hestia +Summary: Polyaxon common utilities. +Provides: python-hestia +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-hestia +[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE) +[![Build Status](https://travis-ci.com/polyaxon/hestia.svg?branch=master)](https://travis-ci.com/polyaxon/hestia) +[![PyPI version](https://badge.fury.io/py/hestia.svg)](https://badge.fury.io/py/hestia) +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e49f4132c90e496e974d3e9883ee4d8c)](https://www.codacy.com/app/polyaxon/hestia?utm_source=github.com&utm_medium=referral&utm_content=polyaxon/hestia&utm_campaign=Badge_Grade) +[![Slack](https://img.shields.io/badge/chat-on%20slack-aadada.svg?logo=slack&longCache=true)](https://join.slack.com/t/polyaxon/shared_invite/enQtMzQ0ODc2MDg1ODc0LWY2ZTdkMTNmZjBlZmRmNjQxYmYwMTBiMDZiMWJhODI2ZTk0MDU4Mjg5YzA5M2NhYzc5ZjhiMjczMDllYmQ2MDg) + +# hestia + +Polyaxon common utilities. + +## Installation + +``` +pip install -U hestia +``` + +# License + +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fpolyaxon%2Frhea.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fpolyaxon%2Frhea?ref=badge_large) + + + + +%package help +Summary: Development documents and examples for hestia +Provides: python3-hestia-doc +%description help +[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE) +[![Build Status](https://travis-ci.com/polyaxon/hestia.svg?branch=master)](https://travis-ci.com/polyaxon/hestia) +[![PyPI version](https://badge.fury.io/py/hestia.svg)](https://badge.fury.io/py/hestia) +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e49f4132c90e496e974d3e9883ee4d8c)](https://www.codacy.com/app/polyaxon/hestia?utm_source=github.com&utm_medium=referral&utm_content=polyaxon/hestia&utm_campaign=Badge_Grade) +[![Slack](https://img.shields.io/badge/chat-on%20slack-aadada.svg?logo=slack&longCache=true)](https://join.slack.com/t/polyaxon/shared_invite/enQtMzQ0ODc2MDg1ODc0LWY2ZTdkMTNmZjBlZmRmNjQxYmYwMTBiMDZiMWJhODI2ZTk0MDU4Mjg5YzA5M2NhYzc5ZjhiMjczMDllYmQ2MDg) + +# hestia + +Polyaxon common utilities. + +## Installation + +``` +pip install -U hestia +``` + +# License + +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fpolyaxon%2Frhea.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fpolyaxon%2Frhea?ref=badge_large) + + + + +%prep +%autosetup -n hestia-0.6.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-hestia -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot - 0.6.0-1 +- Package Spec generated -- cgit v1.2.3