python3Packages.colorful: Ignore development versions for automatic updates (#527979)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
gitUpdater,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
@@ -21,6 +22,13 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "colorful" ];
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
# Drop the "v" tag prefix before version comparison.
|
||||
rev-prefix = "v";
|
||||
# Skip PEP 440 pre-release tags.
|
||||
ignoredVersions = "(a|b|rc)[0-9]+$";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Library for terminal string styling";
|
||||
homepage = "https://github.com/timofurrer/colorful";
|
||||
|
||||
Reference in New Issue
Block a user