forked from rosa/hakurei
internal/rosa/python: install iniconfig from source
This also required the setuptools-scm hack. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -429,13 +429,26 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
artifactsM[PythonIniConfig] = newPypi(
|
const (
|
||||||
|
version = "2.3.0"
|
||||||
|
checksum = "mH7VBZaXcYatBPE3RQQZvSzz_Ay8IPPek60NpPHZulPq4ReAFUUsA4EPWfiyMknZ"
|
||||||
|
)
|
||||||
|
artifactsM[PythonIniConfig] = newPythonPackage(
|
||||||
"iniconfig", 114778,
|
"iniconfig", 114778,
|
||||||
"a small and simple INI-file parser module",
|
"a small and simple INI-file parser module",
|
||||||
"2.3.0", "py3", "none", "any",
|
"https://github.com/pytest-dev/iniconfig",
|
||||||
"SDgs4S5bXi77aVOeKTPv2TUrS3M9rduiK4DpU0hCmDsSBWqnZcWInq9lsx6INxut",
|
version, newFromGitHub(
|
||||||
|
"pytest-dev/iniconfig",
|
||||||
|
"v"+version, checksum,
|
||||||
|
), &PackageAttr{
|
||||||
|
Env: []string{
|
||||||
|
"SETUPTOOLS_SCM_PRETEND_VERSION_FOR_INICONFIG=" + version,
|
||||||
|
},
|
||||||
|
}, nil, P{PythonSetuptoolsSCM},
|
||||||
)
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() {
|
||||||
artifactsM[PythonPyTest] = newPypi(
|
artifactsM[PythonPyTest] = newPypi(
|
||||||
"pytest", 3765,
|
"pytest", 3765,
|
||||||
"the pytest framework",
|
"the pytest framework",
|
||||||
|
|||||||
Reference in New Issue
Block a user