public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-wsproto] epel9: Version 1.1.0
@ 2026-09-25  1:26 Carl George
  0 siblings, 0 replies; only message in thread
From: Carl George @ 2026-09-25  1:26 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-wsproto
            Branch : epel9
            Commit : 7e68440e648ebbcdea6de1ada30825c5d8eac26e
            Author : Carl George <carl@george.computer>
            Date   : 2022-06-27T15:54:33-05:00
            Stats  : +26/-31 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-wsproto/c/7e68440e648ebbcdea6de1ada30825c5d8eac26e?branch=epel9

            Log:
            Version 1.1.0

- Latest upstream
- Resolves: rhbz#2058965
- Resolves: rhbz#2049630

---
diff --git a/python-wsproto.spec b/python-wsproto.spec
index fd2a9e8..fec8cd3 100644
--- a/python-wsproto.spec
+++ b/python-wsproto.spec
@@ -1,12 +1,4 @@
-# what it's called on pypi
 %global srcname wsproto
-# what it's imported as
-%global libname %{srcname}
-# name of egg info directory
-%global eggname %{srcname}
-# package name fragment
-%global pkgname %{srcname}
-
 %global common_description %{expand:
 wsproto is a pure-Python implementation of a WebSocket protocol stack.  It is
 written from the ground up to be embeddable in whatever program you choose to
@@ -16,67 +8,70 @@ regardless of your programming paradigm.
 wsproto does not provide a parsing layer, a network layer, or any rules about
 concurrency.  Instead, it is a purely in-memory solution, defined in terms of
 data actions and WebSocket frames.  RFC6455 and Compression Extensions for
-WebSocket via RFC7692 are fully supported.
-
-wsproto supports Python 2.7 and 3.5 or higher.}
+WebSocket via RFC7692 are fully supported.}
 
 %bcond_without  tests
 
 
-Name:           python-%{pkgname}
-Version:        1.0.0
-Release:        5%{?dist}
+Name:           python-%{srcname}
+Version:        1.1.0
+Release:        1%{?dist}
 Summary:        WebSockets state-machine based protocol implementation
 License:        MIT
 URL:            https://github.com/python-hyper/wsproto
-Source0:        %pypi_source
+Source:         %pypi_source
 BuildArch:      noarch
 
 
 %description %{common_description}
 
 
-%package -n python3-%{pkgname}
+%package -n python3-%{srcname}
 Summary:        %{summary}
 BuildRequires:  python3-devel
-BuildRequires:  %{py3_dist setuptools}
 %if %{with tests}
-BuildRequires:  %{py3_dist pytest h11}
+BuildRequires:  python3-pytest
 %endif
-%{?python_provide:%python_provide python3-%{pkgname}}
 
 
-%description -n python3-%{pkgname} %{common_description}
+%description -n python3-%{srcname} %{common_description}
 
 
 %prep
 %autosetup -n %{srcname}-%{version}
-rm -rf %{eggname}.egg-info
+
+
+%generate_buildrequires
+%pyproject_buildrequires
 
 
 %build
-%py3_build
+%pyproject_wheel
 
 
 %install
-%py3_install
+%pyproject_install
+%pyproject_save_files %{srcname}
 
 
-%if %{with tests}
 %check
+%if %{with tests}
 %pytest --verbose
+%else
+%pyproject_check_import
 %endif
 
 
-%files -n python3-%{pkgname}
-%license LICENSE
-%doc README.rst
-%{python3_sitelib}/%{libname}
-%exclude %{python3_sitelib}/test
-%{python3_sitelib}/%{eggname}-%{version}-py%{python3_version}.egg-info
+%files -n python3-%{srcname} -f %{pyproject_files}
+%doc README.rst CHANGELOG.rst
 
 
 %changelog
+* Mon Jun 27 2022 Carl George <carl@george.computer> - 1.1.0-1
+- Latest upstream
+- Resolves: rhbz#2058965
+- Resolves: rhbz#2049630
+
 * Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.0-5
 - Rebuilt for Python 3.11
 

diff --git a/sources b/sources
index c8fe124..db48e3a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (wsproto-1.0.0.tar.gz) = 36f8c4eebf84bfe869f7124330898d22416b423f47396f2e3f72069e14f1763514e1df700c3e8ee81467cf973197e10143e088978d0688930fa98518af8773fb
+SHA512 (wsproto-1.1.0.tar.gz) = 0cd726bc62ca4d11e96f470f51511008bd43dbb9e99a17633d2a40da7bdaf19716e0a1c995350f5c8f418f906848dd6f2b9b0a853c1b6858ddafa1cc02fab710

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-25  1:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25  1:26 [rpms/python-wsproto] epel9: Version 1.1.0 Carl George

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox