python3Packages.pyeapi: 0.8.4 -> 1.0.2
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, setuptools
|
||||
, mock
|
||||
, netaddr
|
||||
@@ -11,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyeapi";
|
||||
version = "0.8.4";
|
||||
version = "1.0.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -19,8 +18,8 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "arista-eosplus";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "13chya6wix5jb82k67gr44bjx35gcdwz80nsvpv0gvzs6shn4d7b";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-GZBoCoAqij54rZezRDF/ihJDQ5T6FFyDSRXGV3//avQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -36,28 +35,6 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
patches = [
|
||||
# Fix usage of collection, https://github.com/arista-eosplus/pyeapi/pull/223
|
||||
(fetchpatch {
|
||||
name = "fix-collection-usage.patch";
|
||||
url = "https://github.com/arista-eosplus/pyeapi/commit/81754f57eb095703cc474f527a0915360af76f68.patch";
|
||||
hash = "sha256-ZNBTPRNmXCFVJeRAJxzIHmCOXZiGwU6t4ekSupU3BX8=";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "fix-collection-usage-2.patch";
|
||||
url = "https://github.com/arista-eosplus/pyeapi/commit/cc9c584e4a3167e3c1624cccb6bc0d9c9bcdbc1c.patch";
|
||||
hash = "sha256-EY0i1Skm1llEQAAzvrb2yelhhLBkqKAFJB5ObAIxAYo=";
|
||||
excludes = [
|
||||
".github/workflows/ci.yml"
|
||||
];
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "fix-collection-usage-3.patch";
|
||||
url = "https://github.com/arista-eosplus/pyeapi/commit/dc35ab076687ea71665ae9524480b05a4e893909.patch";
|
||||
hash = "sha256-xPaYULCPTxiQGB9Im/qLet+XebW9wq+TAfrxcgQxcoE=";
|
||||
})
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"test/unit"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user