diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 16:31:20 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 16:31:20 +0000 |
| commit | 0b4815a651a65fac577d8b005fc939212f8d59c6 (patch) | |
| tree | 6956cff1d7288fded62b492360edc67a4689bf4d /python-pipfile.spec | |
| parent | c7795f6a9a300ad0924f0abf3183fde25e5674b9 (diff) | |
automatic import of python-pipfile
Diffstat (limited to 'python-pipfile.spec')
| -rw-r--r-- | python-pipfile.spec | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/python-pipfile.spec b/python-pipfile.spec new file mode 100644 index 0000000..b113a87 --- /dev/null +++ b/python-pipfile.spec @@ -0,0 +1,78 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pipfile +Version: 0.0.2 +Release: 1 +Summary: please add a summary manually as the author left a blank one +License: BSD or Apache License, Version 2.0 +URL: https://github.com/pypa/pipfile +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3a/01/4486ea9606ef8467c39b0cf6ea414eb4de5467dcb4a97333cf11a371cfd2/pipfile-0.0.2.tar.gz +BuildArch: noarch + + +%description +``Pipfile`` and its sister ``Pipfile.lock`` are a replacement for the existing standard `pip`_'s ``requirements.txt`` file. + WARNING: This project is under active design and development. Nothing is set in stone at this point of time. +This repository contains the design specification of the ``Pipfile`` format, as well as (soon) an implementation of a parser for the specification which can be used by `pip`_ and any other consumer, once the design (including the form of a ``Pipfile`` itself) has been built out and finalized. + +%package -n python3-pipfile +Summary: please add a summary manually as the author left a blank one +Provides: python-pipfile +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pipfile +``Pipfile`` and its sister ``Pipfile.lock`` are a replacement for the existing standard `pip`_'s ``requirements.txt`` file. + WARNING: This project is under active design and development. Nothing is set in stone at this point of time. +This repository contains the design specification of the ``Pipfile`` format, as well as (soon) an implementation of a parser for the specification which can be used by `pip`_ and any other consumer, once the design (including the form of a ``Pipfile`` itself) has been built out and finalized. + +%package help +Summary: Development documents and examples for pipfile +Provides: python3-pipfile-doc +%description help +``Pipfile`` and its sister ``Pipfile.lock`` are a replacement for the existing standard `pip`_'s ``requirements.txt`` file. + WARNING: This project is under active design and development. Nothing is set in stone at this point of time. +This repository contains the design specification of the ``Pipfile`` format, as well as (soon) an implementation of a parser for the specification which can be used by `pip`_ and any other consumer, once the design (including the form of a ``Pipfile`` itself) has been built out and finalized. + +%prep +%autosetup -n pipfile-0.0.2 + +%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-pipfile -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.2-1 +- Package Spec generated |
