python3Packages.babelgladeextractor: modernize
This commit is contained in:
@@ -7,17 +7,20 @@
|
||||
babel,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "babelgladeextractor";
|
||||
version = "0.7.0";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
disabled = (!isPy3k); # uses python3 specific file io in setup.py
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "BabelGladeExtractor";
|
||||
inherit version;
|
||||
inherit (finalAttrs) version;
|
||||
extension = "tar.bz2";
|
||||
sha256 = "160p4wi2ss69g141c2z59azvrhn7ymy5m9h9d65qrcabigi0by5w";
|
||||
hash = "sha256-vPgF4otLsYyLaQmmWnz1x8K8v0rlCxZIeMloLSInF5g=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -27,10 +30,12 @@ buildPythonPackage rec {
|
||||
# SyntaxError: Non-ASCII character '\xc3' in file /build/BabelGladeExtractor-0.6.3/babelglade/tests/test_translate.py on line 20, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
|
||||
doCheck = isPy3k;
|
||||
|
||||
pythonImportsCheck = [ "babelglade" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/gnome-keysign/babel-glade";
|
||||
description = "Babel Glade XML files translatable strings extractor";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user