Merge pull request #234663 from mweinelt/pyipp-0.13.0
python310Packages.pyipp: 0.12.1 -> 0.13.0
This commit is contained in:
commit
ae89c0d0c2
|
@ -15,7 +15,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyipp";
|
||||
version = "0.12.1";
|
||||
version = "0.13.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
@ -24,9 +24,15 @@ buildPythonPackage rec {
|
|||
owner = "ctalkington";
|
||||
repo = "python-ipp";
|
||||
rev = version;
|
||||
hash = "sha256-xTSi5Eh6vVuQ+Kr/oVMlh5YcckVRsfTUgdmGHndmX+Q=";
|
||||
hash = "sha256-lVpXtPxZZCyWycmkXZTMo5WTPtlehNY5IX7tiyIb1uM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'version = "0.0.0"' 'version = "${version}"' \
|
||||
--replace "--cov" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
@ -45,17 +51,14 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'version = "0.0.0"' 'version = "${version}"' \
|
||||
--replace " --cov" ""
|
||||
'';
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyipp"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/ctalkington/python-ipp/releases/tag/${version}";
|
||||
description = "Asynchronous Python client for Internet Printing Protocol (IPP)";
|
||||
homepage = "https://github.com/ctalkington/python-ipp";
|
||||
license = licenses.mit;
|
||||
|
|
Loading…
Reference in a new issue