dev-python/sqlalchemy: add missing patch

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-09-29 21:39:10 +02:00
parent df8d0fd2b9
commit ca7dd324c4
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 16 additions and 2 deletions

View File

@ -606,12 +606,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 2003 Ebuilds in total, 1992 of them have in total 2020 (42 different) licenses assigned.
There are 2004 Ebuilds in total, 1993 of them have in total 2021 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1160|
|Apache-2.0|445|
|Apache-2.0|446|
|GPL-3|117|
|BSD|113|
|LGPL-3|25|

View File

@ -1,3 +1,4 @@
AUX sqlalchemy-2.0.30-py313.patch 508 BLAKE2B 6658d6f71291018461fea34397082adfa289d6ee3e24fb4daed866693455cfbea09520096659b8e7cb3f03e9f20f5b9f5ec60c89669aa48564fd5d7fc33bd121 SHA512 28cd85729b9b5019e95de89cb51efa39c1066a8a23c51de8931c335e97eafb6ab8734405ec7e1970d3569359588b743cdc28be956e300fe19b40052cb77ecdd4
DIST SQLAlchemy-2.0.30.tar.gz 9579500 BLAKE2B 3c1711ee72a355eb5e6a71d6581d951ffe3ddab459ac4bb4c36a8640ed5f6298a80847e9bb66dd700622fa9275bf77c4c18be5e324092a576d1b35983371730a SHA512 b39275a7312609fd0a78ac5bb4fb0f29f2948d7fc81007587c01f38849ff28bff273182a06c8ec830b7e1ba4cd30aea2cd7214bbf971a61125c9b56c6ddbbe52
EBUILD sqlalchemy-2.0.30-r1.ebuild 4144 BLAKE2B dd3ff9e92086119af1134278f006d0e830bc41b0aad31276f9c10a6a40ef4772cd70e80077f0c2a817763a1b5f9de4ea8708d53b43666d5ef5f5c31ca0af71dd SHA512 3de4f3e426b696e18a22f0843f575fc625f9e7d816e6c61259136a46c9692ca0730da3fc1f17a0b5af9ac9deedfdb29e382f5bbea92d82cf882bb13551c0e64b
MISC metadata.xml 520 BLAKE2B fee1a03271d09cb19edb38072bc85b543da8055c45babaa476f8ec1f9eb6fe049110eb024fc17f36671642f980625eb8d6540982942b69d068c55db1a6670db6 SHA512 967c17af33e56d86af1d83ce022b76ecdb209196d639537a998499b31b39df8c156b8a20ba2db3ecfbd73a01f0b327363d2ed82e9d148a9cf0d0822fe939569f

View File

@ -0,0 +1,13 @@
diff --git a/lib/sqlalchemy/util/langhelpers.py b/lib/sqlalchemy/util/langhelpers.py
index c97fa7d..9a02e7d 100644
--- a/lib/sqlalchemy/util/langhelpers.py
+++ b/lib/sqlalchemy/util/langhelpers.py
@@ -1657,6 +1657,8 @@
items: List[symbol]
cls._items = items = []
for k, v in dict_.items():
+ if re.match(r"^__.*__$", k):
+ continue
if isinstance(v, int):
sym = symbol(k, canonical=v)
elif not k.startswith("_"):