summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 06:55:12 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 06:55:12 +0000
commit94337a1957a513bdd8c05818bdd649bb492335f5 (patch)
treed4a1168877fd8eaa0d8792fed293292d75eeeb6a
parentfb80749a01b5839fff27af7996b1b3262f98d222 (diff)
automatic import of python-eric-tools
-rw-r--r--.gitignore1
-rw-r--r--python-eric-tools.spec220
-rw-r--r--sources1
3 files changed, 222 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4e1cba9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/eric_tools-1.2.5.tar.gz
diff --git a/python-eric-tools.spec b/python-eric-tools.spec
new file mode 100644
index 0000000..3daad9b
--- /dev/null
+++ b/python-eric-tools.spec
@@ -0,0 +1,220 @@
+%global _empty_manifest_terminate_build 0
+Name: python-eric-tools
+Version: 1.2.5
+Release: 1
+Summary: Python Daily Development Tools
+License: Apache License
+URL: https://github.com/Eric-jxl/Tools
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5a/a7/2fd81430a52a8764c2a03772cdbe50fc57e6c61972a9596f77c2f664b439/eric_tools-1.2.5.tar.gz
+BuildArch: noarch
+
+Requires: python3-psycopg2
+Requires: python3-requests
+Requires: python3-paramiko
+Requires: python3-Pillow
+
+%description
+# Tools
+[![License](https://img.shields.io/:license-apache-blue.svg)](https://opensource.org/licenses/Apache-2.0)
+![latest 1.2.4.1](https://img.shields.io/badge/latest-1.2.4.1-green.svg?style=flat)
+
+
+[Redis](https://eric-jxl.github.io)
+
+
+##### Project management of Python daily tools
+```shell
+pip install eric_tools
+```
+```
+https://pypi.org/project/eric_tools/
+```
+```
+encryption_classmethod.py Python HMAC+MD5加密签名算法
+
+exception_class.py 异常类
+
+resize_image.py 图片压缩
+
+ip.py ip地址定位API
+
+logger.py 日志模块类和高级日志装饰器
+
+remove.py 删除文件
+
+send_email.py 发送邮件
+
+sftp.py ssh远程下载文件
+
+pgsql.py 对postgresql 增删改查操作
+
+readconfig 针对读取配置文件
+
+jwt_encrypt 生成jwt Access Token 加密及解密
+
+convert_json 支持json和object之间转换
+
+Abstract.py 抽象类模型
+
+decorator.py 惰性属性装饰器
+
+BingDwenDwen.py 冰墩墩
+```
+
+
+
+
+%package -n python3-eric-tools
+Summary: Python Daily Development Tools
+Provides: python-eric-tools
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-eric-tools
+# Tools
+[![License](https://img.shields.io/:license-apache-blue.svg)](https://opensource.org/licenses/Apache-2.0)
+![latest 1.2.4.1](https://img.shields.io/badge/latest-1.2.4.1-green.svg?style=flat)
+
+
+[Redis](https://eric-jxl.github.io)
+
+
+##### Project management of Python daily tools
+```shell
+pip install eric_tools
+```
+```
+https://pypi.org/project/eric_tools/
+```
+```
+encryption_classmethod.py Python HMAC+MD5加密签名算法
+
+exception_class.py 异常类
+
+resize_image.py 图片压缩
+
+ip.py ip地址定位API
+
+logger.py 日志模块类和高级日志装饰器
+
+remove.py 删除文件
+
+send_email.py 发送邮件
+
+sftp.py ssh远程下载文件
+
+pgsql.py 对postgresql 增删改查操作
+
+readconfig 针对读取配置文件
+
+jwt_encrypt 生成jwt Access Token 加密及解密
+
+convert_json 支持json和object之间转换
+
+Abstract.py 抽象类模型
+
+decorator.py 惰性属性装饰器
+
+BingDwenDwen.py 冰墩墩
+```
+
+
+
+
+%package help
+Summary: Development documents and examples for eric-tools
+Provides: python3-eric-tools-doc
+%description help
+# Tools
+[![License](https://img.shields.io/:license-apache-blue.svg)](https://opensource.org/licenses/Apache-2.0)
+![latest 1.2.4.1](https://img.shields.io/badge/latest-1.2.4.1-green.svg?style=flat)
+
+
+[Redis](https://eric-jxl.github.io)
+
+
+##### Project management of Python daily tools
+```shell
+pip install eric_tools
+```
+```
+https://pypi.org/project/eric_tools/
+```
+```
+encryption_classmethod.py Python HMAC+MD5加密签名算法
+
+exception_class.py 异常类
+
+resize_image.py 图片压缩
+
+ip.py ip地址定位API
+
+logger.py 日志模块类和高级日志装饰器
+
+remove.py 删除文件
+
+send_email.py 发送邮件
+
+sftp.py ssh远程下载文件
+
+pgsql.py 对postgresql 增删改查操作
+
+readconfig 针对读取配置文件
+
+jwt_encrypt 生成jwt Access Token 加密及解密
+
+convert_json 支持json和object之间转换
+
+Abstract.py 抽象类模型
+
+decorator.py 惰性属性装饰器
+
+BingDwenDwen.py 冰墩墩
+```
+
+
+
+
+%prep
+%autosetup -n eric-tools-1.2.5
+
+%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-eric-tools -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.5-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..361b381
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+812f597f4abcbefb091e86aa16e9d0e4 eric_tools-1.2.5.tar.gz