Merge pull request #258273 from r-ryantm/auto-update/python310Packages.setuptools-odoo

python310Packages.setuptools-odoo: 3.1.12 -> 3.2.0
This commit is contained in:
Fabian Affolter 2023-10-01 16:04:24 +02:00 committed by GitHub
commit cfe841f125
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,25 @@
{ buildPythonPackage
{ lib
, buildPythonPackage
, fetchFromGitHub
, lib
, nix-update-script
, pytestCheckHook
, git
, pytestCheckHook
, pythonOlder
, setuptools-scm
, writeScript
}:
buildPythonPackage rec {
pname = "setuptools-odoo";
version = "3.1.12";
version = "3.2.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "acsone";
repo = pname;
rev = version;
hash = "sha256-GIX21gOENE0r3yFIyzwjaoEcb0XvuCqiPU8F3GLxNt4=";
rev = "refs/tags/${version}";
hash = "sha256-aS2a1G9lssgGk3uqWgPPWpOpEnqUkCUzWsqPLQfU55k=";
};
propagatedBuildInputs = [
@ -23,6 +28,7 @@ buildPythonPackage rec {
# HACK https://github.com/NixOS/nixpkgs/pull/229460
SETUPTOOLS_SCM_PRETEND_VERSION = version;
patchPhase = ''
runHook prePatch
@ -55,7 +61,11 @@ buildPythonPackage rec {
preBuildHooks+=(setuptoolsOdooHook)
'';
nativeCheckInputs = [ pytestCheckHook git ];
nativeCheckInputs = [
pytestCheckHook
git
];
disabledTests = [
"test_addon1_uncommitted_change"
"test_addon1"
@ -65,12 +75,11 @@ buildPythonPackage rec {
"test_odoo_addon5_wheel"
];
passthru.updateScript = nix-update-script { };
meta = {
meta = with lib; {
description = "Setuptools plugin for Odoo addons";
homepage = "https://github.com/acsone/setuptools-odoo";
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ yajo ];
changelog = "https://github.com/acsone/setuptools-odoo/blob/${version}/CHANGES.rst";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ yajo ];
};
}