$ git show --format=fuller --patch-with-stat --summary 74ddfab4e8abe799c73a6ea85ccbb33d2f05d0a9
commit 74ddfab4e8abe799c73a6ea85ccbb33d2f05d0a9
Author: mandian <mandian@users.noreply.github.com>
AuthorDate: Thu May 5 21:49:11 2022 +0100
Commit: mandian <mandian@users.noreply.github.com>
CommitDate: Thu May 5 21:49:11 2022 +0100
Initial release
---
.abf.yml | 2 ++
python-curio.spec | 43 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
create mode 100644 .abf.yml
create mode 100644 python-curio.spec
diff --git a/.abf.yml b/.abf.yml
new file mode 100644
index 0000000..db4d316
--- /dev/null
+++ b/.abf.yml
@@ -0,0 +1,2 @@
+sources:
+ curio-1.5.tar.gz: ed120e296831fbbb8f83415a79a10fca9dafd44c
diff --git a/python-curio.spec b/python-curio.spec
new file mode 100644
index 0000000..8cfcd54
--- /dev/null
+++ b/python-curio.spec
@@ -0,0 +1,43 @@
+%define module curio
+
+Summary: A coroutine-based library for concurrent Python systems programming using async/await
+Name: python-%{module}
+Version: 1.5
+Release: 1
+License: BSD
+Group: Development/Python
+Url: https://github.com/dabeaz/curio/%{module}
+Source: https://files.pythonhosted.org/packages/source/c/%{module}/%{module}-%{version}.tar.gz
+
+BuildRequires: pkgconfig(python3)
+BuildRequires: python3dist(setuptools)
+BuildRequires: python3dist(sphinx)
+# test
+BuildRequires: python3dist(pytest)
+
+BuildArch: noarch
+
+%description
+Curio is a coroutine-based library for concurrent Python systems programming
+using async/await. It provides standard programming abstractions such as as tasks,
+sockets, files, locks, and queues as well as some advanced features such as
+support for structured concurrency. It works on Unix and Windows and has zero
+dependencies. You'll find it to be familiar, small, fast, and fun.
+
+%files
+%license LICENSE
+%doc README.rst
+%{python_sitelib}/%{module}/
+%{python_sitelib}/%{module}-%{version}-py%{pyver}.egg-info/
+
+#----------------------------------------------------------------------------
+
+%prep
+%autosetup -n %{module}-%{version}
+
+%build
+%py_build
+
+%install
+%py_install
+