Merge pull request #306617 from r-ryantm/auto-update/python311Packages.craft-application
python311Packages.craft-application: 2.5.0 -> 2.6.0
This commit is contained in:
commit
b0d52b31f7
|
@ -1,40 +1,42 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
git,
|
||||
craft-archives,
|
||||
craft-cli,
|
||||
craft-grammar,
|
||||
craft-parts,
|
||||
craft-providers,
|
||||
fetchFromGitHub,
|
||||
git,
|
||||
hypothesis,
|
||||
nix-update-script,
|
||||
pydantic-yaml-0,
|
||||
pyyaml,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
snap-helpers,
|
||||
stdenv,
|
||||
pygit2,
|
||||
pyfakefs,
|
||||
pytestCheckHook,
|
||||
pygit2,
|
||||
pytest-check,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pyyaml,
|
||||
responses,
|
||||
hypothesis,
|
||||
setuptools-scm,
|
||||
setuptools,
|
||||
snap-helpers,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "craft-application";
|
||||
version = "2.5.0";
|
||||
|
||||
version = "2.6.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "canonical";
|
||||
repo = "craft-application";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-66Ldo88DJ6v0+ekvDl++eDzhdn95yxq0SMdzQxTGl5k=";
|
||||
hash = "sha256-zwkbSo20ogq24YtvFOCYICk25XS8FuxRbW5jfX4gDJM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -45,12 +47,12 @@ buildPythonPackage rec {
|
|||
--replace-fail "setuptools==69.4.0" "setuptools"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
craft-archives
|
||||
craft-cli
|
||||
craft-grammar
|
||||
|
@ -62,8 +64,6 @@ buildPythonPackage rec {
|
|||
snap-helpers
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "craft_application" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
git
|
||||
hypothesis
|
||||
|
@ -88,6 +88,8 @@ buildPythonPackage rec {
|
|||
--replace-fail "os_utils.OsRelease()" "os_utils.OsRelease(os_release_file='$HOME/os-release')"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "craft_application" ];
|
||||
|
||||
pytestFlagsArray = [ "tests/unit" ];
|
||||
|
||||
disabledTests = [
|
||||
|
|
Loading…
Reference in New Issue