mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Merge pull request #266614 from r-ryantm/auto-update/python311Packages.mechanize
python311Packages.mechanize: 0.4.8 -> 0.4.9
This commit is contained in:
commit
3eb27aa4f1
@ -2,25 +2,56 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, html5lib
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mechanize";
|
||||
version = "0.4.8";
|
||||
version = "0.4.9";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-XoasB3c1fgBusEzSj37Z+BHUjf+mA9OJGsbSuSKA3JE=";
|
||||
hash = "sha256-aaXtsJYvkh6LEINzaMIkLYrQSfC5H/aZzn9gG/xDFSE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ html5lib ];
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
propagatedBuildInputs = [
|
||||
html5lib
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"mechanize"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Tests require network access
|
||||
"test/test_urllib2_localnet.py"
|
||||
"test/test_functional.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Tests require network access
|
||||
"test_pickling"
|
||||
"test_password_manager"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Stateful programmatic web browsing in Python";
|
||||
homepage = "https://github.com/python-mechanize/mechanize";
|
||||
license = "BSD-style";
|
||||
changelog = "https://github.com/python-mechanize/mechanize/blob/v${version}/ChangeLog";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user