From 2e8c8d8586725252fcfcce41f9983927b01e45ce Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 11 Apr 2023 12:14:15 +0000 Subject: automatic import of python-pybuilder --- .gitignore | 1 + python-pybuilder.spec | 192 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 194 insertions(+) create mode 100644 python-pybuilder.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..78df7e8 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pybuilder-0.13.9.tar.gz diff --git a/python-pybuilder.spec b/python-pybuilder.spec new file mode 100644 index 0000000..4759e39 --- /dev/null +++ b/python-pybuilder.spec @@ -0,0 +1,192 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pybuilder +Version: 0.13.9 +Release: 1 +Summary: PyBuilder — an easy-to-use build automation tool for Python. +License: Apache License, Version 2.0 +URL: https://pybuilder.io +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f6/5d/67b4169d9340639a14eabea22046ff82ed941dd0491d3a6634b00df32b5b/pybuilder-0.13.9.tar.gz +BuildArch: noarch + + +%description +[![Follow PyBuilder on Twitter](https://img.shields.io/twitter/follow/pybuilder_?label=Follow%20PyBuilder&style=social)](https://twitter.com/intent/follow?screen_name=pybuilder_) +[![Gitter](https://img.shields.io/gitter/room/pybuilder/pybuilder?logo=gitter)](https://gitter.im/pybuilder/pybuilder) +[![Build Status](https://img.shields.io/github/actions/workflow/status/pybuilder/pybuilder/pybuilder.yml?branch=master)](https://github.com/pybuilder/pybuilder/actions/workflows/pybuilder.yml) +[![Coverage Status](https://img.shields.io/coveralls/github/pybuilder/pybuilder/master?logo=coveralls)](https://coveralls.io/r/pybuilder/pybuilder?branch=master) +[![PyBuilder Version](https://img.shields.io/pypi/v/pybuilder?logo=pypi)](https://pypi.org/project/pybuilder/) +[![PyBuilder Python Versions](https://img.shields.io/pypi/pyversions/pybuilder?logo=pypi)](https://pypi.org/project/pybuilder/) +[![PyBuilder Downloads Per Day](https://img.shields.io/pypi/dd/pybuilder?logo=pypi)](https://pypi.org/project/pybuilder/) +[![PyBuilder Downloads Per Week](https://img.shields.io/pypi/dw/pybuilder?logo=pypi)](https://pypi.org/project/pybuilder/) +[![PyBuilder Downloads Per Month](https://img.shields.io/pypi/dm/pybuilder?logo=pypi)](https://pypi.org/project/pybuilder/) +PyBuilder is a software build tool written in 100% pure Python, mainly +targeting Python applications. +PyBuilder is based on the concept of dependency based programming, but it also +comes with a powerful plugin mechanism, allowing the construction of build life +cycles similar to those known from other famous (Java) build tools. +PyBuilder is running on the following versions of Python 3.7, 3.8, 3.9, 3.10, 3.11 and PyPy 3.7, 3.8 and 3.9. +See the [GitHub Actions Workflow](https://github.com/pybuilder/pybuilder/actions/workflows/pybuilder.yml) for version specific output. +## Installing +PyBuilder is available using pip: + $ pip install pybuilder +For development builds use: + $ pip install --pre pybuilder +See the [PyPI](https://pypi.org/project/pybuilder/) for more information. +## Getting started +PyBuilder emphasizes simplicity. If you want to build a pure Python project and +use the recommended directory layout, all you have to do is create a file +build.py with the following content: +```python +from pybuilder.core import use_plugin +use_plugin("python.core") +use_plugin("python.unittest") +use_plugin("python.coverage") +use_plugin("python.distutils") +default_task = "publish" +``` +See the [PyBuilder homepage](https://pybuilder.io) for more details and +a list of plugins. +## Release Notes +The release notes can be found [here](https://pybuilder.io/release-notes/). +There will also be a git tag with each release. Please note that we do not currently promote tags to GitHub "releases". +## Development +See [Developing PyBuilder](https://pybuilder.io/documentation/developing-pybuilder) + +%package -n python3-pybuilder +Summary: PyBuilder — an easy-to-use build automation tool for Python. +Provides: python-pybuilder +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pybuilder +[![Follow PyBuilder on Twitter](https://img.shields.io/twitter/follow/pybuilder_?label=Follow%20PyBuilder&style=social)](https://twitter.com/intent/follow?screen_name=pybuilder_) +[![Gitter](https://img.shields.io/gitter/room/pybuilder/pybuilder?logo=gitter)](https://gitter.im/pybuilder/pybuilder) +[![Build Status](https://img.shields.io/github/actions/workflow/status/pybuilder/pybuilder/pybuilder.yml?branch=master)](https://github.com/pybuilder/pybuilder/actions/workflows/pybuilder.yml) +[![Coverage Status](https://img.shields.io/coveralls/github/pybuilder/pybuilder/master?logo=coveralls)](https://coveralls.io/r/pybuilder/pybuilder?branch=master) +[![PyBuilder Version](https://img.shields.io/pypi/v/pybuilder?logo=pypi)](https://pypi.org/project/pybuilder/) +[![PyBuilder Python Versions](https://img.shields.io/pypi/pyversions/pybuilder?logo=pypi)](https://pypi.org/project/pybuilder/) +[![PyBuilder Downloads Per Day](https://img.shields.io/pypi/dd/pybuilder?logo=pypi)](https://pypi.org/project/pybuilder/) +[![PyBuilder Downloads Per Week](https://img.shields.io/pypi/dw/pybuilder?logo=pypi)](https://pypi.org/project/pybuilder/) +[![PyBuilder Downloads Per Month](https://img.shields.io/pypi/dm/pybuilder?logo=pypi)](https://pypi.org/project/pybuilder/) +PyBuilder is a software build tool written in 100% pure Python, mainly +targeting Python applications. +PyBuilder is based on the concept of dependency based programming, but it also +comes with a powerful plugin mechanism, allowing the construction of build life +cycles similar to those known from other famous (Java) build tools. +PyBuilder is running on the following versions of Python 3.7, 3.8, 3.9, 3.10, 3.11 and PyPy 3.7, 3.8 and 3.9. +See the [GitHub Actions Workflow](https://github.com/pybuilder/pybuilder/actions/workflows/pybuilder.yml) for version specific output. +## Installing +PyBuilder is available using pip: + $ pip install pybuilder +For development builds use: + $ pip install --pre pybuilder +See the [PyPI](https://pypi.org/project/pybuilder/) for more information. +## Getting started +PyBuilder emphasizes simplicity. If you want to build a pure Python project and +use the recommended directory layout, all you have to do is create a file +build.py with the following content: +```python +from pybuilder.core import use_plugin +use_plugin("python.core") +use_plugin("python.unittest") +use_plugin("python.coverage") +use_plugin("python.distutils") +default_task = "publish" +``` +See the [PyBuilder homepage](https://pybuilder.io) for more details and +a list of plugins. +## Release Notes +The release notes can be found [here](https://pybuilder.io/release-notes/). +There will also be a git tag with each release. Please note that we do not currently promote tags to GitHub "releases". +## Development +See [Developing PyBuilder](https://pybuilder.io/documentation/developing-pybuilder) + +%package help +Summary: Development documents and examples for pybuilder +Provides: python3-pybuilder-doc +%description help +[![Follow PyBuilder on Twitter](https://img.shields.io/twitter/follow/pybuilder_?label=Follow%20PyBuilder&style=social)](https://twitter.com/intent/follow?screen_name=pybuilder_) +[![Gitter](https://img.shields.io/gitter/room/pybuilder/pybuilder?logo=gitter)](https://gitter.im/pybuilder/pybuilder) +[![Build Status](https://img.shields.io/github/actions/workflow/status/pybuilder/pybuilder/pybuilder.yml?branch=master)](https://github.com/pybuilder/pybuilder/actions/workflows/pybuilder.yml) +[![Coverage Status](https://img.shields.io/coveralls/github/pybuilder/pybuilder/master?logo=coveralls)](https://coveralls.io/r/pybuilder/pybuilder?branch=master) +[![PyBuilder Version](https://img.shields.io/pypi/v/pybuilder?logo=pypi)](https://pypi.org/project/pybuilder/) +[![PyBuilder Python Versions](https://img.shields.io/pypi/pyversions/pybuilder?logo=pypi)](https://pypi.org/project/pybuilder/) +[![PyBuilder Downloads Per Day](https://img.shields.io/pypi/dd/pybuilder?logo=pypi)](https://pypi.org/project/pybuilder/) +[![PyBuilder Downloads Per Week](https://img.shields.io/pypi/dw/pybuilder?logo=pypi)](https://pypi.org/project/pybuilder/) +[![PyBuilder Downloads Per Month](https://img.shields.io/pypi/dm/pybuilder?logo=pypi)](https://pypi.org/project/pybuilder/) +PyBuilder is a software build tool written in 100% pure Python, mainly +targeting Python applications. +PyBuilder is based on the concept of dependency based programming, but it also +comes with a powerful plugin mechanism, allowing the construction of build life +cycles similar to those known from other famous (Java) build tools. +PyBuilder is running on the following versions of Python 3.7, 3.8, 3.9, 3.10, 3.11 and PyPy 3.7, 3.8 and 3.9. +See the [GitHub Actions Workflow](https://github.com/pybuilder/pybuilder/actions/workflows/pybuilder.yml) for version specific output. +## Installing +PyBuilder is available using pip: + $ pip install pybuilder +For development builds use: + $ pip install --pre pybuilder +See the [PyPI](https://pypi.org/project/pybuilder/) for more information. +## Getting started +PyBuilder emphasizes simplicity. If you want to build a pure Python project and +use the recommended directory layout, all you have to do is create a file +build.py with the following content: +```python +from pybuilder.core import use_plugin +use_plugin("python.core") +use_plugin("python.unittest") +use_plugin("python.coverage") +use_plugin("python.distutils") +default_task = "publish" +``` +See the [PyBuilder homepage](https://pybuilder.io) for more details and +a list of plugins. +## Release Notes +The release notes can be found [here](https://pybuilder.io/release-notes/). +There will also be a git tag with each release. Please note that we do not currently promote tags to GitHub "releases". +## Development +See [Developing PyBuilder](https://pybuilder.io/documentation/developing-pybuilder) + +%prep +%autosetup -n pybuilder-0.13.9 + +%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-pybuilder -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot - 0.13.9-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..dc408b0 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +845716b3130f15956106d2b325f2087a pybuilder-0.13.9.tar.gz -- cgit v1.2.3