summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 12:32:08 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 12:32:08 +0000
commit2adda7919fe7e2a87b09145c601d531ebb6d0e36 (patch)
tree7dcfa5e6073f4c1665cfb0ba309e12229f3b50e3
parent3e2c61eddbfae97d3660be793b7bcb2445b1d186 (diff)
automatic import of python-birdisleopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-birdisle.spec134
-rw-r--r--sources1
3 files changed, 136 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..f364ba4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/birdisle-0.2.2.tar.gz
diff --git a/python-birdisle.spec b/python-birdisle.spec
new file mode 100644
index 0000000..307fe60
--- /dev/null
+++ b/python-birdisle.spec
@@ -0,0 +1,134 @@
+%global _empty_manifest_terminate_build 0
+Name: python-birdisle
+Version: 0.2.2
+Release: 1
+Summary: Python bindings for birdisle
+License: BSD
+URL: https://github.com/bmerry/birdisle-py
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ca/c5/00cca3123d30f5289abc6b2e643598d21341c359620953a50d58ecbdf610/birdisle-0.2.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-cffi
+Requires: python3-aioredis
+Requires: python3-redis
+Requires: python3-pytest
+Requires: python3-pytest-forked
+Requires: python3-redis
+Requires: python3-pytest-asyncio
+Requires: python3-aioredis
+
+%description
+# Maintainer wanted
+
+I've ended up not using birdisle and have no interest in maintaining it. If you
+would like to take over as maintainer, please let me know by filing a ticket.
+
+# birdisle-py
+
+[![Build Status](https://github.com/bmerry/birdisle-py/actions/workflows/build.yml/badge.svg)](https://github.com/bmerry/birdisle-py/actions/workflows/build.yml)
+[![Documentation Status](https://readthedocs.org/projects/birdisle/badge/?version=latest)](https://birdisle.readthedocs.io/en/latest/?badge=latest)
+
+Birdisle (an anagram of "lib redis") is a modified version of
+[redis](https://redis.io) that runs as a library inside another process. The
+primary aim is to simplify unit testing by providing a way to run tests
+against what appears to be a redis server, but without the hassle of starting a
+separate process and ensuring that it is torn down correctly.
+
+Birdisle-py is Python bindings for Birdisle. Documentation can be found at
+[readthedocs](https://birdisle.readthedocs.io/).
+
+
+%package -n python3-birdisle
+Summary: Python bindings for birdisle
+Provides: python-birdisle
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-birdisle
+# Maintainer wanted
+
+I've ended up not using birdisle and have no interest in maintaining it. If you
+would like to take over as maintainer, please let me know by filing a ticket.
+
+# birdisle-py
+
+[![Build Status](https://github.com/bmerry/birdisle-py/actions/workflows/build.yml/badge.svg)](https://github.com/bmerry/birdisle-py/actions/workflows/build.yml)
+[![Documentation Status](https://readthedocs.org/projects/birdisle/badge/?version=latest)](https://birdisle.readthedocs.io/en/latest/?badge=latest)
+
+Birdisle (an anagram of "lib redis") is a modified version of
+[redis](https://redis.io) that runs as a library inside another process. The
+primary aim is to simplify unit testing by providing a way to run tests
+against what appears to be a redis server, but without the hassle of starting a
+separate process and ensuring that it is torn down correctly.
+
+Birdisle-py is Python bindings for Birdisle. Documentation can be found at
+[readthedocs](https://birdisle.readthedocs.io/).
+
+
+%package help
+Summary: Development documents and examples for birdisle
+Provides: python3-birdisle-doc
+%description help
+# Maintainer wanted
+
+I've ended up not using birdisle and have no interest in maintaining it. If you
+would like to take over as maintainer, please let me know by filing a ticket.
+
+# birdisle-py
+
+[![Build Status](https://github.com/bmerry/birdisle-py/actions/workflows/build.yml/badge.svg)](https://github.com/bmerry/birdisle-py/actions/workflows/build.yml)
+[![Documentation Status](https://readthedocs.org/projects/birdisle/badge/?version=latest)](https://birdisle.readthedocs.io/en/latest/?badge=latest)
+
+Birdisle (an anagram of "lib redis") is a modified version of
+[redis](https://redis.io) that runs as a library inside another process. The
+primary aim is to simplify unit testing by providing a way to run tests
+against what appears to be a redis server, but without the hassle of starting a
+separate process and ensuring that it is torn down correctly.
+
+Birdisle-py is Python bindings for Birdisle. Documentation can be found at
+[readthedocs](https://birdisle.readthedocs.io/).
+
+
+%prep
+%autosetup -n birdisle-0.2.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-birdisle -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..bc98230
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+df2a989044d5a2e23b82c4d213cc9fa8 birdisle-0.2.2.tar.gz