summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 06:57:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 06:57:23 +0000
commit92ea7c44fd79134df8a6565b4ad239665ff05946 (patch)
tree744eb6342e3995f96cdb3257cc5ff5d3fd534f3b
parent443481a980770d43cd1d3e16567211fc12e6fb4a (diff)
automatic import of python-py-lambda-baseopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-py-lambda-base.spec87
-rw-r--r--sources1
3 files changed, 89 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e3fb6cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/py-lambda-base-0.0.6.post1.tar.gz
diff --git a/python-py-lambda-base.spec b/python-py-lambda-base.spec
new file mode 100644
index 0000000..6aeab71
--- /dev/null
+++ b/python-py-lambda-base.spec
@@ -0,0 +1,87 @@
+%global _empty_manifest_terminate_build 0
+Name: python-py-lambda-base
+Version: 0.0.6.post1
+Release: 1
+Summary: Pseudo-application for AWS Lambda
+License: MIT License
+URL: https://github.com/pypa/sampleproject
+Source0: https://mirrors.aliyun.com/pypi/web/packages/cd/9b/0474a09f8c2b8af4235114b588e9dbfa8d6fd23940ad7bc515d5cab457e6/py-lambda-base-0.0.6.post1.tar.gz
+BuildArch: noarch
+
+Requires: python3-deepmerge
+Requires: python3-dpath
+Requires: python3-json-api-doc
+
+%description
+# Simple AWS Lambda Router
+
+This contains utilities to create a pseudo-application to be served behind an AWS API Gateway with a proxy endpoint.
+
+
+
+%package -n python3-py-lambda-base
+Summary: Pseudo-application for AWS Lambda
+Provides: python-py-lambda-base
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-py-lambda-base
+# Simple AWS Lambda Router
+
+This contains utilities to create a pseudo-application to be served behind an AWS API Gateway with a proxy endpoint.
+
+
+
+%package help
+Summary: Development documents and examples for py-lambda-base
+Provides: python3-py-lambda-base-doc
+%description help
+# Simple AWS Lambda Router
+
+This contains utilities to create a pseudo-application to be served behind an AWS API Gateway with a proxy endpoint.
+
+
+
+%prep
+%autosetup -n py-lambda-base-0.0.6.post1
+
+%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-py-lambda-base -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.6.post1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..b91beb1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6888f36029da42dcc351538e2a33847e py-lambda-base-0.0.6.post1.tar.gz