forked from rosa/hakurei
internal/rosa/python: install pytest from source
Used by many python packages. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -449,17 +449,30 @@ func init() {
|
||||
}
|
||||
|
||||
func init() {
|
||||
artifactsM[PythonPyTest] = newPypi(
|
||||
const (
|
||||
version = "9.0.3"
|
||||
checksum = "qfLL_znWhbJCDbNJvrx9H3-orJ86z4ifhaW0bIn21jl2sDP-FVoX_1yieOypArQe"
|
||||
)
|
||||
artifactsM[PythonPyTest] = newPythonPackage(
|
||||
"pytest", 3765,
|
||||
"the pytest framework",
|
||||
"9.0.3", "py3", "none", "any",
|
||||
"57WLrIVOfyoRDjt5qD6LGOaDcDCtzQnKDSTUb7GzHyJDtry_nGHHs4-0tW0tiIJr",
|
||||
"https://pytest.org",
|
||||
version, newFromGitHub(
|
||||
"pytest-dev/pytest",
|
||||
version, checksum,
|
||||
), &PackageAttr{
|
||||
Env: []string{
|
||||
"SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTEST=" + version,
|
||||
},
|
||||
}, nil, P{PythonSetuptoolsSCM},
|
||||
PythonIniConfig,
|
||||
PythonPackaging,
|
||||
PythonPluggy,
|
||||
PythonPygments,
|
||||
)
|
||||
}
|
||||
|
||||
func init() {
|
||||
artifactsM[PythonMarkupSafe] = newPypi(
|
||||
"markupsafe", 3918,
|
||||
"implements a text object that escapes characters so it is safe to use in HTML and XML",
|
||||
|
||||
Reference in New Issue
Block a user