mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
Merge pull request #206864 from fabaff/versioneer-bump
python310Packages.versioneer: 0.26 -> 0.28
This commit is contained in:
commit
484934edb5
@ -1,23 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, tomli
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "versioneer";
|
||||
version = "0.26";
|
||||
format = "setuptools";
|
||||
version = "0.28";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-hPxymqKW0dJmRaj2LxeAGYhf9vmhBzsppKIoJwrFJXs=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-versioneer";
|
||||
repo = "python-versioneer";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Jy0c1I3kLgJAeGWzcgl5qVAWesf4EXaMIOW03B+1yWE=";
|
||||
};
|
||||
|
||||
# Couldn't get tests to work because, for instance, they used virtualenv and
|
||||
# pip.
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
tomli
|
||||
];
|
||||
|
||||
# Couldn't get tests to work because, for instance, they used virtualenv and pip
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
@ -27,6 +36,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Version-string management for VCS-controlled trees";
|
||||
homepage = "https://github.com/warner/python-versioneer";
|
||||
changelog = "https://github.com/python-versioneer/python-versioneer/blob/${version}/NEWS.md";
|
||||
license = licenses.publicDomain;
|
||||
maintainers = with maintainers; [ jluttine ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user