diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 12:14:15 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 12:14:15 +0000 |
| commit | 2e8c8d8586725252fcfcce41f9983927b01e45ce (patch) | |
| tree | fc2d37b28b424fc250c44da97c4a04860bc9ed16 /python-pybuilder.spec | |
| parent | f51d0c1378272a53e5ee04e4ead399aa011bea8a (diff) | |
automatic import of python-pybuilder
Diffstat (limited to 'python-pybuilder.spec')
| -rw-r--r-- | python-pybuilder.spec | 192 |
1 files changed, 192 insertions, 0 deletions
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 +[](https://twitter.com/intent/follow?screen_name=pybuilder_) +[](https://gitter.im/pybuilder/pybuilder) +[](https://github.com/pybuilder/pybuilder/actions/workflows/pybuilder.yml) +[](https://coveralls.io/r/pybuilder/pybuilder?branch=master) +[](https://pypi.org/project/pybuilder/) +[](https://pypi.org/project/pybuilder/) +[](https://pypi.org/project/pybuilder/) +[](https://pypi.org/project/pybuilder/) +[](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 +[](https://twitter.com/intent/follow?screen_name=pybuilder_) +[](https://gitter.im/pybuilder/pybuilder) +[](https://github.com/pybuilder/pybuilder/actions/workflows/pybuilder.yml) +[](https://coveralls.io/r/pybuilder/pybuilder?branch=master) +[](https://pypi.org/project/pybuilder/) +[](https://pypi.org/project/pybuilder/) +[](https://pypi.org/project/pybuilder/) +[](https://pypi.org/project/pybuilder/) +[](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 +[](https://twitter.com/intent/follow?screen_name=pybuilder_) +[](https://gitter.im/pybuilder/pybuilder) +[](https://github.com/pybuilder/pybuilder/actions/workflows/pybuilder.yml) +[](https://coveralls.io/r/pybuilder/pybuilder?branch=master) +[](https://pypi.org/project/pybuilder/) +[](https://pypi.org/project/pybuilder/) +[](https://pypi.org/project/pybuilder/) +[](https://pypi.org/project/pybuilder/) +[](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 <Python_Bot@openeuler.org> - 0.13.9-1 +- Package Spec generated |
