summaryrefslogtreecommitdiff
path: root/dev-python/legacy-cgi/legacy-cgi-2.6.ebuild
blob: f1b8539fccdddf447d527758a1f51016210ec6a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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