diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-24 06:55:13 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-24 06:55:13 +0000 |
commit | 323e470ed07fa9995bff60457a7617771d3015c6 (patch) | |
tree | b71d2db0270d231f0eecce98f7a3d3183d524650 | |
parent | 0952b3bcd4f32f6bb5d6804c950b317ca3067254 (diff) |
automatic import of python3-daiquiriopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-daiquiri.spec | 74 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 76 insertions, 0 deletions
@@ -0,0 +1 @@ +/daiquiri-3.2.1.tar.gz diff --git a/python-daiquiri.spec b/python-daiquiri.spec new file mode 100644 index 0000000..8bd2ac8 --- /dev/null +++ b/python-daiquiri.spec @@ -0,0 +1,74 @@ +%global _empty_manifest_terminate_build 0 +Name: python-daiquiri +Version: 3.2.1 +Release: 1 +Summary: Library to configure Python logging easily +License: Apache 2.0 +URL: https://github.com/Mergifyio/daiquiri +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b8/c7/5409a7999ba9a448e56e8ef66bb5b4d19e286f87877436c53bce91bd07bc/daiquiri-3.2.1.tar.gz +BuildArch: noarch + +Requires: python3-json-logger +Requires: python3-systemd-python +Requires: python3-pytest + +%description + + +%package -n python3-daiquiri +Summary: Library to configure Python logging easily +Provides: python-daiquiri +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-daiquiri + + +%package help +Summary: Development documents and examples for daiquiri +Provides: python3-daiquiri-doc +%description help + + +%prep +%autosetup -n daiquiri-3.2.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-daiquiri -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri Feb 24 2023 Python_Bot <Python_Bot@openeuler.org> - 3.2.1-1 +- Package Spec generated @@ -0,0 +1 @@ +c33da8db70c532b764b5035b32525cee daiquiri-3.2.1.tar.gz |