summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 05:14:52 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 05:14:52 +0000
commit1a4c0a40fea84d5111aaa1ae84a41c186d1e5e09 (patch)
tree587db105755019f4dcd53622bc6ba3eebaeed86c
parentc70946ee6d511a71dec0f636ec941e8083bd32a8 (diff)
automatic import of python-dqlopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-dql.spec90
-rw-r--r--sources1
3 files changed, 92 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..8c4a206 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dql-0.6.2.tar.gz
diff --git a/python-dql.spec b/python-dql.spec
new file mode 100644
index 0000000..85359c0
--- /dev/null
+++ b/python-dql.spec
@@ -0,0 +1,90 @@
+%global _empty_manifest_terminate_build 0
+Name: python-dql
+Version: 0.6.2
+Release: 1
+Summary: DynamoDB Query Language
+License: MIT
+URL: http://github.com/stevearc/dql
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/46/34/52431f99a52f29c10029a1df4fa72975dd49d0297ea0003387f1b1156c26/dql-0.6.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-dynamo3
+Requires: python3-pyparsing
+Requires: python3-dateutil
+Requires: python3-botocore
+Requires: python3-rich
+Requires: python3-typing-extensions
+
+%description
+A simple, SQL-ish language for DynamoDB
+As of November 2020, Amazon has released `PartiQL
+support <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ql-reference.html>`__
+for DynamoDB. You should investigate that first to see if it addresses your
+needs.
+
+%package -n python3-dql
+Summary: DynamoDB Query Language
+Provides: python-dql
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-dql
+A simple, SQL-ish language for DynamoDB
+As of November 2020, Amazon has released `PartiQL
+support <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ql-reference.html>`__
+for DynamoDB. You should investigate that first to see if it addresses your
+needs.
+
+%package help
+Summary: Development documents and examples for dql
+Provides: python3-dql-doc
+%description help
+A simple, SQL-ish language for DynamoDB
+As of November 2020, Amazon has released `PartiQL
+support <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ql-reference.html>`__
+for DynamoDB. You should investigate that first to see if it addresses your
+needs.
+
+%prep
+%autosetup -n dql-0.6.2
+
+%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-dql -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..9af8d1b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+8eee666139971fb7269de614d7d6c27f dql-0.6.2.tar.gz