diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-03-07 13:06:11 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-03-07 13:06:11 +0000 |
commit | 71ad802a230a6c48a4e6fd0bf2f08858d418c976 (patch) | |
tree | 2183fc8d37d7fdfb7e237dc200aae5df012c350a | |
parent | 2d9b662a77cde33812e7d92928a72ba73d945b4b (diff) |
automatic import of python-agate
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-agate.spec | 174 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 176 insertions, 0 deletions
@@ -0,0 +1 @@ +/agate-1.7.1.tar.gz diff --git a/python-agate.spec b/python-agate.spec new file mode 100644 index 0000000..d1d1b58 --- /dev/null +++ b/python-agate.spec @@ -0,0 +1,174 @@ +%global _empty_manifest_terminate_build 0 +Name: python-agate +Version: 1.7.1 +Release: 1 +Summary: A data analysis library that is optimized for humans instead of machines. +License: MIT +URL: http://agate.readthedocs.org/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/07/12/c95569f05a85164e14ba13f974dca942a75b727bedab3925f2a29e175589/agate-1.7.1.tar.gz +BuildArch: noarch + +Requires: python3-Babel +Requires: python3-isodate +Requires: python3-leather +Requires: python3-parsedatetime +Requires: python3-slugify +Requires: python3-pytimeparse +Requires: python3-Sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-coverage +Requires: python3-cssselect +Requires: python3-lxml +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytz +Requires: python3-PyICU + +%description +.. image:: https://github.com/wireservice/agate/workflows/CI/badge.svg + :target: https://github.com/wireservice/agate/actions + :alt: Build status + +.. image:: https://img.shields.io/pypi/dm/agate.svg + :target: https://pypi.python.org/pypi/agate + :alt: PyPI downloads + +.. image:: https://img.shields.io/pypi/v/agate.svg + :target: https://pypi.python.org/pypi/agate + :alt: Version + +.. image:: https://img.shields.io/pypi/l/agate.svg + :target: https://pypi.python.org/pypi/agate + :alt: License + +.. image:: https://img.shields.io/pypi/pyversions/agate.svg + :target: https://pypi.python.org/pypi/agate + :alt: Support Python versions + +agate is a Python data analysis library that is optimized for humans instead of machines. It is an alternative to numpy and pandas that solves real-world problems with readable code. + +agate was previously known as journalism. + +Important links: + +* Documentation: http://agate.rtfd.org +* Repository: https://github.com/wireservice/agate +* Issues: https://github.com/wireservice/agate/issues + + +%package -n python3-agate +Summary: A data analysis library that is optimized for humans instead of machines. +Provides: python-agate +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-agate +.. image:: https://github.com/wireservice/agate/workflows/CI/badge.svg + :target: https://github.com/wireservice/agate/actions + :alt: Build status + +.. image:: https://img.shields.io/pypi/dm/agate.svg + :target: https://pypi.python.org/pypi/agate + :alt: PyPI downloads + +.. image:: https://img.shields.io/pypi/v/agate.svg + :target: https://pypi.python.org/pypi/agate + :alt: Version + +.. image:: https://img.shields.io/pypi/l/agate.svg + :target: https://pypi.python.org/pypi/agate + :alt: License + +.. image:: https://img.shields.io/pypi/pyversions/agate.svg + :target: https://pypi.python.org/pypi/agate + :alt: Support Python versions + +agate is a Python data analysis library that is optimized for humans instead of machines. It is an alternative to numpy and pandas that solves real-world problems with readable code. + +agate was previously known as journalism. + +Important links: + +* Documentation: http://agate.rtfd.org +* Repository: https://github.com/wireservice/agate +* Issues: https://github.com/wireservice/agate/issues + + +%package help +Summary: Development documents and examples for agate +Provides: python3-agate-doc +%description help +.. image:: https://github.com/wireservice/agate/workflows/CI/badge.svg + :target: https://github.com/wireservice/agate/actions + :alt: Build status + +.. image:: https://img.shields.io/pypi/dm/agate.svg + :target: https://pypi.python.org/pypi/agate + :alt: PyPI downloads + +.. image:: https://img.shields.io/pypi/v/agate.svg + :target: https://pypi.python.org/pypi/agate + :alt: Version + +.. image:: https://img.shields.io/pypi/l/agate.svg + :target: https://pypi.python.org/pypi/agate + :alt: License + +.. image:: https://img.shields.io/pypi/pyversions/agate.svg + :target: https://pypi.python.org/pypi/agate + :alt: Support Python versions + +agate is a Python data analysis library that is optimized for humans instead of machines. It is an alternative to numpy and pandas that solves real-world problems with readable code. + +agate was previously known as journalism. + +Important links: + +* Documentation: http://agate.rtfd.org +* Repository: https://github.com/wireservice/agate +* Issues: https://github.com/wireservice/agate/issues + + +%prep +%autosetup -n agate-1.7.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-agate -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Mar 07 2023 Python_Bot <Python_Bot@openeuler.org> - 1.7.1-1 +- Package Spec generated @@ -0,0 +1 @@ +6015bce0001bc905582da2bc4a34d1d9 agate-1.7.1.tar.gz |