diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-29 11:07:40 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 11:07:40 +0000 |
| commit | b2baf122085bb0de45b156f2f2516006078594a8 (patch) | |
| tree | 91d2ffc1f9b463e14ee982db23e7b6c2f5aad974 | |
| parent | 8495e4cca302c39ff63ce2db209766e6bac38c90 (diff) | |
automatic import of python-blazeform
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-blazeform.spec | 85 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 87 insertions, 0 deletions
@@ -0,0 +1 @@ +/BlazeForm-0.5.1.tar.gz diff --git a/python-blazeform.spec b/python-blazeform.spec new file mode 100644 index 0000000..153d1e1 --- /dev/null +++ b/python-blazeform.spec @@ -0,0 +1,85 @@ +%global _empty_manifest_terminate_build 0 +Name: python-BlazeForm +Version: 0.5.1 +Release: 1 +Summary: A library for generating and validating HTML forms +License: BSD +URL: https://github.com/blazelibs/blazeform +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/82/7f/ad825a725db4ca36ad901d22a7aaba08b688e68ab6f1780f4a36f4fac158/BlazeForm-0.5.1.tar.gz +BuildArch: noarch + +Requires: python3-FormEncode +Requires: python3-BlazeUtils +Requires: python3-WebHelpers2 +Requires: python3-codecov +Requires: python3-coverage +Requires: python3-dnspython +Requires: python3-flake8 +Requires: python3-nose +Requires: python3-tox +Requires: python3-wheel + +%description +BlazeForm is a library designed to facilitate the rendering/processing/validating +of HTML forms. + +%package -n python3-BlazeForm +Summary: A library for generating and validating HTML forms +Provides: python-BlazeForm +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-BlazeForm +BlazeForm is a library designed to facilitate the rendering/processing/validating +of HTML forms. + +%package help +Summary: Development documents and examples for BlazeForm +Provides: python3-BlazeForm-doc +%description help +BlazeForm is a library designed to facilitate the rendering/processing/validating +of HTML forms. + +%prep +%autosetup -n BlazeForm-0.5.1 + +%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-BlazeForm -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.1-1 +- Package Spec generated @@ -0,0 +1 @@ +d4f2a335d9c472ba20b19f7f590da68a BlazeForm-0.5.1.tar.gz |
