mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
python310Packages.bibtexparser: clean up python 2 dependencies (#201457)
Latest version no longer depends on unittest2 and future packages, so we can clean them up.
This commit is contained in:
parent
41d87c3fb7
commit
8f1d59e2c5
@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, future
|
||||
, pyparsing
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
@ -22,7 +21,6 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
future
|
||||
pyparsing
|
||||
];
|
||||
|
||||
@ -30,12 +28,6 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/sciunto-org/python-bibtexparser/pull/259
|
||||
substituteInPlace bibtexparser/tests/test_crossref_resolving.py \
|
||||
--replace "import unittest2 as unittest" "import unittest"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"bibtexparser"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user