python313Packages.mygpoclient: 1.9 -> 1.10 (#405734)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
minimock,
|
||||
pytestCheckHook,
|
||||
@@ -9,22 +10,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mygpoclient";
|
||||
version = "1.9";
|
||||
version = "1.10";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gpodder";
|
||||
repo = "mygpoclient";
|
||||
rev = version;
|
||||
hash = "sha256-McHllitWiBiCdNuJlUg6K/vgr2l3ychu+KOx3r/UCv0=";
|
||||
tag = version;
|
||||
hash = "sha256-g4iPw6i8Gy3kvIjHCyGLJNHNb+osaCmc46hIryrodi8=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace mygpoclient/*_test.py \
|
||||
--replace-quiet "assertEquals" "assertEqual" \
|
||||
--replace-quiet "assert_" "assertTrue"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonImportsCheck = [ "mygpoclient" ];
|
||||
@@ -34,16 +29,20 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
|
||||
"mygpoclient/http_test.py"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Gpodder.net client library";
|
||||
longDescription = ''
|
||||
The mygpoclient library allows developers to utilize a Pythonic interface
|
||||
to the gpodder.net web services.
|
||||
'';
|
||||
homepage = "https://github.com/gpodder/mygpoclient";
|
||||
license = with licenses; [ gpl3 ];
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user