summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 07:13:13 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 07:13:13 +0000
commitc5df0ec06d3d63a4727aadc82d9984b225081a88 (patch)
treecdb9984c157fb26cef261203fd13315c061f075f
parent95d43d72e6ad727f6b28de6f832f8359e7029cb9 (diff)
automatic import of python-seedir
-rw-r--r--.gitignore1
-rw-r--r--python-seedir.spec236
-rw-r--r--sources1
3 files changed, 238 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..860093f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/seedir-0.4.2.tar.gz
diff --git a/python-seedir.spec b/python-seedir.spec
new file mode 100644
index 0000000..553243f
--- /dev/null
+++ b/python-seedir.spec
@@ -0,0 +1,236 @@
+%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.nju.edu.cn/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
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..df0495d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ce5aa308ec611280521c1cffdd82e885 seedir-0.4.2.tar.gz