Merge pull request #118299 from fabaff/bump-aioasuswrt
python3Packages.aioasuswrt: 1.3.2 -> 1.3.3
This commit is contained in:
commit
87f82391a0
@ -2,7 +2,6 @@
|
|||||||
, asyncssh
|
, asyncssh
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
@ -10,24 +9,18 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aioasuswrt";
|
pname = "aioasuswrt";
|
||||||
version = "1.3.2";
|
version = "1.3.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kennedyshead";
|
owner = "kennedyshead";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "V${version}";
|
rev = "V${version}";
|
||||||
sha256 = "0bzl11224vny4p9vhi1n5s9p04kfavdzs9xkq5qimbisz9sg4ysj";
|
sha256 = "1h1qwc7szgrcwiz4q6x4mlf26is20lj1ds5rcb9i611j26656v6d";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
# Remove pytest-runner, https://github.com/kennedyshead/aioasuswrt/pull/63
|
|
||||||
url = "https://github.com/kennedyshead/aioasuswrt/pull/63/commits/e7923927648d5d8daccac1716db86db2a45fcb34.patch";
|
|
||||||
sha256 = "09xzs3hjr3133li6b7lr58n090r00kaxi9hx1fms2zn0ai4xwp9d";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "cryptography==3.3.2" "cryptography"
|
||||||
substituteInPlace setup.cfg \
|
substituteInPlace setup.cfg \
|
||||||
--replace "--cov-report html" "" \
|
--replace "--cov-report html" "" \
|
||||||
--replace "--cov-report term-missing" ""
|
--replace "--cov-report term-missing" ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user