public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Carl George <carl@george.computer>
To: git-commits@fedoraproject.org
Subject: [rpms/python-wsproto] epel9: Initial import (1639058)
Date: Fri, 25 Sep 2026 01:26:40 GMT	[thread overview]
Message-ID: <179029960043.1.12013470370821577864.rpms-python-wsproto-5bef3a33fc2c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-wsproto
Branch : epel9
Commit : 5bef3a33fc2c58fa5d490f914bb1adbf07b4e229
Author : Carl George <carl@george.computer>
Date   : 2018-10-15T10:52:06-05:00
Stats  : +84/-3 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/python-wsproto/c/5bef3a33fc2c58fa5d490f914bb1adbf07b4e229?branch=epel9

Log:
Initial import (1639058)

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..41ad2cc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+wsproto-*.tar.gz

diff --git a/README.md b/README.md
deleted file mode 100644
index 26cd376..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# python-wsproto
-
-WebSockets state-machine based protocol implementation
\ No newline at end of file

diff --git a/python-wsproto.spec b/python-wsproto.spec
new file mode 100644
index 0000000..24e575a
--- /dev/null
+++ b/python-wsproto.spec
@@ -0,0 +1,82 @@
+# 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 _description \
+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\
+use, ensuring that you can communicate via WebSockets, as defined in RFC6455,\
+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.
+
+%bcond_without tests
+
+
+Name:           python-%{pkgname}
+Version:        0.12.0
+Release:        1%{?dist}
+Summary:        WebSockets state-machine based protocol implementation
+License:        MIT
+URL:            https://github.com/python-hyper/wsproto
+Source0:        %pypi_source
+BuildArch:      noarch
+
+
+%description %{_description}
+
+
+%package -n python%{python3_pkgversion}-%{pkgname}
+Summary:        %{summary}
+BuildRequires:  python%{python3_pkgversion}-devel
+BuildRequires:  python%{python3_pkgversion}-setuptools
+%if %{with tests}
+BuildRequires:  python%{python3_pkgversion}-pytest
+BuildRequires:  python%{python3_pkgversion}-h11
+%endif
+Requires:       python%{python3_pkgversion}-h11
+%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
+
+
+%description -n python%{python3_pkgversion}-%{pkgname} %{_description}
+
+
+%prep
+%autosetup -n %{srcname}-%{version}
+rm -rf %{eggname}.egg-info
+
+
+%build
+%py3_build
+
+
+%install
+%py3_install
+
+
+%if %{with tests}
+%check
+PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} --verbose test
+%endif
+
+
+%files -n python%{python3_pkgversion}-%{pkgname}
+%license LICENSE
+%doc README.rst
+%{python3_sitelib}/%{libname}
+%{python3_sitelib}/%{eggname}-%{version}-py%{python3_version}.egg-info
+
+
+%changelog
+* Sun Oct 14 2018 Carl George <carl@george.computer> - 0.12.0-1
+- Initial package

diff --git a/sources b/sources
new file mode 100644
index 0000000..ba6c7c2
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (wsproto-0.12.0.tar.gz) = 159b7f67eff60c2514cfca17036d95017109fe251def6cec132998ac82a037484e3e248d4335539fd03491f56c491a7cf51582aa3f74a44d7d150220a875b18d

                 reply	other threads:[~2026-09-25  1:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179029960043.1.12013470370821577864.rpms-python-wsproto-5bef3a33fc2c@fedoraproject.org \
    --to=carl@george.computer \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox