mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
Merge pull request #168091 from r-ryantm/auto-update/python3.10-tablib
python310Packages.tablib: 3.2.0 -> 3.2.1
This commit is contained in:
commit
087617b75f
1 changed files with 13 additions and 9 deletions
|
@ -1,9 +1,12 @@
|
|||
{ buildPythonPackage, lib, fetchPypi, isPy27
|
||||
{ buildPythonPackage
|
||||
, lib
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, odfpy
|
||||
, openpyxl
|
||||
, pandas
|
||||
, setuptools-scm
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, pytest-cov
|
||||
, pyyaml
|
||||
, unicodecsv
|
||||
|
@ -13,26 +16,27 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "tablib";
|
||||
version = "3.2.0";
|
||||
version = "3.2.1";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "12d8686454c721de88d8ca5adf07e1f419ef6dbcecedf65e8950d4a329daf3a0";
|
||||
sha256 = "sha256-pX8ncLjCJf6+wcseZQEqac8w3Si+gQ4P+Y0CR2jH0PE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
propagatedBuildInputs = [ xlwt openpyxl pyyaml xlrd odfpy ];
|
||||
checkInputs = [ pytest pytest-cov unicodecsv pandas ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov unicodecsv pandas ];
|
||||
|
||||
# test_tablib needs MarkupPy, which isn't packaged yet
|
||||
checkPhase = ''
|
||||
pytest --ignore tests/test_tablib.py
|
||||
'';
|
||||
pytestFlagsArray = [ "--ignore=tests/test_tablib.py" ];
|
||||
|
||||
pythonImportsCheck = [ "tablib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Format-agnostic tabular dataset library";
|
||||
homepage = "https://python-tablib.org";
|
||||
homepage = "https://tablib.readthedocs.io/";
|
||||
changelog = "https://github.com/jazzband/tablib/raw/v${version}/HISTORY.md";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue