From a3612e0ec7d5035cce83d7cc34223fce39efa903 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 29 May 2023 10:20:25 +0000 Subject: automatic import of python-streamlit-ace --- .gitignore | 1 + python-streamlit-ace.spec | 196 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 198 insertions(+) create mode 100644 python-streamlit-ace.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..1ae0653 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/streamlit_ace-0.1.1.tar.gz diff --git a/python-streamlit-ace.spec b/python-streamlit-ace.spec new file mode 100644 index 0000000..27cccc5 --- /dev/null +++ b/python-streamlit-ace.spec @@ -0,0 +1,196 @@ +%global _empty_manifest_terminate_build 0 +Name: python-streamlit-ace +Version: 0.1.1 +Release: 1 +Summary: Ace editor component for Streamlit. +License: MIT +URL: https://share.streamlit.io/okld/streamlit-gallery/main?p=ace-editor +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2e/34/a508123af170e41852d247b17d38d9cddc2b4be3884f2f29a84aeb322992/streamlit_ace-0.1.1.tar.gz +BuildArch: noarch + +Requires: python3-streamlit + +%description +# 📝 Streamlit Ace + +[![GitHub][github_badge]][github_link] [![PyPI][pypi_badge]][pypi_link] + +## Installation + +```sh +pip install streamlit-ace +``` + +## Getting started + +```python +import streamlit as st + +from streamlit_ace import st_ace + +# Spawn a new Ace editor +content = st_ace() + +# Display editor's content as you type +content +``` + +## Demo + +[![Open in Streamlit][share_badge]][share_link] + +[![Preview][share_img]][share_link] + +[share_badge]: https://static.streamlit.io/badges/streamlit_badge_black_white.svg +[share_link]: https://share.streamlit.io/okld/streamlit-gallery/main?p=ace-editor +[share_img]: https://raw.githubusercontent.com/okld/streamlit-ace/main/preview.png + +[github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label +[github_link]: https://github.com/okld/streamlit-ace + +[pypi_badge]: https://badgen.net/pypi/v/streamlit-ace?icon=pypi&color=black&label +[pypi_link]: https://pypi.org/project/streamlit-ace + + + + +%package -n python3-streamlit-ace +Summary: Ace editor component for Streamlit. +Provides: python-streamlit-ace +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-streamlit-ace +# 📝 Streamlit Ace + +[![GitHub][github_badge]][github_link] [![PyPI][pypi_badge]][pypi_link] + +## Installation + +```sh +pip install streamlit-ace +``` + +## Getting started + +```python +import streamlit as st + +from streamlit_ace import st_ace + +# Spawn a new Ace editor +content = st_ace() + +# Display editor's content as you type +content +``` + +## Demo + +[![Open in Streamlit][share_badge]][share_link] + +[![Preview][share_img]][share_link] + +[share_badge]: https://static.streamlit.io/badges/streamlit_badge_black_white.svg +[share_link]: https://share.streamlit.io/okld/streamlit-gallery/main?p=ace-editor +[share_img]: https://raw.githubusercontent.com/okld/streamlit-ace/main/preview.png + +[github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label +[github_link]: https://github.com/okld/streamlit-ace + +[pypi_badge]: https://badgen.net/pypi/v/streamlit-ace?icon=pypi&color=black&label +[pypi_link]: https://pypi.org/project/streamlit-ace + + + + +%package help +Summary: Development documents and examples for streamlit-ace +Provides: python3-streamlit-ace-doc +%description help +# 📝 Streamlit Ace + +[![GitHub][github_badge]][github_link] [![PyPI][pypi_badge]][pypi_link] + +## Installation + +```sh +pip install streamlit-ace +``` + +## Getting started + +```python +import streamlit as st + +from streamlit_ace import st_ace + +# Spawn a new Ace editor +content = st_ace() + +# Display editor's content as you type +content +``` + +## Demo + +[![Open in Streamlit][share_badge]][share_link] + +[![Preview][share_img]][share_link] + +[share_badge]: https://static.streamlit.io/badges/streamlit_badge_black_white.svg +[share_link]: https://share.streamlit.io/okld/streamlit-gallery/main?p=ace-editor +[share_img]: https://raw.githubusercontent.com/okld/streamlit-ace/main/preview.png + +[github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label +[github_link]: https://github.com/okld/streamlit-ace + +[pypi_badge]: https://badgen.net/pypi/v/streamlit-ace?icon=pypi&color=black&label +[pypi_link]: https://pypi.org/project/streamlit-ace + + + + +%prep +%autosetup -n streamlit-ace-0.1.1 + +%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-streamlit-ace -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot - 0.1.1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..64838e9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +2af830302af6f59b7f580a18c5f20155 streamlit_ace-0.1.1.tar.gz -- cgit v1.2.3