diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-12 00:09:00 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 00:09:00 +0000 |
commit | 95a72615e32699760e01fe3d574e40c9fa30d568 (patch) | |
tree | 6719e5caf32f6c6ac49885087f708061f49bc788 | |
parent | 01d722fd3a7d2e29c27c114cb8278fcdb27b5ddd (diff) |
automatic import of python-advertools
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-advertools.spec | 113 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 115 insertions, 0 deletions
@@ -0,0 +1 @@ +/advertools-0.13.2.tar.gz diff --git a/python-advertools.spec b/python-advertools.spec new file mode 100644 index 0000000..e2e1d6e --- /dev/null +++ b/python-advertools.spec @@ -0,0 +1,113 @@ +%global _empty_manifest_terminate_build 0 +Name: python-advertools +Version: 0.13.2 +Release: 1 +Summary: Productivity and analysis tools for online marketing +License: MIT license +URL: https://github.com/eliasdabbas/advertools +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/89/d0/9330c51354f45b949f09137c87534f5736ee755db30a06265e4f44691a8f/advertools-0.13.2.tar.gz +BuildArch: noarch + +Requires: python3-pandas +Requires: python3-pyasn1 +Requires: python3-scrapy +Requires: python3-twython +Requires: python3-pyarrow + +%description +| A digital marketer is a data scientist. +| Your job is to manage, manipulate, visualize, communicate, understand, + and make decisions based on data. +You might be doing basic stuff, like copying and pasting text on spread +sheets, you might be running large scale automated platforms with +sophisticated algorithms, or somewhere in between. In any case your job +is all about working with data. +As a data scientist you don't spend most of your time producing cool +visualizations or finding great insights. The majority of your time is spent +wrangling with URLs, figuring out how to stitch together two tables, hoping +that the dates, won't break, without you knowing, or trying to generate the +next 124,538 keywords for an upcoming campaign, by the end of the week! +``advertools`` is a Python package that can hopefully make that part of your job a little easier. + +%package -n python3-advertools +Summary: Productivity and analysis tools for online marketing +Provides: python-advertools +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-advertools +| A digital marketer is a data scientist. +| Your job is to manage, manipulate, visualize, communicate, understand, + and make decisions based on data. +You might be doing basic stuff, like copying and pasting text on spread +sheets, you might be running large scale automated platforms with +sophisticated algorithms, or somewhere in between. In any case your job +is all about working with data. +As a data scientist you don't spend most of your time producing cool +visualizations or finding great insights. The majority of your time is spent +wrangling with URLs, figuring out how to stitch together two tables, hoping +that the dates, won't break, without you knowing, or trying to generate the +next 124,538 keywords for an upcoming campaign, by the end of the week! +``advertools`` is a Python package that can hopefully make that part of your job a little easier. + +%package help +Summary: Development documents and examples for advertools +Provides: python3-advertools-doc +%description help +| A digital marketer is a data scientist. +| Your job is to manage, manipulate, visualize, communicate, understand, + and make decisions based on data. +You might be doing basic stuff, like copying and pasting text on spread +sheets, you might be running large scale automated platforms with +sophisticated algorithms, or somewhere in between. In any case your job +is all about working with data. +As a data scientist you don't spend most of your time producing cool +visualizations or finding great insights. The majority of your time is spent +wrangling with URLs, figuring out how to stitch together two tables, hoping +that the dates, won't break, without you knowing, or trying to generate the +next 124,538 keywords for an upcoming campaign, by the end of the week! +``advertools`` is a Python package that can hopefully make that part of your job a little easier. + +%prep +%autosetup -n advertools-0.13.2 + +%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-advertools -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 0.13.2-1 +- Package Spec generated @@ -0,0 +1 @@ +e0a3b150951000ff3c6c5d0562e0a1bd advertools-0.13.2.tar.gz |