From a4e0d356c564e77a31d74714dbbf125cf9fb5881 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 10 May 2023 08:01:50 +0000 Subject: automatic import of python-sdmx1 --- .gitignore | 1 + python-sdmx1.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 88 insertions(+) create mode 100644 python-sdmx1.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..48cf14e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/sdmx1-2.9.0.tar.gz diff --git a/python-sdmx1.spec b/python-sdmx1.spec new file mode 100644 index 0000000..d506528 --- /dev/null +++ b/python-sdmx1.spec @@ -0,0 +1,86 @@ +%global _empty_manifest_terminate_build 0 +Name: python-sdmx1 +Version: 2.9.0 +Release: 1 +Summary: Statistical Data and Metadata eXchange (SDMX) +License: Apache Software License +URL: https://pypi.org/project/sdmx1/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d4/74/474d459265382856a9124916f8b6b603ef57757e6127c94a76cee6f31de9/sdmx1-2.9.0.tar.gz +BuildArch: noarch + +Requires: python3-lxml +Requires: python3-pandas +Requires: python3-pydantic +Requires: python3-dateutil +Requires: python3-requests +Requires: python3-typing-extensions +Requires: python3-requests-cache +Requires: python3-IPython +Requires: python3-sphinx +Requires: python3-sphinx-book-theme +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-xdist +Requires: python3-requests-mock + +%description +See https://sdmx1.readthedocs.io/en/latest/ for the latest docs per the ``main`` branch, or https://sdmx1.readthedocs.io/en/stable/ for the most recent release. + +%package -n python3-sdmx1 +Summary: Statistical Data and Metadata eXchange (SDMX) +Provides: python-sdmx1 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-sdmx1 +See https://sdmx1.readthedocs.io/en/latest/ for the latest docs per the ``main`` branch, or https://sdmx1.readthedocs.io/en/stable/ for the most recent release. + +%package help +Summary: Development documents and examples for sdmx1 +Provides: python3-sdmx1-doc +%description help +See https://sdmx1.readthedocs.io/en/latest/ for the latest docs per the ``main`` branch, or https://sdmx1.readthedocs.io/en/stable/ for the most recent release. + +%prep +%autosetup -n sdmx1-2.9.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-sdmx1 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot - 2.9.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..7ccba59 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +3d7a969f475900ecaa65e08064cb2e9b sdmx1-2.9.0.tar.gz -- cgit v1.2.3