public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-asyncpg] rawhide: Verify license against upstream
Date: Mon, 09 Nov 2026 21:11:55 GMT	[thread overview]
Message-ID: <179425871505.1.16410118777612843071.rpms-python-asyncpg-0bbbc11bea96@fedoraproject.org> (raw)

            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-}"

                 reply	other threads:[~2026-11-09 21:11 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=179425871505.1.16410118777612843071.rpms-python-asyncpg-0bbbc11bea96@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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