diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 04:25:48 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 04:25:48 +0000 |
commit | eee7738a5b1cc3588b6c05be60148c7f9327f1a2 (patch) | |
tree | 4e650ec15601c685d4580f479145157ca21713f2 | |
parent | 9d0668f5d7e2c437c1688f495c5cd6e6b8884d8c (diff) |
automatic import of python-asekuroopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-asekuro.spec | 107 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 109 insertions, 0 deletions
@@ -0,0 +1 @@ +/asekuro-0.1.2.tar.gz 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 <Python_Bot@openeuler.org> - 0.1.2-1 +- Package Spec generated @@ -0,0 +1 @@ +36b8e864f4f80ff512804b32cd3e1e1e asekuro-0.1.2.tar.gz |