From b2991241df1730a9cf1a68ff4313fe1066b4f110 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 May 2023 03:40:11 +0000 Subject: automatic import of python-datafacts --- .gitignore | 1 + python-datafacts.spec | 119 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 121 insertions(+) create mode 100644 python-datafacts.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..0555080 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/datafacts-0.0.10.tar.gz diff --git a/python-datafacts.spec b/python-datafacts.spec new file mode 100644 index 0000000..4879591 --- /dev/null +++ b/python-datafacts.spec @@ -0,0 +1,119 @@ +%global _empty_manifest_terminate_build 0 +Name: python-datafacts +Version: 0.0.10 +Release: 1 +Summary: Quickly generate an image with population-level facts about your dataset +License: MIT License Copyright (c) 2021 Medley Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +URL: https://github.com/MedleyLabs/datafacts +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fe/71/b9a56161ed649f08fa7de7efd66a10c4eaf0d303a48d59771162776a6986/datafacts-0.0.10.tar.gz +BuildArch: noarch + +Requires: python3-pandas +Requires: python3-Pillow + +%description +# datafacts +Quickly generate an image with population-level facts about your dataset + + +## Developer + + +```bash +python setup.py sdist bdist_wheel +``` + +```bash +twine upload --skip-existing dist/* +``` + + + +%package -n python3-datafacts +Summary: Quickly generate an image with population-level facts about your dataset +Provides: python-datafacts +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-datafacts +# datafacts +Quickly generate an image with population-level facts about your dataset + + +## Developer + + +```bash +python setup.py sdist bdist_wheel +``` + +```bash +twine upload --skip-existing dist/* +``` + + + +%package help +Summary: Development documents and examples for datafacts +Provides: python3-datafacts-doc +%description help +# datafacts +Quickly generate an image with population-level facts about your dataset + + +## Developer + + +```bash +python setup.py sdist bdist_wheel +``` + +```bash +twine upload --skip-existing dist/* +``` + + + +%prep +%autosetup -n datafacts-0.0.10 + +%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-datafacts -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot - 0.0.10-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..7bb7fed --- /dev/null +++ b/sources @@ -0,0 +1 @@ +c9a806e937a8a9d846288e62799d25eb datafacts-0.0.10.tar.gz -- cgit v1.2.3