public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-tubes] epel10.2: Initial package (#1870882)
@ 2026-10-05 22:10 Neal Gompa
0 siblings, 0 replies; only message in thread
From: Neal Gompa @ 2026-10-05 22:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-tubes
Branch : epel10.2
Commit : 489a7804826a81d07aefa023d33031138d062d03
Author : Neal Gompa <ngompa13@gmail.com>
Date : 2020-08-23T08:23:06-04:00
Stats : +61/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-tubes/c/489a7804826a81d07aefa023d33031138d062d03?branch=epel10.2
Log:
Initial package (#1870882)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ae81a72
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/tubes-0.2.0.tar.gz
diff --git a/python-tubes.spec b/python-tubes.spec
new file mode 100644
index 0000000..4df373c
--- /dev/null
+++ b/python-tubes.spec
@@ -0,0 +1,59 @@
+%global pypi_name tubes
+
+# Something broken in Twisted breaks these tests
+%bcond_with check
+
+Name: python-%{pypi_name}
+Version: 0.2.0
+Release: 1%{?dist}
+Summary: Flow control and backpressure for event-driven applications
+
+License: MIT
+URL: https://github.com/twisted/tubes/
+Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
+
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: python3dist(twisted)
+BuildRequires: python3dist(six)
+BuildRequires: python3dist(setuptools)
+
+%description
+%{summary}.
+
+
+%package -n python3-%{pypi_name}
+Summary: %{summary}
+%{?python_provide:%python_provide python3-%{pypi_name}}
+%description -n python3-%{pypi_name}
+%{summary}.
+
+%prep
+%autosetup -n %{pypi_name}-%{version}
+
+# Remove bundled egg-info
+rm -rf %{pypi_name}.egg-info
+# Remove unused dependency
+sed -e '/"characteristic",/d' -i setup.py
+
+%build
+%py3_build
+
+%install
+%py3_install
+
+%if %{with check}
+%check
+%python3 setup.py test
+%endif
+
+%files -n python3-%{pypi_name}
+%doc README.rst
+%license LICENSE
+%{python3_sitelib}/%{pypi_name}/
+%{python3_sitelib}/Tubes-%{version}-py%{python3_version}.egg-info/
+
+%changelog
+* Sun Aug 23 2020 Neal Gompa <ngompa13@gmail.com> - 0.2.0-1
+- Initial package (#1870882)
diff --git a/sources b/sources
new file mode 100644
index 0000000..cfd749e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (tubes-0.2.0.tar.gz) = 6039a3059b61f8a0c84d4e10bb47d9f2bb95505b0353cb0f1eefb6942f0ad0d88c9b02ff0d48ed0300d615d3e3203c5e884990cd6d006c2f1dbd18b88fcb2e9e
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-05 22:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-05 22:10 [rpms/python-tubes] epel10.2: Initial package (#1870882) Neal Gompa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox