diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-31 03:57:51 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-31 03:57:51 +0000 |
commit | 1e1d7bcc06f319c4f9b8668309f1a7927fad14f6 (patch) | |
tree | 9173a20659d58400c134127f1c46b98548a3477c | |
parent | fd0e1d5fc9cd2e7c380237f88c6e456550292963 (diff) |
automatic import of python-setuptools-pipfile
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-setuptools-pipfile.spec | 167 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 169 insertions, 0 deletions
@@ -0,0 +1 @@ +/setuptools-pipfile-0.7.0.tar.gz diff --git a/python-setuptools-pipfile.spec b/python-setuptools-pipfile.spec new file mode 100644 index 0000000..5186183 --- /dev/null +++ b/python-setuptools-pipfile.spec @@ -0,0 +1,167 @@ +%global _empty_manifest_terminate_build 0 +Name: python-setuptools-pipfile +Version: 0.7.0 +Release: 1 +Summary: Dependency management via Pipfile +License: MIT +URL: https://github.com/asyncon/setuptools-pipfile +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/32/01/a663f10cc1e5007c30aa422e71f539e55243b2af309916d486d2124f925c/setuptools-pipfile-0.7.0.tar.gz +BuildArch: noarch + +Requires: python3-toml +Requires: python3-mkdocs-material + +%description +# setuptools-pipfile + +Dependency management via Pipfile + +[](https://github.com/asyncon/setuptools-pipfile/actions/workflows/ci.yml) +[](https://setuptools-pipfile.readthedocs.io/en/latest/?badge=latest) +[](https://codecov.io/gh/asyncon/setuptools-pipfile/branch/master) +[](https://github.com/asyncon/setuptools-pipfile/blob/master/LICENSE) +[](https://pypi.org/project/setuptools-pipfile/) +[](https://pypi.org/project/setuptools-pipfile/) +[](https://pepy.tech/project/setuptools-pipfile) + +## Overview + +In basic mode setuptools-pipfile does the following: + +- Populates `install_requires` from the packages table. +- Populates `tests_require` from the dev-packages table. +- Populates `dependency_links` from the source tables if needed by dependencies. + +Advanced configuration can be used to control: + +- The path to the Pipfile. +- Variable interpolation. +- Removing indexes from `dependency_links`. +- Activate and control populating `extras_require`. +- Control populating `python_requires`. + +All documentation is located [here](https://setuptools-pipfile.readthedocs.io). + + + + +%package -n python3-setuptools-pipfile +Summary: Dependency management via Pipfile +Provides: python-setuptools-pipfile +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-setuptools-pipfile +# setuptools-pipfile + +Dependency management via Pipfile + +[](https://github.com/asyncon/setuptools-pipfile/actions/workflows/ci.yml) +[](https://setuptools-pipfile.readthedocs.io/en/latest/?badge=latest) +[](https://codecov.io/gh/asyncon/setuptools-pipfile/branch/master) +[](https://github.com/asyncon/setuptools-pipfile/blob/master/LICENSE) +[](https://pypi.org/project/setuptools-pipfile/) +[](https://pypi.org/project/setuptools-pipfile/) +[](https://pepy.tech/project/setuptools-pipfile) + +## Overview + +In basic mode setuptools-pipfile does the following: + +- Populates `install_requires` from the packages table. +- Populates `tests_require` from the dev-packages table. +- Populates `dependency_links` from the source tables if needed by dependencies. + +Advanced configuration can be used to control: + +- The path to the Pipfile. +- Variable interpolation. +- Removing indexes from `dependency_links`. +- Activate and control populating `extras_require`. +- Control populating `python_requires`. + +All documentation is located [here](https://setuptools-pipfile.readthedocs.io). + + + + +%package help +Summary: Development documents and examples for setuptools-pipfile +Provides: python3-setuptools-pipfile-doc +%description help +# setuptools-pipfile + +Dependency management via Pipfile + +[](https://github.com/asyncon/setuptools-pipfile/actions/workflows/ci.yml) +[](https://setuptools-pipfile.readthedocs.io/en/latest/?badge=latest) +[](https://codecov.io/gh/asyncon/setuptools-pipfile/branch/master) +[](https://github.com/asyncon/setuptools-pipfile/blob/master/LICENSE) +[](https://pypi.org/project/setuptools-pipfile/) +[](https://pypi.org/project/setuptools-pipfile/) +[](https://pepy.tech/project/setuptools-pipfile) + +## Overview + +In basic mode setuptools-pipfile does the following: + +- Populates `install_requires` from the packages table. +- Populates `tests_require` from the dev-packages table. +- Populates `dependency_links` from the source tables if needed by dependencies. + +Advanced configuration can be used to control: + +- The path to the Pipfile. +- Variable interpolation. +- Removing indexes from `dependency_links`. +- Activate and control populating `extras_require`. +- Control populating `python_requires`. + +All documentation is located [here](https://setuptools-pipfile.readthedocs.io). + + + + +%prep +%autosetup -n setuptools-pipfile-0.7.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-setuptools-pipfile -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.0-1 +- Package Spec generated @@ -0,0 +1 @@ +4491b78677898711074ed7f9b3f2799a setuptools-pipfile-0.7.0.tar.gz |