diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 14:08:08 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 14:08:08 +0000 |
| commit | 1f9edc1ccac1ea89acfd583ea85f0c10ede15eeb (patch) | |
| tree | 6003a291d4ce5f7436a0319eb8252a118b02d0c1 | |
| parent | cd10d28ae6a9495aef9c4ca9854fe91807c2ba59 (diff) | |
automatic import of python-equitiesopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-equities.spec | 76 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 78 insertions, 0 deletions
@@ -0,0 +1 @@ +/equities-4.2.12.tar.gz diff --git a/python-equities.spec b/python-equities.spec new file mode 100644 index 0000000..abd4cdc --- /dev/null +++ b/python-equities.spec @@ -0,0 +1,76 @@ +%global _empty_manifest_terminate_build 0 +Name: python-equities +Version: 4.2.12 +Release: 1 +Summary: equities aims to democratize access to public company data. +License: MIT License +URL: https://github.com/ljc-codes/equities.git +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/cc/37/dfbe318d3d17a3276a90617185af43d12e3e97523a47b6d355b497e4a210/equities-4.2.12.tar.gz +BuildArch: noarch + +Requires: python3-solaris-api +Requires: python3-pandas +Requires: python3-pytrends +Requires: python3-yfinance + +%description + + +%package -n python3-equities +Summary: equities aims to democratize access to public company data. +Provides: python-equities +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-equities + + +%package help +Summary: Development documents and examples for equities +Provides: python3-equities-doc +%description help + + +%prep +%autosetup -n equities-4.2.12 + +%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-equities -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 4.2.12-1 +- Package Spec generated @@ -0,0 +1 @@ +be821d1c4877e9b989a971b34decb40d equities-4.2.12.tar.gz |
