summaryrefslogtreecommitdiff
path: root/dev-python/legacy-cgi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-16 00:09:44 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-16 00:09:44 +0100
commit0a3feeaba4dbc58966dccdbbfcd7fb14deef0831 (patch)
treed48a200142b883af377722ab54ec0c1d8c19912f /dev-python/legacy-cgi
parent6a7029e0f7370d4d5dfe9e31cc2719a870482392 (diff)
gentoo auto-resync : 16:06:2024 - 00:09:44
Diffstat (limited to 'dev-python/legacy-cgi')
-rw-r--r--dev-python/legacy-cgi/Manifest3
-rw-r--r--dev-python/legacy-cgi/legacy-cgi-2.6.ebuild30
-rw-r--r--dev-python/legacy-cgi/metadata.xml12
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/legacy-cgi/Manifest b/dev-python/legacy-cgi/Manifest
new file mode 100644
index 000000000000..14705e25a749
--- /dev/null
+++ b/dev-python/legacy-cgi/Manifest
@@ -0,0 +1,3 @@
+DIST python-cgi-c6c8567a66f5ff8c5510755ca25a9bdd2756c4f6.gh.tar.gz 34964 BLAKE2B 0717bf9de721aef145443dd09475a4ed2d093bda0746512bc2074b2d7b90da37055662a47726240c9e7c07f0afca88639eb160d48289b0e9726e6638e1049b42 SHA512 0c0ca50a82a8fe76dd3eec56f75e408bbb035b16e726ba0156fd9360210068d63e7e3e60bd6f6793cef38276fc3c940d3195f7c0a9b1eea5056373358fbdb564
+EBUILD legacy-cgi-2.6.ebuild 782 BLAKE2B 77c18b33e643b8f45f78c03f8935608a7837faa033058217e1132fd51d4c5a24ff3ba74c15c0fc880607fb6733b42a3a5f03b3d12389fd2966125487058593d9 SHA512 ac7dbecf52b2f880ec6cd7879b723934cfe4cc00cd43fa1eae895ddf693a7d8f31e573de45a7c37fa12469e5c22df885a2ac5751b1b103c3f4c4d695abe3f032
+MISC metadata.xml 380 BLAKE2B 775ce66e90ed5cbae44c36949a93f4fe35a425c7276472d4f10c3744b8497e0ceb8ecb8036aafa8dcb49f97cbba4ae25b88cd7462a6d159dee7fe36d295cce29 SHA512 fd43516d291ca6912d7eb0c5a6ec35191ef446cdbad33227b4894374fb223f2515a8910cb589d0eec0ad29940e25b7b3bdf0603c92fa71c7b4bfebd6e7ce9669
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 000000000000..f1b8539fccdd
--- /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="~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
new file mode 100644
index 000000000000..1de0f4062d0f
--- /dev/null
+++ b/dev-python/legacy-cgi/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">jackrosenthal/python-cgi</remote-id>
+ <remote-id type="pypi">legacy-cgi</remote-id>
+ </upstream>
+</pkgmetadata>