public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-asyncpg] rawhide: Verify license against upstream
@ 2026-11-09 21:11 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-09 21:11 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-asyncpg
Branch : rawhide
Commit : 0bbbc11bea9691c987bb178f566c5a676afef0bd
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-09T21:05:11+00:00
Stats : +31/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-asyncpg/c/0bbbc11bea9691c987bb178f566c5a676afef0bd?branch=rawhide
Log:
Verify license against upstream
- Ask upstream to use a more complete SPDX expression
---
diff --git a/1405.patch b/1405.patch
new file mode 100644
index 0000000..b58b23f
--- /dev/null
+++ b/1405.patch
@@ -0,0 +1,25 @@
+From 3dd1b2e6dc8f2433e4c50c37da7a0ec9bed48d0e Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Mon, 9 Nov 2026 20:56:25 +0000
+Subject: [PATCH] Make the license metadata more complete
+
+- `asyncpg/protocol/record/pythoncapi_compat.h` is `0BSD`
+- `asyncpg/protocol/record/recordobj.c` and `asyncpg/_asyncio_compat.py`
+ are (in part or in whole) `PSF-2.0`
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 48d24588..f5665d5e 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -4,7 +4,7 @@ description = "An asyncio PostgreSQL driver"
+ authors = [{name = "MagicStack Inc", email = "hello@magic.io"}]
+ requires-python = '>=3.9.0'
+ readme = "README.rst"
+-license = "Apache-2.0"
++license = "Apache-2.0 AND 0BSD AND PSF-2.0"
+ license-files = ["LICENSE"]
+ dynamic = ["version"]
+ keywords = [
diff --git a/python-asyncpg.spec b/python-asyncpg.spec
index f17f89a..7a044ef 100644
--- a/python-asyncpg.spec
+++ b/python-asyncpg.spec
@@ -19,6 +19,10 @@ License: Apache-2.0 AND 0BSD AND PSF-2.0
URL: https://github.com/MagicStack/asyncpg
Source: %{pypi_source asyncpg}
+# Make the license metadata more complete
+# https://github.com/MagicStack/asyncpg/pull/1405
+Patch: %{url}/pull/1405.patch
+
BuildSystem: pyproject
BuildOption(install): --assert-license asyncpg
BuildOption(generate_buildrequires): --extras gssauth --dependency-groups test
@@ -105,6 +109,8 @@ export ASYNCPG_BUILD_CYTHON_ALWAYS=1
%check -a
+%pyproject_verify_license
+
# See the “test” target in the Makefile:
PYTHONASYNCIODEBUG=1 %pytest -k "${k-}"
%pytest -k "${k-}"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-09 21:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 21:11 [rpms/python-asyncpg] rawhide: Verify license against upstream Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox