From eee7738a5b1cc3588b6c05be60148c7f9327f1a2 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Jun 2023 04:25:48 +0000 Subject: automatic import of python-asekuro --- python-asekuro.spec | 107 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 python-asekuro.spec (limited to 'python-asekuro.spec') diff --git a/python-asekuro.spec b/python-asekuro.spec new file mode 100644 index 0000000..489664e --- /dev/null +++ b/python-asekuro.spec @@ -0,0 +1,107 @@ +%global _empty_manifest_terminate_build 0 +Name: python-asekuro +Version: 0.1.2 +Release: 1 +Summary: CLI util to deal with Jupyter Notebooks +License: MIT License +URL: https://github.com/godatadriven/asekuro +Source0: https://mirrors.aliyun.com/pypi/web/packages/c3/ec/f38ee0077bd4cc0a2c0bacfea423ca0072d6d3ec341e2d1add9df12c28e4/asekuro-0.1.2.tar.gz +BuildArch: noarch + +Requires: python3-pytest +Requires: python3-nbval +Requires: python3-nbformat +Requires: python3-nbconvert +Requires: python3-Click + +%description +platform darwin -- Python 3.6.5, pytest-3.6.4, py-1.5.4, pluggy-0.7.1 -- +/Users/coder/path/asekuro/venv/bin/python +cachedir: ../../../../../tmp/.pytest_cache +rootdir: /tmp, inifile: +plugins: nbval-0.9.1 +collected 6 items +tmp/testnb-test::ipynb::Cell 0 PASSED [ 16%] +tmp/testnb-test::ipynb::Cell 1 PASSED [ 33%] +tmp/testnb-test::ipynb::Cell 2 PASSED [ 50%] +tmp/testnb-test::ipynb::Cell 3 PASSED [ 66%] +tmp/testnb-test::ipynb::Cell 4 PASSED [ 83%] + +%package -n python3-asekuro +Summary: CLI util to deal with Jupyter Notebooks +Provides: python-asekuro +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-asekuro +platform darwin -- Python 3.6.5, pytest-3.6.4, py-1.5.4, pluggy-0.7.1 -- +/Users/coder/path/asekuro/venv/bin/python +cachedir: ../../../../../tmp/.pytest_cache +rootdir: /tmp, inifile: +plugins: nbval-0.9.1 +collected 6 items +tmp/testnb-test::ipynb::Cell 0 PASSED [ 16%] +tmp/testnb-test::ipynb::Cell 1 PASSED [ 33%] +tmp/testnb-test::ipynb::Cell 2 PASSED [ 50%] +tmp/testnb-test::ipynb::Cell 3 PASSED [ 66%] +tmp/testnb-test::ipynb::Cell 4 PASSED [ 83%] + +%package help +Summary: Development documents and examples for asekuro +Provides: python3-asekuro-doc +%description help +platform darwin -- Python 3.6.5, pytest-3.6.4, py-1.5.4, pluggy-0.7.1 -- +/Users/coder/path/asekuro/venv/bin/python +cachedir: ../../../../../tmp/.pytest_cache +rootdir: /tmp, inifile: +plugins: nbval-0.9.1 +collected 6 items +tmp/testnb-test::ipynb::Cell 0 PASSED [ 16%] +tmp/testnb-test::ipynb::Cell 1 PASSED [ 33%] +tmp/testnb-test::ipynb::Cell 2 PASSED [ 50%] +tmp/testnb-test::ipynb::Cell 3 PASSED [ 66%] +tmp/testnb-test::ipynb::Cell 4 PASSED [ 83%] + +%prep +%autosetup -n asekuro-0.1.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-asekuro -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot - 0.1.2-1 +- Package Spec generated -- cgit v1.2.3