Merge pull request #270077 from fabaff/tldextract-bump
python311Packages.tldextract: 5.1.0 -> 5.1.1
This commit is contained in:
commit
7fbea68a2a
2 changed files with 26 additions and 11 deletions
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tldextract";
|
pname = "tldextract";
|
||||||
version = "5.1.0";
|
version = "5.1.1";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||||
owner = "john-kurkowski";
|
owner = "john-kurkowski";
|
||||||
repo = "tldextract";
|
repo = "tldextract";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-x5SJcbTUrqG7mMUPXIhR1rEu3PZ+VA00dFYeoGnX5l0=";
|
hash = "sha256-/VBbU8FuB8MEuX6MgGO44+gfqVjl1aHHDHncHY2Jo38=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
|
|
@ -2,18 +2,22 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
, six
|
|
||||||
, setuptools
|
|
||||||
, pytestCheckHook
|
|
||||||
, httpbin
|
, httpbin
|
||||||
, requests
|
|
||||||
, wsgiprox
|
|
||||||
, multidict
|
, multidict
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, requests
|
||||||
|
, setuptools
|
||||||
|
, six
|
||||||
|
, wsgiprox
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "warcio";
|
pname = "warcio";
|
||||||
version = "1.7.4";
|
version = "1.7.4";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "webrecorder";
|
owner = "webrecorder";
|
||||||
|
@ -24,6 +28,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
|
# Add offline mode to skip tests that require an internet connection, https://github.com/webrecorder/warcio/pull/135
|
||||||
name = "add-offline-option.patch";
|
name = "add-offline-option.patch";
|
||||||
url = "https://github.com/webrecorder/warcio/pull/135/commits/2546fe457c57ab0b391764a4ce419656458d9d07.patch";
|
url = "https://github.com/webrecorder/warcio/pull/135/commits/2546fe457c57ab0b391764a4ce419656458d9d07.patch";
|
||||||
hash = "sha256-3izm9LvAeOFixiIUUqmd5flZIxH92+NxL7jeu35aObQ=";
|
hash = "sha256-3izm9LvAeOFixiIUUqmd5flZIxH92+NxL7jeu35aObQ=";
|
||||||
|
@ -36,20 +41,30 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
|
||||||
httpbin
|
httpbin
|
||||||
|
multidict # Optional. Without this, one test in test/test_utils.py is skipped.
|
||||||
|
pytestCheckHook
|
||||||
requests
|
requests
|
||||||
wsgiprox
|
wsgiprox
|
||||||
multidict # Optional. Without this, one test in test/test_utils.py is skipped.
|
|
||||||
];
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [ "--offline" ];
|
pytestFlagsArray = [
|
||||||
|
"--offline"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "warcio" ];
|
disabledTests = [
|
||||||
|
# Tests require network access, see above
|
||||||
|
"test_get_cache_to_file"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"warcio"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Streaming WARC/ARC library for fast web archive IO";
|
description = "Streaming WARC/ARC library for fast web archive IO";
|
||||||
homepage = "https://github.com/webrecorder/warcio";
|
homepage = "https://github.com/webrecorder/warcio";
|
||||||
|
changelog = "https://github.com/webrecorder/warcio/blob/master/CHANGELIST.rst";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ Luflosi ];
|
maintainers = with maintainers; [ Luflosi ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue