python312Packages.atpublic: 4.1.0 -> 5.0
Diff: https://gitlab.com/warsaw/public/-/compare/refs/tags/4.1.0...5.0 Changelog: https://gitlab.com/warsaw/public/-/blob/5.0/docs/NEWS.rst
This commit is contained in:
committed by
Martin Weinelt
parent
7983e66e0e
commit
c8dd37a2a7
@@ -1,47 +1,38 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchPypi,
|
fetchFromGitLab,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
hatchling,
|
hatchling,
|
||||||
sybil,
|
sybil,
|
||||||
typing-extensions,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "atpublic";
|
pname = "atpublic";
|
||||||
version = "4.1.0";
|
version = "5.0";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitLab {
|
||||||
inherit pname version;
|
owner = "warsaw";
|
||||||
hash = "sha256-0cjNkxr3Rh9tGLxgYzg+hlTZ6e8Z1Y7m3AHoUVu/Vd8=";
|
repo = "public";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-cqum+4hREu0jO9iFoUUzfzn597BoMAhG+aanwnh8hb8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ hatchling ];
|
build-system = [ hatchling ];
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ typing-extensions ];
|
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
sybil
|
sybil
|
||||||
];
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [
|
|
||||||
# TypeError: FixtureManager.getfixtureclosure() missing 1 required positional argument: 'ignore_args'
|
|
||||||
"--ignore=docs/using.rst"
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
sed -i '/cov=public/d' pyproject.toml
|
|
||||||
'';
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "public" ];
|
pythonImportsCheck = [ "public" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
changelog = "https://gitlab.com/warsaw/public/-/blob/${version}/docs/NEWS.rst";
|
||||||
description = "Python decorator and function which populates a module's __all__ and globals";
|
description = "Python decorator and function which populates a module's __all__ and globals";
|
||||||
homepage = "https://public.readthedocs.io/";
|
homepage = "https://public.readthedocs.io/";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user