summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 00:50:59 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 00:50:59 +0000
commit4258187075fbfb518837ad8bc1f602fae6b5cd74 (patch)
treeafa9f9d1b0a4dd03e0e3a06d39ead65f4aeaaa2d
parent218797e507d3029f67c35243249a1834353b8468 (diff)
automatic import of python-flupy
-rw-r--r--.gitignore1
-rw-r--r--python-flupy.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..9dec632 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/flupy-1.2.0.tar.gz
diff --git a/python-flupy.spec b/python-flupy.spec
new file mode 100644
index 0000000..ba79aec
--- /dev/null
+++ b/python-flupy.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-flupy
+Version: 1.2.0
+Release: 1
+Summary: Method chaining built on generators
+License: MIT
+URL: https://github.com/olirice/flupy
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a7/de/1deb2c90e059804c032708db8d248897f51a18c28609e39a003e050046d7/flupy-1.2.0.tar.gz
+BuildArch: noarch
+
+
+%description
+<placeholder>
+
+%package -n python3-flupy
+Summary: Method chaining built on generators
+Provides: python-flupy
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-flupy
+<placeholder>
+
+%package help
+Summary: Development documents and examples for flupy
+Provides: python3-flupy-doc
+%description help
+<placeholder>
+
+%prep
+%autosetup -n flupy-1.2.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-flupy -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d69d850
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6b529490971f2d3b62394dcd2a3e4480 flupy-1.2.0.tar.gz