Merge pull request #246157 from marsam/update-python-sure

python310Packages.sure: 2.0.0 -> 2.0.1
This commit is contained in:
Mario Rodas 2023-08-03 08:16:43 -05:00 committed by GitHub
commit 1b1b7f8d26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,30 +5,20 @@
, six
, mock
, isPyPy
, pythonOlder
, fetchpatch
}:
buildPythonPackage rec {
pname = "sure";
version = "2.0.0";
version = "2.0.1";
format = "setuptools";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
sha256 = "34ae88c846046742ef074036bf311dc90ab152b7bc09c342b281cebf676727a2";
sha256 = "sha256-yPxvq8Dn9phO6ruUJUDkVkblvvC7mf5Z4C2mNOTUuco=";
};
patches = [
# https://github.com/gabrielfalcao/sure/issues/169
(fetchpatch {
url = "https://raw.githubusercontent.com/archlinux/svntogit-community/055baa81cd987e566de62a5657513937521a90d4/trunk/python310.diff";
hash = "sha256-BKylV8xpTOuO/X4hzZKpoIcAQcdAK0kXYENRad7AGPc=";
})
];
propagatedBuildInputs = [
six
mock
@ -38,8 +28,6 @@ buildPythonPackage rec {
rednose
];
doCheck = pythonOlder "3.11";
pythonImportsCheck = [
"sure"
];
@ -47,7 +35,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Utility belt for automated testing";
homepage = "https://sure.readthedocs.io/";
changelog = "https://github.com/gabrielfalcao/sure/blob/${version}/CHANGELOG.md";
changelog = "https://github.com/gabrielfalcao/sure/blob/v${version}/CHANGELOG.md";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ];
};