python311Packages.yarl: 1.9.2 -> 1.9.3
Changelog: https://github.com/aio-libs/yarl/blob/v1.9.3/CHANGES.rst
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, cython_3
|
||||
, expandvars
|
||||
, setuptools
|
||||
, idna
|
||||
, multidict
|
||||
, typing-extensions
|
||||
@@ -12,29 +13,27 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yarl";
|
||||
version = "1.9.2";
|
||||
version = "1.9.3";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-BKudS59YfAbYAcKr/pMXt3zfmWxlqQ1ehOzEUBCCNXE=";
|
||||
hash = "sha256-ShSQe1l+xVdA9j5S1/7g6e4J1bnVek85mnQjJo5Fe1c=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/aio-libs/yarl/issues/876
|
||||
(fetchpatch {
|
||||
url = "https://github.com/aio-libs/yarl/commit/0a94c6e4948e00fff072c0cf367afbf4ac36f906.patch";
|
||||
hash = "sha256-bqT46OLZLkBef8FQ1L95ITD70mC3+WIkr3+h2ekKrvE=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/^addopts/d' setup.cfg
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
expandvars
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
idna
|
||||
multidict
|
||||
|
||||
Reference in New Issue
Block a user