[gentoo-commits] repo/gentoo:master commit in: dev-python/legacy-cgi/

2024-10-30 Thread Sam James
commit: 4bee84cdfcb337d44169ea39b60586ff0f2aeaae
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 30 22:18:31 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 30 22:18:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bee84cd

dev-python/legacy-cgi: Stabilize 2.6.1 sparc, #942522

Signed-off-by: Sam James  gentoo.org>

 dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild 
b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
index bc9557f25101..d29b9d447e24 100644
--- a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
+++ b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
@@ -16,6 +16,6 @@ HOMEPAGE="
 
 LICENSE="PSF-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/legacy-cgi/

2024-10-30 Thread Sam James
commit: 8c95b5fb0091141f28179a4fb02dbd8c71718a60
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 30 22:18:34 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 30 22:18:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c95b5fb

dev-python/legacy-cgi: Stabilize 2.6.1 ppc, #942522

Signed-off-by: Sam James  gentoo.org>

 dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild 
b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
index d29b9d447e24..7ffaf3678304 100644
--- a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
+++ b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
@@ -16,6 +16,6 @@ HOMEPAGE="
 
 LICENSE="PSF-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 sparc x86"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/legacy-cgi/

2024-10-30 Thread Sam James
commit: 7e62968e8f00146f4312edf108703024b7f766cc
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 30 22:18:23 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 30 22:18:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e62968e

dev-python/legacy-cgi: Stabilize 2.6.1 x86, #942522

Signed-off-by: Sam James  gentoo.org>

 dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild 
b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
index 44f08207639c..3c0191f1cc94 100644
--- a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
+++ b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
@@ -16,6 +16,6 @@ HOMEPAGE="
 
 LICENSE="PSF-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/legacy-cgi/

2024-10-30 Thread Sam James
commit: 28299b123e034d94edb637a1571fd3be261a7687
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 30 22:18:27 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 30 22:18:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28299b12

dev-python/legacy-cgi: Stabilize 2.6.1 hppa, #942522

Signed-off-by: Sam James  gentoo.org>

 dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild 
b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
index 3c0191f1cc94..bc9557f25101 100644
--- a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
+++ b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
@@ -16,6 +16,6 @@ HOMEPAGE="
 
 LICENSE="PSF-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/legacy-cgi/

2024-10-30 Thread Sam James
commit: 0032530cfe730ef5639b416981e16161cec485ab
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 30 22:18:16 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 30 22:18:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0032530c

dev-python/legacy-cgi: Stabilize 2.6.1 amd64, #942522

Signed-off-by: Sam James  gentoo.org>

 dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild 
b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
index c10707efe4a1..44f08207639c 100644
--- a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
+++ b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
@@ -16,6 +16,6 @@ HOMEPAGE="
 
 LICENSE="PSF-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/legacy-cgi/

2024-10-30 Thread Sam James
commit: 91c8f0b8c902510e1d565cb1a7073bf1c7afd029
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 30 22:18:37 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 30 22:18:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91c8f0b8

dev-python/legacy-cgi: Stabilize 2.6.1 ppc64, #942522

Signed-off-by: Sam James  gentoo.org>

 dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild 
b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
index 7ffaf3678304..806e15fe0688 100644
--- a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
+++ b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
@@ -16,6 +16,6 @@ HOMEPAGE="
 
 LICENSE="PSF-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/legacy-cgi/

2024-10-30 Thread Arthur Zamarin
commit: e66fbbd3912458c38ffc2411fcac9f71ba06308a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Oct 30 17:16:00 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Oct 30 17:16:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e66fbbd3

dev-python/legacy-cgi: Stabilize 2.6.1 arm64, #942522

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild 
b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
index 83827490f7fb..c10707efe4a1 100644
--- a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
+++ b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
@@ -16,6 +16,6 @@ HOMEPAGE="
 
 LICENSE="PSF-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/legacy-cgi/

2024-10-30 Thread Arthur Zamarin
commit: 78ba8a7eb32488dfc85dda59df0c0855ae290fd9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Oct 30 17:15:57 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Oct 30 17:15:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78ba8a7e

dev-python/legacy-cgi: Stabilize 2.6.1 arm, #942522

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild 
b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
index cbbd1ffaad87..83827490f7fb 100644
--- a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
+++ b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
@@ -16,6 +16,6 @@ HOMEPAGE="
 
 LICENSE="PSF-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/legacy-cgi/

2024-07-05 Thread Michał Górny
commit: 70c3b16654dead00bad95ca0fb0993f4d2fd74bd
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul  6 06:06:38 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  6 06:34:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70c3b166

dev-python/legacy-cgi: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/legacy-cgi/Manifest  |  1 -
 dev-python/legacy-cgi/legacy-cgi-2.6.ebuild | 30 -
 2 files changed, 31 deletions(-)

diff --git a/dev-python/legacy-cgi/Manifest b/dev-python/legacy-cgi/Manifest
index 852a65502fc9..6effbd44b8ce 100644
--- a/dev-python/legacy-cgi/Manifest
+++ b/dev-python/legacy-cgi/Manifest
@@ -1,2 +1 @@
 DIST legacy_cgi-2.6.1.tar.gz 24782 BLAKE2B 
4a147583a951e128282eef445fce9ad0acc6f63036d115b9f048956f1746808f563e025bc6f45687e6ea095b459c10e90e01c114ff535a485de1fe344917
 SHA512 
584ed4c2fdf05e89944dc86dc31dd4de80efbad3e43f15e411f9eff0fabbeeaf3df757faa2a56527f61d661b6d73eb258135ab7763dd3a58c9611829c6d28cb0
-DIST python-cgi-c6c8567a66f5ff8c5510755ca25a9bdd2756c4f6.gh.tar.gz 34964 
BLAKE2B 
0717bf9de721aef145443dd09475a4ed2d093bda0746512bc2074b2d7b90da37055662a47726240c9e7c07f0afca88639eb160d48289b0e9726e6638e1049b42
 SHA512 
0c0ca50a82a8fe76dd3eec56f75e408bbb035b16e726ba0156fd9360210068d63e7e3e60bd6f6793cef38276fc3c940d3195f7c0a9b1eea5056373358fbdb564

diff --git a/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild 
b/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild
deleted file mode 100644
index f1b8539fccdd..
--- a/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_13 )
-
-inherit distutils-r1
-
-# this is 2.6 + tests
-EGIT_COMMIT=c6c8567a66f5ff8c5510755ca25a9bdd2756c4f6
-MY_P=python-cgi-${EGIT_COMMIT}
-DESCRIPTION="Fork of the standard library cgi and cgitb modules (deprecated)"
-HOMEPAGE="
-   https://github.com/jackrosenthal/python-cgi/
-   https://pypi.org/project/legacy-cgi/
-"
-# no tests in sdist
-SRC_URI="
-   
https://github.com/jackrosenthal/python-cgi/archive/${EGIT_COMMIT}.tar.gz
-   -> ${MY_P}.gh.tar.gz
-"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="PSF-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
-
-distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/legacy-cgi/

2024-06-19 Thread Michał Górny
commit: 38b576551fe04823923f5bf762dc9290f93bdf67
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 20 03:33:31 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 20 04:45:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38b57655

dev-python/legacy-cgi: Bump to 2.6.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/legacy-cgi/Manifest|  1 +
 dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild | 21 +
 dev-python/legacy-cgi/metadata.xml|  2 +-
 3 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/dev-python/legacy-cgi/Manifest b/dev-python/legacy-cgi/Manifest
index 32ddc67cdb5a..852a65502fc9 100644
--- a/dev-python/legacy-cgi/Manifest
+++ b/dev-python/legacy-cgi/Manifest
@@ -1 +1,2 @@
+DIST legacy_cgi-2.6.1.tar.gz 24782 BLAKE2B 
4a147583a951e128282eef445fce9ad0acc6f63036d115b9f048956f1746808f563e025bc6f45687e6ea095b459c10e90e01c114ff535a485de1fe344917
 SHA512 
584ed4c2fdf05e89944dc86dc31dd4de80efbad3e43f15e411f9eff0fabbeeaf3df757faa2a56527f61d661b6d73eb258135ab7763dd3a58c9611829c6d28cb0
 DIST python-cgi-c6c8567a66f5ff8c5510755ca25a9bdd2756c4f6.gh.tar.gz 34964 
BLAKE2B 
0717bf9de721aef145443dd09475a4ed2d093bda0746512bc2074b2d7b90da37055662a47726240c9e7c07f0afca88639eb160d48289b0e9726e6638e1049b42
 SHA512 
0c0ca50a82a8fe76dd3eec56f75e408bbb035b16e726ba0156fd9360210068d63e7e3e60bd6f6793cef38276fc3c940d3195f7c0a9b1eea5056373358fbdb564

diff --git a/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild 
b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
new file mode 100644
index ..130b03cfd8d1
--- /dev/null
+++ b/dev-python/legacy-cgi/legacy-cgi-2.6.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_13 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Fork of the standard library cgi and cgitb modules (deprecated)"
+HOMEPAGE="
+   https://github.com/jackrosenthal/legacy-cgi/
+   https://pypi.org/project/legacy-cgi/
+"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+distutils_enable_tests pytest

diff --git a/dev-python/legacy-cgi/metadata.xml 
b/dev-python/legacy-cgi/metadata.xml
index 1de0f4062d0f..ebecdf1b43ed 100644
--- a/dev-python/legacy-cgi/metadata.xml
+++ b/dev-python/legacy-cgi/metadata.xml
@@ -6,7 +6,7 @@



-   jackrosenthal/python-cgi
+   jackrosenthal/legacy-cgi
legacy-cgi

 



[gentoo-commits] repo/gentoo:master commit in: dev-python/legacy-cgi/

2024-06-15 Thread Michał Górny
commit: ac211da611383d8636e144bdc548364a1a91be6d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 15 13:10:51 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 15 13:14:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac211da6

dev-python/legacy-cgi: Sync keywords to dev-lang/python

This code is taken verbatim from dev-lang/python, so let's not bother
rekeywording it.

Closes: https://bugs.gentoo.org/934338
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/legacy-cgi/legacy-cgi-2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild 
b/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild
index 181f2547ee83..f1b8539fccdd 100644
--- a/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild
+++ b/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild
@@ -25,6 +25,6 @@ S=${WORKDIR}/${MY_P}
 
 LICENSE="PSF-2"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/legacy-cgi/, profiles/

2024-06-15 Thread Michał Górny
commit: bc09138125aebb04ad3e6c4cecfff0277d7f3dbf
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 15 07:38:08 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 15 08:14:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc091381

dev-python/legacy-cgi: Add compat package for py3.13, v2.6

Add the compatibility `legacy-cgi` package that brings back `cgi`
modules in Python 3.13.  This is only meant as a stop-gap solution
to fix dead packages relying on the module.  As such, the package
is deprecated immediately.

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/legacy-cgi/Manifest  |  1 +
 dev-python/legacy-cgi/legacy-cgi-2.6.ebuild | 30 +
 dev-python/legacy-cgi/metadata.xml  | 12 
 profiles/package.deprecated |  5 +
 4 files changed, 48 insertions(+)

diff --git a/dev-python/legacy-cgi/Manifest b/dev-python/legacy-cgi/Manifest
new file mode 100644
index ..32ddc67cdb5a
--- /dev/null
+++ b/dev-python/legacy-cgi/Manifest
@@ -0,0 +1 @@
+DIST python-cgi-c6c8567a66f5ff8c5510755ca25a9bdd2756c4f6.gh.tar.gz 34964 
BLAKE2B 
0717bf9de721aef145443dd09475a4ed2d093bda0746512bc2074b2d7b90da37055662a47726240c9e7c07f0afca88639eb160d48289b0e9726e6638e1049b42
 SHA512 
0c0ca50a82a8fe76dd3eec56f75e408bbb035b16e726ba0156fd9360210068d63e7e3e60bd6f6793cef38276fc3c940d3195f7c0a9b1eea5056373358fbdb564

diff --git a/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild 
b/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild
new file mode 100644
index ..181f2547ee83
--- /dev/null
+++ b/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_13 )
+
+inherit distutils-r1
+
+# this is 2.6 + tests
+EGIT_COMMIT=c6c8567a66f5ff8c5510755ca25a9bdd2756c4f6
+MY_P=python-cgi-${EGIT_COMMIT}
+DESCRIPTION="Fork of the standard library cgi and cgitb modules (deprecated)"
+HOMEPAGE="
+   https://github.com/jackrosenthal/python-cgi/
+   https://pypi.org/project/legacy-cgi/
+"
+# no tests in sdist
+SRC_URI="
+   
https://github.com/jackrosenthal/python-cgi/archive/${EGIT_COMMIT}.tar.gz
+   -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+distutils_enable_tests pytest

diff --git a/dev-python/legacy-cgi/metadata.xml 
b/dev-python/legacy-cgi/metadata.xml
new file mode 100644
index ..1de0f4062d0f
--- /dev/null
+++ b/dev-python/legacy-cgi/metadata.xml
@@ -0,0 +1,12 @@
+
+https://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   pyt...@gentoo.org
+   
+   
+   
+   jackrosenthal/python-cgi
+   legacy-cgi
+   
+

diff --git a/profiles/package.deprecated b/profiles/package.deprecated
index 00fdb46f32af..c0bb1408ec78 100644
--- a/profiles/package.deprecated
+++ b/profiles/package.deprecated
@@ -17,6 +17,11 @@
 
 #--- END OF EXAMPLES ---
 
+# Michał Górny  (2024-06-15)
+# Stop-gap compatibility package.  Upstreams really need to move away
+# from the removed cgi module rather than rely on this.
+dev-python/legacy-cgi
+
 # Volkmar W. Pogatzki  (2024-03-10)
 # ant-core should no longer be ussed as of version 1.10.14 or higher.
 # It is now completely integrated in dev-java/ant and will be removed after a