Merge pull request #246157 from marsam/update-python-sure
python310Packages.sure: 2.0.0 -> 2.0.1
This commit is contained in:
commit
1b1b7f8d26
|
@ -5,30 +5,20 @@
|
||||||
, six
|
, six
|
||||||
, mock
|
, mock
|
||||||
, isPyPy
|
, isPyPy
|
||||||
, pythonOlder
|
|
||||||
, fetchpatch
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "sure";
|
pname = "sure";
|
||||||
version = "2.0.0";
|
version = "2.0.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = isPyPy;
|
disabled = isPyPy;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
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 = [
|
propagatedBuildInputs = [
|
||||||
six
|
six
|
||||||
mock
|
mock
|
||||||
|
@ -38,8 +28,6 @@ buildPythonPackage rec {
|
||||||
rednose
|
rednose
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = pythonOlder "3.11";
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"sure"
|
"sure"
|
||||||
];
|
];
|
||||||
|
@ -47,7 +35,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Utility belt for automated testing";
|
description = "Utility belt for automated testing";
|
||||||
homepage = "https://sure.readthedocs.io/";
|
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;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue