From 2aff5f56419315d98d08d94a774006875c960681 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Jun 2023 07:53:10 +0000 Subject: automatic import of python-bussilab --- .gitignore | 1 + python-bussilab.spec | 159 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 161 insertions(+) create mode 100644 python-bussilab.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..ead3d56 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/bussilab-0.0.41.tar.gz diff --git a/python-bussilab.spec b/python-bussilab.spec new file mode 100644 index 0000000..3673a24 --- /dev/null +++ b/python-bussilab.spec @@ -0,0 +1,159 @@ +%global _empty_manifest_terminate_build 0 +Name: python-bussilab +Version: 0.0.41 +Release: 1 +Summary: A package collecting a heterogeneous set of tools. +License: GNU Lesser General Public License v2 or later (LGPLv2+) +URL: https://github.com/bussilab/py-bussilab +Source0: https://mirrors.aliyun.com/pypi/web/packages/2f/e3/0f0b531becfe784b12a1b9e86ab1c9d3ce53c0a7efd5d3df88d22c1318bc/bussilab-0.0.41.tar.gz +BuildArch: noarch + + +%description +[![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/bussilab/py-bussilab)](https://github.com/bussilab/py-bussilab/tags) +[![PyPI](https://img.shields.io/pypi/v/bussilab)](https://pypi.org/project/bussilab/) +[![Conda](https://img.shields.io/conda/v/bussilab/py-bussilab)](https://anaconda.org/bussilab/py-bussilab) +[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/bussilab)](https://pypi.org/project/bussilab/) + +[![CI](https://github.com/bussilab/py-bussilab/workflows/CI/badge.svg)](https://github.com/bussilab/py-bussilab/actions?query=workflow%3ACI) +[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/bussilab/py-bussilab.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/bussilab/py-bussilab/context:python) +[![Total alerts](https://img.shields.io/lgtm/alerts/g/bussilab/py-bussilab.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/bussilab/py-bussilab/alerts/) +[![codecov](https://codecov.io/gh/bussilab/py-bussilab/branch/master/graph/badge.svg)](https://codecov.io/gh/bussilab/py-bussilab) + +A package collecting a heterogeneous set of tools. + +This package collects a number of tools that are useful enough to be distributed but too small to deserve being published as separate packages. +Source code is on [GitHub](https://github.com/bussilab/py-bussilab). +Documentation can be browsed at [this page](https://bussilab.github.io/doc-py-bussilab). + +To install package and dependencies with pip: + +``` +pip install bussilab +``` + +To install package and dependencies with conda: + +``` +conda install -c conda-forge -c bussilab py-bussilab +``` + +To install dependencies with macports, see [documentation](https://bussilab.github.io/doc-py-bussilab). + + +%package -n python3-bussilab +Summary: A package collecting a heterogeneous set of tools. +Provides: python-bussilab +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-bussilab +[![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/bussilab/py-bussilab)](https://github.com/bussilab/py-bussilab/tags) +[![PyPI](https://img.shields.io/pypi/v/bussilab)](https://pypi.org/project/bussilab/) +[![Conda](https://img.shields.io/conda/v/bussilab/py-bussilab)](https://anaconda.org/bussilab/py-bussilab) +[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/bussilab)](https://pypi.org/project/bussilab/) + +[![CI](https://github.com/bussilab/py-bussilab/workflows/CI/badge.svg)](https://github.com/bussilab/py-bussilab/actions?query=workflow%3ACI) +[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/bussilab/py-bussilab.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/bussilab/py-bussilab/context:python) +[![Total alerts](https://img.shields.io/lgtm/alerts/g/bussilab/py-bussilab.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/bussilab/py-bussilab/alerts/) +[![codecov](https://codecov.io/gh/bussilab/py-bussilab/branch/master/graph/badge.svg)](https://codecov.io/gh/bussilab/py-bussilab) + +A package collecting a heterogeneous set of tools. + +This package collects a number of tools that are useful enough to be distributed but too small to deserve being published as separate packages. +Source code is on [GitHub](https://github.com/bussilab/py-bussilab). +Documentation can be browsed at [this page](https://bussilab.github.io/doc-py-bussilab). + +To install package and dependencies with pip: + +``` +pip install bussilab +``` + +To install package and dependencies with conda: + +``` +conda install -c conda-forge -c bussilab py-bussilab +``` + +To install dependencies with macports, see [documentation](https://bussilab.github.io/doc-py-bussilab). + + +%package help +Summary: Development documents and examples for bussilab +Provides: python3-bussilab-doc +%description help +[![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/bussilab/py-bussilab)](https://github.com/bussilab/py-bussilab/tags) +[![PyPI](https://img.shields.io/pypi/v/bussilab)](https://pypi.org/project/bussilab/) +[![Conda](https://img.shields.io/conda/v/bussilab/py-bussilab)](https://anaconda.org/bussilab/py-bussilab) +[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/bussilab)](https://pypi.org/project/bussilab/) + +[![CI](https://github.com/bussilab/py-bussilab/workflows/CI/badge.svg)](https://github.com/bussilab/py-bussilab/actions?query=workflow%3ACI) +[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/bussilab/py-bussilab.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/bussilab/py-bussilab/context:python) +[![Total alerts](https://img.shields.io/lgtm/alerts/g/bussilab/py-bussilab.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/bussilab/py-bussilab/alerts/) +[![codecov](https://codecov.io/gh/bussilab/py-bussilab/branch/master/graph/badge.svg)](https://codecov.io/gh/bussilab/py-bussilab) + +A package collecting a heterogeneous set of tools. + +This package collects a number of tools that are useful enough to be distributed but too small to deserve being published as separate packages. +Source code is on [GitHub](https://github.com/bussilab/py-bussilab). +Documentation can be browsed at [this page](https://bussilab.github.io/doc-py-bussilab). + +To install package and dependencies with pip: + +``` +pip install bussilab +``` + +To install package and dependencies with conda: + +``` +conda install -c conda-forge -c bussilab py-bussilab +``` + +To install dependencies with macports, see [documentation](https://bussilab.github.io/doc-py-bussilab). + + +%prep +%autosetup -n bussilab-0.0.41 + +%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-bussilab -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot - 0.0.41-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..f9aeed4 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +d68afc4604d9694bea5747b4b59dfe3a bussilab-0.0.41.tar.gz -- cgit v1.2.3