mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #216139 from fabaff/check-manifest-bump
python310Packages.check-manifest: 0.48 -> 0.49
This commit is contained in:
commit
2f3ed68ea7
1 changed files with 11 additions and 17 deletions
|
@ -3,48 +3,41 @@
|
|||
, build
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, git
|
||||
, mock
|
||||
, pep517
|
||||
, pytestCheckHook
|
||||
, toml
|
||||
, tomli
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "check-manifest";
|
||||
version = "0.48";
|
||||
version = "0.49";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-O1dfHa3nvrMHjvS/M6lFGYNEV8coHbxyaxXFRmtVxlc=";
|
||||
hash = "sha256-ZKZARFVCzyJpGWV8e3jQLZwcpbHCXX5m4OH/MlBg9BY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix git submodule tests using file: protocol
|
||||
(fetchpatch {
|
||||
url = "https://github.com/mgedmin/check-manifest/pull/159.patch";
|
||||
hash = "sha256-CDtuIoHgP4THLt+xF32C/OrjakwPOEVTKUh5JuQB5wM=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build
|
||||
pep517
|
||||
toml
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
tomli
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
breezy
|
||||
git
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
breezy
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test wants to setup a venv
|
||||
"test_build_sdist_pep517_isolated"
|
||||
|
@ -57,6 +50,7 @@ buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
description = "Check MANIFEST.in in a Python source package for completeness";
|
||||
homepage = "https://github.com/mgedmin/check-manifest";
|
||||
changelog = "https://github.com/mgedmin/check-manifest/blob/${version}/CHANGES.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lewo ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue