%global _empty_manifest_terminate_build 0 Name: python-seedir Version: 0.4.2 Release: 1 Summary: Package for creating, editing, and reading folder tree diagrams. License: MIT URL: https://github.com/earnestt1234/seedir Source0: https://mirrors.aliyun.com/pypi/web/packages/76/0b/e1f7e774fc3c944b1c64b36fec1d40a5ef38b24afdbc4e425162be3b1a07/seedir-0.4.2.tar.gz BuildArch: noarch Requires: python3-natsort Requires: python3-emoji %description # seedir A Python package for creating, editing, and reading folder tree diagrams. ![](https://raw.githubusercontent.com/earnestt1234/seedir/master/img/pun.jpg) *Photo by [Adam Kring](https://unsplash.com/@adamkring).* ```python >>> import seedir as sd >>> sd.seedir(style='lines', itemlimit=10, depthlimit=2, exclude_folders='.git') seedir/ ├─.gitattributes ├─.gitignore ├─.ipynb_checkpoints/ │ └─examples-checkpoint.ipynb ├─build/ │ ├─bdist.win-amd64/ │ └─lib/ ├─CHANGELOG.md ├─dist/ │ └─seedir-0.1.4-py3-none-any.whl ├─docs/ │ ├─exampledir/ │ ├─gettingstarted.md │ ├─seedir/ │ └─templates/ ├─img/ │ ├─pun.jpg │ ├─seedir_diagram.png │ └─seedir_diagram.pptx ├─LICENSE └─MANIFEST.in ``` ## Installation Available with [`pip`](https://pypi.org/project/seedir/): ``` pip install seedir ``` To make use of the 'emoji' style, install [emoji](https://pypi.org/project/emoji/) (`pip install emoji`) or use `pip install seedir[emoji]`. ## Usage See the [API documentation](https://earnestt1234.github.io/seedir/seedir/index.html) (generated with [pdoc3](https://pdoc3.github.io/pdoc/)). ## License Open source under MIT. %package -n python3-seedir Summary: Package for creating, editing, and reading folder tree diagrams. Provides: python-seedir BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-seedir # seedir A Python package for creating, editing, and reading folder tree diagrams. ![](https://raw.githubusercontent.com/earnestt1234/seedir/master/img/pun.jpg) *Photo by [Adam Kring](https://unsplash.com/@adamkring).* ```python >>> import seedir as sd >>> sd.seedir(style='lines', itemlimit=10, depthlimit=2, exclude_folders='.git') seedir/ ├─.gitattributes ├─.gitignore ├─.ipynb_checkpoints/ │ └─examples-checkpoint.ipynb ├─build/ │ ├─bdist.win-amd64/ │ └─lib/ ├─CHANGELOG.md ├─dist/ │ └─seedir-0.1.4-py3-none-any.whl ├─docs/ │ ├─exampledir/ │ ├─gettingstarted.md │ ├─seedir/ │ └─templates/ ├─img/ │ ├─pun.jpg │ ├─seedir_diagram.png │ └─seedir_diagram.pptx ├─LICENSE └─MANIFEST.in ``` ## Installation Available with [`pip`](https://pypi.org/project/seedir/): ``` pip install seedir ``` To make use of the 'emoji' style, install [emoji](https://pypi.org/project/emoji/) (`pip install emoji`) or use `pip install seedir[emoji]`. ## Usage See the [API documentation](https://earnestt1234.github.io/seedir/seedir/index.html) (generated with [pdoc3](https://pdoc3.github.io/pdoc/)). ## License Open source under MIT. %package help Summary: Development documents and examples for seedir Provides: python3-seedir-doc %description help # seedir A Python package for creating, editing, and reading folder tree diagrams. ![](https://raw.githubusercontent.com/earnestt1234/seedir/master/img/pun.jpg) *Photo by [Adam Kring](https://unsplash.com/@adamkring).* ```python >>> import seedir as sd >>> sd.seedir(style='lines', itemlimit=10, depthlimit=2, exclude_folders='.git') seedir/ ├─.gitattributes ├─.gitignore ├─.ipynb_checkpoints/ │ └─examples-checkpoint.ipynb ├─build/ │ ├─bdist.win-amd64/ │ └─lib/ ├─CHANGELOG.md ├─dist/ │ └─seedir-0.1.4-py3-none-any.whl ├─docs/ │ ├─exampledir/ │ ├─gettingstarted.md │ ├─seedir/ │ └─templates/ ├─img/ │ ├─pun.jpg │ ├─seedir_diagram.png │ └─seedir_diagram.pptx ├─LICENSE └─MANIFEST.in ``` ## Installation Available with [`pip`](https://pypi.org/project/seedir/): ``` pip install seedir ``` To make use of the 'emoji' style, install [emoji](https://pypi.org/project/emoji/) (`pip install emoji`) or use `pip install seedir[emoji]`. ## Usage See the [API documentation](https://earnestt1234.github.io/seedir/seedir/index.html) (generated with [pdoc3](https://pdoc3.github.io/pdoc/)). ## License Open source under MIT. %prep %autosetup -n seedir-0.4.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-seedir -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri Jun 09 2023 Python_Bot - 0.4.2-1 - Package Spec generated