diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-moto-ext.spec | 157 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 159 insertions, 0 deletions
@@ -0,0 +1 @@ +/moto-ext-4.1.5.post2.tar.gz diff --git a/python-moto-ext.spec b/python-moto-ext.spec new file mode 100644 index 0000000..1662b6c --- /dev/null +++ b/python-moto-ext.spec @@ -0,0 +1,157 @@ +%global _empty_manifest_terminate_build 0 +Name: python-moto-ext +Version: 4.1.5.post2 +Release: 1 +Summary: please add a summary manually as the author left a blank one +License: Apache License 2.0 +URL: https://github.com/localstack/moto +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ae/6a/3b96f126274e6f9e735e47b38eb700642f0bd900878ce8911a1139a5fdad/moto-ext-4.1.5.post2.tar.gz +BuildArch: noarch + +Requires: python3-boto3 +Requires: python3-botocore +Requires: python3-cryptography +Requires: python3-requests +Requires: python3-xmltodict +Requires: python3-werkzeug +Requires: python3-dateutil +Requires: python3-responses +Requires: python3-Jinja2 +Requires: python3-importlib-metadata +Requires: python3-jose[cryptography] +Requires: python3-ecdsa +Requires: python3-docker +Requires: python3-graphql-core +Requires: python3-PyYAML +Requires: python3-cfn-lint +Requires: python3-sshpubkeys +Requires: python3-openapi-spec-validator +Requires: python3-pyparsing +Requires: python3-jsondiff +Requires: python3-py-partiql-parser +Requires: python3-aws-xray-sdk +Requires: python3-setuptools +Requires: python3-PyYAML +Requires: python3-jose[cryptography] +Requires: python3-ecdsa +Requires: python3-openapi-spec-validator +Requires: python3-PyYAML +Requires: python3-graphql-core +Requires: python3-docker +Requires: python3-docker +Requires: python3-jose[cryptography] +Requires: python3-ecdsa +Requires: python3-docker +Requires: python3-graphql-core +Requires: python3-PyYAML +Requires: python3-cfn-lint +Requires: python3-sshpubkeys +Requires: python3-openapi-spec-validator +Requires: python3-pyparsing +Requires: python3-jsondiff +Requires: python3-py-partiql-parser +Requires: python3-aws-xray-sdk +Requires: python3-setuptools +Requires: python3-jose[cryptography] +Requires: python3-ecdsa +Requires: python3-sshpubkeys +Requires: python3-docker +Requires: python3-docker +Requires: python3-sshpubkeys +Requires: python3-sshpubkeys +Requires: python3-sshpubkeys +Requires: python3-sshpubkeys +Requires: python3-pyparsing +Requires: python3-jsondiff +Requires: python3-sshpubkeys +Requires: python3-PyYAML +Requires: python3-py-partiql-parser +Requires: python3-jose[cryptography] +Requires: python3-ecdsa +Requires: python3-docker +Requires: python3-graphql-core +Requires: python3-PyYAML +Requires: python3-cfn-lint +Requires: python3-sshpubkeys +Requires: python3-openapi-spec-validator +Requires: python3-pyparsing +Requires: python3-jsondiff +Requires: python3-py-partiql-parser +Requires: python3-aws-xray-sdk +Requires: python3-setuptools +Requires: python3-flask +Requires: python3-flask-cors +Requires: python3-PyYAML +Requires: python3-aws-xray-sdk +Requires: python3-setuptools + +%description +# moto-ext + +Fork of [Moto](https://github.com/getmoto/moto) with patches and fixes for [LocalStack](https://github.com/localstack/localstack). + + +%package -n python3-moto-ext +Summary: please add a summary manually as the author left a blank one +Provides: python-moto-ext +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-moto-ext +# moto-ext + +Fork of [Moto](https://github.com/getmoto/moto) with patches and fixes for [LocalStack](https://github.com/localstack/localstack). + + +%package help +Summary: Development documents and examples for moto-ext +Provides: python3-moto-ext-doc +%description help +# moto-ext + +Fork of [Moto](https://github.com/getmoto/moto) with patches and fixes for [LocalStack](https://github.com/localstack/localstack). + + +%prep +%autosetup -n moto-ext-4.1.5.post2 + +%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-moto-ext -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 4.1.5.post2-1 +- Package Spec generated @@ -0,0 +1 @@ +f82cf0ad6045c4672a0bb48eb3559d54 moto-ext-4.1.5.post2.tar.gz |