Merge pull request #225384 from fabaff/et_xmlfile-bump

python310Packages.et_xmlfile: 1.0.1 -> 1.1
This commit is contained in:
Fabian Affolter 2023-04-10 00:44:41 +02:00 committed by GitHub
commit 6f1570ced6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,23 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitLab
, lxml
, pytest
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
version = "1.0.1";
pname = "et_xmlfile";
pname = "et-xmlfile";
version = "1.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256="0nrkhcb6jdrlb6pwkvd4rycw34y3s931hjf409ij9xkjsli9fkb1";
disabled = pythonOlder "3.7";
src = fetchFromGitLab {
domain = "foss.heptapod.net";
owner = "openpyxl";
repo = "et_xmlfile";
rev = version;
hash = "sha256-MJimcnYKujOL3FedGreNpuw1Jpg48ataDmFd1qwTS5A=";
};
nativeCheckInputs = [ lxml pytest ];
checkPhase = ''
py.test $out
'';
nativeCheckInputs = [
lxml
pytestCheckHook
];
pythonImportsCheck = [
"et_xmlfile"
];
meta = with lib; {
description = "An implementation of lxml.xmlfile for the standard library";
@ -28,13 +39,9 @@ buildPythonPackage rec {
allowing code to be developed that will work with both
libraries. It was developed initially for the openpyxl project
but is now a standalone module.
The code was written by Elias Rabel as part of the Python
Düsseldorf openpyxl sprint in September 2014.
'';
homepage = "https://pypi.python.org/pypi/et_xmlfile";
homepage = "https://foss.heptapod.net/openpyxl/et_xmlfile";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}