diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 09:43:58 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 09:43:58 +0000 |
commit | 27dbd486f25dd165b05235e76992dcb03fc6abeb (patch) | |
tree | 9ad81e4cc79b7c67d9709d936114b8ed6c8445e4 | |
parent | 22083f8dea505a4793e27026f7ba808871779a7a (diff) |
automatic import of python-fundamentalsopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-fundamentals.spec | 162 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 164 insertions, 0 deletions
@@ -0,0 +1 @@ +/fundamentals-2.3.12.tar.gz diff --git a/python-fundamentals.spec b/python-fundamentals.spec new file mode 100644 index 0000000..26c2c63 --- /dev/null +++ b/python-fundamentals.spec @@ -0,0 +1,162 @@ +%global _empty_manifest_terminate_build 0 +Name: python-fundamentals +Version: 2.3.12 +Release: 1 +Summary: Some fundamental tools required by most self-respecting python-packages bundled in one place. Very opinionated project setup tools including logging, plain-text settings files and database connections. +License: MIT +URL: https://github.com/thespacedoctor/fundamentals +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2d/7e/cb3bf993174c3ea24c42a151f41cae2ab543f6703656c1158cebbc704157/fundamentals-2.3.12.tar.gz +BuildArch: noarch + + +%description +# fundamentals + +<!-- INFO BADGES --> + +[](https://pypi.org/project/fundamentals/) +[](https://pypi.org/project/fundamentals/) +[](https://anaconda.org/conda-forge/fundamentals) +[](https://pepy.tech/project/fundamentals) +[](https://github.com/thespacedoctor/fundamentals) + +<!-- STATUS BADGES --> + +[](http://157.245.42.153:8080/blue/organizations/jenkins/fundamentals/activity?branch=master) +[](http://157.245.42.153:8080/blue/organizations/jenkins/fundamentals/activity?branch=develop) +[](https://raw.githack.com/thespacedoctor/fundamentals/master/htmlcov/index.html) +[](https://fundamentals.readthedocs.io/en/master/) +[](https://github.com/thespacedoctor/fundamentals/issues?q=is%3Aissue+is%3Aopen+label%3A%22type%3A+bug%22+) + +*Some fundamental tools required by most self-respecting python-packages bundled in one place. Very opinionated project setup tools including logging, plain-text settings files and database connections*. + +Documentation for fundamentals is hosted by [Read the Docs](https://fundamentals.readthedocs.io/en/master/) ([development version](https://fundamentals.readthedocs.io/en/develop/) and [master version](https://fundamentals.readthedocs.io/en/master/)). The code lives on [github](https://github.com/thespacedoctor/fundamentals). Please report any issues you find [here](https://github.com/thespacedoctor/fundamentals/issues). + +## Features + +* + + + + + + + +%package -n python3-fundamentals +Summary: Some fundamental tools required by most self-respecting python-packages bundled in one place. Very opinionated project setup tools including logging, plain-text settings files and database connections. +Provides: python-fundamentals +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-fundamentals +# fundamentals + +<!-- INFO BADGES --> + +[](https://pypi.org/project/fundamentals/) +[](https://pypi.org/project/fundamentals/) +[](https://anaconda.org/conda-forge/fundamentals) +[](https://pepy.tech/project/fundamentals) +[](https://github.com/thespacedoctor/fundamentals) + +<!-- STATUS BADGES --> + +[](http://157.245.42.153:8080/blue/organizations/jenkins/fundamentals/activity?branch=master) +[](http://157.245.42.153:8080/blue/organizations/jenkins/fundamentals/activity?branch=develop) +[](https://raw.githack.com/thespacedoctor/fundamentals/master/htmlcov/index.html) +[](https://fundamentals.readthedocs.io/en/master/) +[](https://github.com/thespacedoctor/fundamentals/issues?q=is%3Aissue+is%3Aopen+label%3A%22type%3A+bug%22+) + +*Some fundamental tools required by most self-respecting python-packages bundled in one place. Very opinionated project setup tools including logging, plain-text settings files and database connections*. + +Documentation for fundamentals is hosted by [Read the Docs](https://fundamentals.readthedocs.io/en/master/) ([development version](https://fundamentals.readthedocs.io/en/develop/) and [master version](https://fundamentals.readthedocs.io/en/master/)). The code lives on [github](https://github.com/thespacedoctor/fundamentals). Please report any issues you find [here](https://github.com/thespacedoctor/fundamentals/issues). + +## Features + +* + + + + + + + +%package help +Summary: Development documents and examples for fundamentals +Provides: python3-fundamentals-doc +%description help +# fundamentals + +<!-- INFO BADGES --> + +[](https://pypi.org/project/fundamentals/) +[](https://pypi.org/project/fundamentals/) +[](https://anaconda.org/conda-forge/fundamentals) +[](https://pepy.tech/project/fundamentals) +[](https://github.com/thespacedoctor/fundamentals) + +<!-- STATUS BADGES --> + +[](http://157.245.42.153:8080/blue/organizations/jenkins/fundamentals/activity?branch=master) +[](http://157.245.42.153:8080/blue/organizations/jenkins/fundamentals/activity?branch=develop) +[](https://raw.githack.com/thespacedoctor/fundamentals/master/htmlcov/index.html) +[](https://fundamentals.readthedocs.io/en/master/) +[](https://github.com/thespacedoctor/fundamentals/issues?q=is%3Aissue+is%3Aopen+label%3A%22type%3A+bug%22+) + +*Some fundamental tools required by most self-respecting python-packages bundled in one place. Very opinionated project setup tools including logging, plain-text settings files and database connections*. + +Documentation for fundamentals is hosted by [Read the Docs](https://fundamentals.readthedocs.io/en/master/) ([development version](https://fundamentals.readthedocs.io/en/develop/) and [master version](https://fundamentals.readthedocs.io/en/master/)). The code lives on [github](https://github.com/thespacedoctor/fundamentals). Please report any issues you find [here](https://github.com/thespacedoctor/fundamentals/issues). + +## Features + +* + + + + + + + +%prep +%autosetup -n fundamentals-2.3.12 + +%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-fundamentals -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 2.3.12-1 +- Package Spec generated @@ -0,0 +1 @@ +4d24cef72cbdac135c1559dda5cf1266 fundamentals-2.3.12.tar.gz |