summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 23:22:25 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 23:22:25 +0000
commit4d37c8706d9beeee0b463023ea95e901c9516b5a (patch)
treed9a4f909bd5fc5a2b66f8807e373e535b8b2c900
parent1f542d4514a8417ffa814de31a4fe29b071a3b1a (diff)
automatic import of python-psycopg2-pool
-rw-r--r--.gitignore1
-rw-r--r--python-psycopg2-pool.spec115
-rw-r--r--sources1
3 files changed, 117 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c01a377 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/psycopg2-pool-1.1.tar.gz
diff --git a/python-psycopg2-pool.spec b/python-psycopg2-pool.spec
new file mode 100644
index 0000000..a1534ec
--- /dev/null
+++ b/python-psycopg2-pool.spec
@@ -0,0 +1,115 @@
+%global _empty_manifest_terminate_build 0
+Name: python-psycopg2-pool
+Version: 1.1
+Release: 1
+Summary: Proper pooling of psycopg2 connections
+License: LGPL3
+URL: https://github.com/Changaco/psycopg2-pool
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/15/9d/fcbc892ef52d4f7a4b82dab5c5055bfbad0d3a0217c3461e472c7d87367a/psycopg2-pool-1.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-psycopg2-binary
+
+%description
+See the documentation at <https://psycopg2-pool.readthedocs.io/>.
+
+# Changelog
+
+## 1.1 (October 8, 2019)
+
+- [Fixes the discarding of extraneous connections](https://github.com/Changaco/psycopg2-pool/pull/1)
+- [Fixes `ThreadSafeConnectionPool.__slots__`](https://github.com/Changaco/psycopg2-pool/commit/0145f44efc21a2e1ec078c6d29a4649f9978380f)
+
+## 1.0 (October 6, 2019)
+
+Initial release.
+
+
+
+
+%package -n python3-psycopg2-pool
+Summary: Proper pooling of psycopg2 connections
+Provides: python-psycopg2-pool
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-psycopg2-pool
+See the documentation at <https://psycopg2-pool.readthedocs.io/>.
+
+# Changelog
+
+## 1.1 (October 8, 2019)
+
+- [Fixes the discarding of extraneous connections](https://github.com/Changaco/psycopg2-pool/pull/1)
+- [Fixes `ThreadSafeConnectionPool.__slots__`](https://github.com/Changaco/psycopg2-pool/commit/0145f44efc21a2e1ec078c6d29a4649f9978380f)
+
+## 1.0 (October 6, 2019)
+
+Initial release.
+
+
+
+
+%package help
+Summary: Development documents and examples for psycopg2-pool
+Provides: python3-psycopg2-pool-doc
+%description help
+See the documentation at <https://psycopg2-pool.readthedocs.io/>.
+
+# Changelog
+
+## 1.1 (October 8, 2019)
+
+- [Fixes the discarding of extraneous connections](https://github.com/Changaco/psycopg2-pool/pull/1)
+- [Fixes `ThreadSafeConnectionPool.__slots__`](https://github.com/Changaco/psycopg2-pool/commit/0145f44efc21a2e1ec078c6d29a4649f9978380f)
+
+## 1.0 (October 6, 2019)
+
+Initial release.
+
+
+
+
+%prep
+%autosetup -n psycopg2-pool-1.1
+
+%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-psycopg2-pool -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..e328a43
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c9cd433e7df6361f5c69a6f019d2d004 psycopg2-pool-1.1.tar.gz