summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 09:42:29 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 09:42:29 +0000
commitaa673dd574c10e9f0edc65d404fc856fe2a445a0 (patch)
tree7fc048399d3a2a554fc75ef08350543b9789d4f7
parent9e3523179d6bfbd75e4509ce7c4894d46f8047ea (diff)
automatic import of python-holdingsparseropeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-holdingsparser.spec77
-rw-r--r--sources1
3 files changed, 79 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7ad3070 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/holdingsparser-3.0.3.tar.gz
diff --git a/python-holdingsparser.spec b/python-holdingsparser.spec
new file mode 100644
index 0000000..d3cf996
--- /dev/null
+++ b/python-holdingsparser.spec
@@ -0,0 +1,77 @@
+%global _empty_manifest_terminate_build 0
+Name: python-holdingsparser
+Version: 3.0.3
+Release: 1
+Summary: A program that parses 13F reports filed with the SEC.
+License: MIT
+URL: https://github.com/mhadam/holdingsparser
+Source0: https://mirrors.aliyun.com/pypi/web/packages/26/31/a106465869fa65e280251b334dfb89b54981c7427df00a056c46db138703/holdingsparser-3.0.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-beautifulsoup4
+Requires: python3-requests
+Requires: python3-typer[all]
+Requires: python3-requests-random-user-agent
+Requires: python3-untangle
+
+%description
+
+
+%package -n python3-holdingsparser
+Summary: A program that parses 13F reports filed with the SEC.
+Provides: python-holdingsparser
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-holdingsparser
+
+
+%package help
+Summary: Development documents and examples for holdingsparser
+Provides: python3-holdingsparser-doc
+%description help
+
+
+%prep
+%autosetup -n holdingsparser-3.0.3
+
+%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-holdingsparser -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..3fa11ba
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ee9e1290e9b71ccae59130ff20bc9602 holdingsparser-3.0.3.tar.gz