diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-09 02:31:50 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-09 02:31:50 +0000 |
commit | 3143d07ca8526d1d453ae35baa73a0a03ad27935 (patch) | |
tree | e8e0afef0df6ef45918dc2ca34aad2172fbb345c | |
parent | 1a1c9b2ba0d39ddd5214e41422d26095df148114 (diff) |
automatic import of python-feffery-antd-componentsopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-feffery-antd-components.spec | 174 | ||||
-rw-r--r-- | sources | 2 |
3 files changed, 167 insertions, 10 deletions
@@ -1 +1,2 @@ /feffery_antd_components-0.2.8.tar.gz +/feffery_antd_components-0.2.9.tar.gz diff --git a/python-feffery-antd-components.spec b/python-feffery-antd-components.spec index ddeb98f..2872a78 100644 --- a/python-feffery-antd-components.spec +++ b/python-feffery-antd-components.spec @@ -1,16 +1,68 @@ %global _empty_manifest_terminate_build 0 Name: python-feffery-antd-components -Version: 0.2.8 +Version: 0.2.9 Release: 1 Summary: Best implementation of Antd components in Plotly Dash. License: MIT URL: https://github.com/CNFeffery/feffery-antd-components -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/54/82/f35103c609f66540f561267cee21d87261dc90f7a6909eba705aab10d074/feffery_antd_components-0.2.8.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/94/81/17fc6b7cca34abb81e767c58edbacfc6dbc509dc49bf7acfbfdcda1007ca/feffery_antd_components-0.2.9.tar.gz BuildArch: noarch Requires: python3-dash %description +<p align="center"> + <img src="./fac-logo.svg" height=300></img> +</p> +<h1 align="center">feffery-antd-components</h1> +<div align="center"> + +[](https://github.com/CNFeffery/feffery-antd-components/blob/master/LICENSE) +[](https://pypi.org/project/feffery-antd-components/) +[](https://pepy.tech/project/feffery-antd-components) +[](https://pepy.tech/project/feffery-antd-components) +[](http://isitmaintained.com/project/CNFeffery/feffery-antd-components "Average time to resolve an issue") +[](http://isitmaintained.com/project/CNFeffery/feffery-antd-components "Percentage of issues still open") + +</div> + +简体中文 | [English](./README-en_US.md) + +`feffery-components`计划子项目,`Plotly Dash`第三方组件库,基于`Antd`,将超多具有丰富功能的通用网页常用交互组件引入`Dash`的生态中 🥳,最新稳定版本:`0.2.8` + +## 1 最新版本安装方式 + +```bash +pip install feffery-antd-components -U +``` + +## 2 最新预发布版本安装方式 + +```bash +pip install feffery-antd-components --pre -U +``` + +## 3 静态资源 CDN 加速方法 + +```Python +# 非debug模式下对Dash()传入参数serve_locally=False会强制浏览器端从unpkg cdn加载各个依赖的 +# xxx.min.js等静态资源,从而避免占用服务器带宽,适合中小型站点加速访问 +app = dash.Dash(serve_locally=False) +``` + +## 4 在线文档 + +<a href='http://fac.feffery.tech/' target='_blank'>文档地址</a> + +## 5 国际化 + +`fac`中的部分组件具有自带的文案信息,通过参数`locale`可以进行国际化设置,默认为`'zh-cn'`即简体中文,你可以设置为`'en-us'`来使用英文文案,譬如: + +```Python +fac.AntdDatePicker(locale='en-us') +``` + +<img src="./images/国际化示例.png" height=350></img> %package -n python3-feffery-antd-components @@ -20,16 +72,120 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-feffery-antd-components +<p align="center"> + <img src="./fac-logo.svg" height=300></img> +</p> +<h1 align="center">feffery-antd-components</h1> +<div align="center"> + +[](https://github.com/CNFeffery/feffery-antd-components/blob/master/LICENSE) +[](https://pypi.org/project/feffery-antd-components/) +[](https://pepy.tech/project/feffery-antd-components) +[](https://pepy.tech/project/feffery-antd-components) +[](http://isitmaintained.com/project/CNFeffery/feffery-antd-components "Average time to resolve an issue") +[](http://isitmaintained.com/project/CNFeffery/feffery-antd-components "Percentage of issues still open") + +</div> + +简体中文 | [English](./README-en_US.md) + +`feffery-components`计划子项目,`Plotly Dash`第三方组件库,基于`Antd`,将超多具有丰富功能的通用网页常用交互组件引入`Dash`的生态中 🥳,最新稳定版本:`0.2.8` + +## 1 最新版本安装方式 + +```bash +pip install feffery-antd-components -U +``` + +## 2 最新预发布版本安装方式 + +```bash +pip install feffery-antd-components --pre -U +``` + +## 3 静态资源 CDN 加速方法 + +```Python +# 非debug模式下对Dash()传入参数serve_locally=False会强制浏览器端从unpkg cdn加载各个依赖的 +# xxx.min.js等静态资源,从而避免占用服务器带宽,适合中小型站点加速访问 +app = dash.Dash(serve_locally=False) +``` + +## 4 在线文档 + +<a href='http://fac.feffery.tech/' target='_blank'>文档地址</a> + +## 5 国际化 + +`fac`中的部分组件具有自带的文案信息,通过参数`locale`可以进行国际化设置,默认为`'zh-cn'`即简体中文,你可以设置为`'en-us'`来使用英文文案,譬如: + +```Python +fac.AntdDatePicker(locale='en-us') +``` + +<img src="./images/国际化示例.png" height=350></img> %package help Summary: Development documents and examples for feffery-antd-components Provides: python3-feffery-antd-components-doc %description help +<p align="center"> + <img src="./fac-logo.svg" height=300></img> +</p> +<h1 align="center">feffery-antd-components</h1> +<div align="center"> + +[](https://github.com/CNFeffery/feffery-antd-components/blob/master/LICENSE) +[](https://pypi.org/project/feffery-antd-components/) +[](https://pepy.tech/project/feffery-antd-components) +[](https://pepy.tech/project/feffery-antd-components) +[](http://isitmaintained.com/project/CNFeffery/feffery-antd-components "Average time to resolve an issue") +[](http://isitmaintained.com/project/CNFeffery/feffery-antd-components "Percentage of issues still open") + +</div> + +简体中文 | [English](./README-en_US.md) + +`feffery-components`计划子项目,`Plotly Dash`第三方组件库,基于`Antd`,将超多具有丰富功能的通用网页常用交互组件引入`Dash`的生态中 🥳,最新稳定版本:`0.2.8` + +## 1 最新版本安装方式 + +```bash +pip install feffery-antd-components -U +``` + +## 2 最新预发布版本安装方式 + +```bash +pip install feffery-antd-components --pre -U +``` + +## 3 静态资源 CDN 加速方法 + +```Python +# 非debug模式下对Dash()传入参数serve_locally=False会强制浏览器端从unpkg cdn加载各个依赖的 +# xxx.min.js等静态资源,从而避免占用服务器带宽,适合中小型站点加速访问 +app = dash.Dash(serve_locally=False) +``` + +## 4 在线文档 + +<a href='http://fac.feffery.tech/' target='_blank'>文档地址</a> + +## 5 国际化 + +`fac`中的部分组件具有自带的文案信息,通过参数`locale`可以进行国际化设置,默认为`'zh-cn'`即简体中文,你可以设置为`'en-us'`来使用英文文案,譬如: + +```Python +fac.AntdDatePicker(locale='en-us') +``` + +<img src="./images/国际化示例.png" height=350></img> %prep -%autosetup -n feffery-antd-components-0.2.8 +%autosetup -n feffery_antd_components-0.2.9 %build %py3_build @@ -43,20 +199,20 @@ 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 + 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 + 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 + 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 + 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 + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -69,5 +225,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.8-1 +* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.9-1 - Package Spec generated @@ -1 +1 @@ -0d53bb284f34181cc473272b5aa9cd69 feffery_antd_components-0.2.8.tar.gz +942a31f2a5579c4f4e2fe373cc7efd1f feffery_antd_components-0.2.9.tar.gz |