forked from rosa/hakurei
internal/rosa/python: setuptools-scm artifact
Awful hack required by many packages. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -139,12 +139,14 @@ const (
|
|||||||
PythonPyTest
|
PythonPyTest
|
||||||
PythonPyYAML
|
PythonPyYAML
|
||||||
PythonPygments
|
PythonPygments
|
||||||
|
PythonSetuptools
|
||||||
|
PythonSetuptoolsSCM
|
||||||
|
PythonVCSVersioning
|
||||||
QEMU
|
QEMU
|
||||||
Rdfind
|
Rdfind
|
||||||
Readline
|
Readline
|
||||||
Rsync
|
Rsync
|
||||||
Sed
|
Sed
|
||||||
Setuptools
|
|
||||||
SPIRVHeaders
|
SPIRVHeaders
|
||||||
SPIRVTools
|
SPIRVTools
|
||||||
SquashfsTools
|
SquashfsTools
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ python3 ./run_project_tests.py \
|
|||||||
--backend=ninja
|
--backend=ninja
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
Setuptools,
|
PythonSetuptools,
|
||||||
PkgConfig,
|
PkgConfig,
|
||||||
CMake,
|
CMake,
|
||||||
Ninja,
|
Ninja,
|
||||||
|
|||||||
@@ -244,7 +244,7 @@ func init() {
|
|||||||
version = "82.0.1"
|
version = "82.0.1"
|
||||||
checksum = "nznP46Tj539yqswtOrIM4nQgwLA1h-ApKX7z7ghazROCpyF5swtQGwsZoI93wkhc"
|
checksum = "nznP46Tj539yqswtOrIM4nQgwLA1h-ApKX7z7ghazROCpyF5swtQGwsZoI93wkhc"
|
||||||
)
|
)
|
||||||
artifactsM[Setuptools] = newPythonPackage(
|
artifactsM[PythonSetuptools] = newPythonPackage(
|
||||||
"setuptools", 4021,
|
"setuptools", 4021,
|
||||||
"the autotools of the Python ecosystem",
|
"the autotools of the Python ecosystem",
|
||||||
"https://pypi.org/project/setuptools/",
|
"https://pypi.org/project/setuptools/",
|
||||||
@@ -256,6 +256,54 @@ func init() {
|
|||||||
}, nil)
|
}, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
const (
|
||||||
|
version = "1.1.1"
|
||||||
|
checksum = "rXZixTsZcRcIoUC1LvWrjySsiXSv5uhW6ng2P-yXZrbdj7FrSrDeJLCfC2b-ladV"
|
||||||
|
)
|
||||||
|
artifactsM[PythonVCSVersioning] = newPythonPackage(
|
||||||
|
"vcs-versioning", 389421,
|
||||||
|
"core VCS versioning functionality extracted as a standalone library",
|
||||||
|
"https://setuptools-scm.readthedocs.io/en/latest/",
|
||||||
|
version, newFromGitHub(
|
||||||
|
"pypa/setuptools-scm",
|
||||||
|
"vcs-versioning-v"+version, checksum,
|
||||||
|
), &PackageAttr{
|
||||||
|
Env: []string{
|
||||||
|
"SETUPTOOLS_SCM_PRETEND_VERSION=" + version,
|
||||||
|
},
|
||||||
|
}, &PipHelper{
|
||||||
|
Append: []string{"vcs-versioning"},
|
||||||
|
}, nil,
|
||||||
|
PythonSetuptools,
|
||||||
|
PythonPackaging,
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
const (
|
||||||
|
version = "10.0.5"
|
||||||
|
checksum = "vTN_TPd-b4Wbsw5WmAcsWjrs-FNXXznOeVTDnb54NtXve9Oy-eb2HPy-RG3FzNqp"
|
||||||
|
)
|
||||||
|
artifactsM[PythonSetuptoolsSCM] = newPythonPackage(
|
||||||
|
"setuptools-scm", 7874,
|
||||||
|
"extracts Python package versions from Git or Mercurial metadata",
|
||||||
|
"https://setuptools-scm.readthedocs.io/en/latest/",
|
||||||
|
version, newFromGitHub(
|
||||||
|
"pypa/setuptools-scm",
|
||||||
|
"setuptools-scm-v"+version, checksum,
|
||||||
|
), &PackageAttr{
|
||||||
|
Env: []string{
|
||||||
|
"SETUPTOOLS_SCM_PRETEND_VERSION=" + version,
|
||||||
|
},
|
||||||
|
}, &PipHelper{
|
||||||
|
Append: []string{"setuptools-scm"},
|
||||||
|
}, nil,
|
||||||
|
PythonSetuptools,
|
||||||
|
PythonVCSVersioning,
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
const (
|
const (
|
||||||
version = "3.12.0"
|
version = "3.12.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user