Merge pull request #207698 from fabaff/sybil-bump

python310Packages.sybil: 3.0.1 -> 4.0.0
This commit is contained in:
Fabian Affolter
2022-12-29 22:14:15 +01:00
committed by GitHub
4 changed files with 61 additions and 16 deletions
@@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, natsort
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "seedir";
version = "0.4.2";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "earnestt1234";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-ioez5lBNyiBK3poL2Px3KtCQeM+Gh2d4iD3SoAIHFAk=";
};
propagatedBuildInputs = [
natsort
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"seedir"
];
pytestFlagsArray = [
"tests/tests.py"
];
meta = with lib; {
description = "Module for for creating, editing, and reading folder tree diagrams";
homepage = "https://github.com/earnestt1234/seedir";
changelog = "https://github.com/earnestt1234/seedir/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
@@ -1,31 +1,26 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "sybil";
version = "3.0.1";
version = "4.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-bwLcIgSvflohIDeSTZdPcngfbcGP08RMx85GOhIPUw0=";
src = fetchFromGitHub {
owner = "simplistix";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-9fXvQfVS3IVdOV4hbA0bEYFJU7uK0WpqJKMNBltqFTI=";
};
checkInputs = [
pytestCheckHook
];
disabledTests = [
# Sensitive to output of other commands
"test_namespace"
"test_unittest"
];
# Circular dependency with testfixtures
doCheck = false;
pythonImportsCheck = [
"sybil"
@@ -34,6 +29,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Automated testing for the examples in your documentation";
homepage = "https://github.com/cjw296/sybil";
changelog = "https://github.com/simplistix/sybil/blob/${version}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
@@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "testfixtures";
version = "7.0.0";
version = "7.0.4";
format = "setuptools";
# DO NOT CONTACT upstream.
# https://github.com/simplistix/ is only concerned with internal CI process.
@@ -25,7 +25,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
hash = "sha256-jsrFowh5NFFkBZTZykLOibmHcR4eTJMShVMh7CH2zLQ=";
hash = "sha256-xSaqiXjBAC8FnxUsSt43WMShJBjfqyspdUrmIwyvPQQ=";
};
checkInputs = [
@@ -52,6 +52,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Collection of helpers and mock objects for unit tests and doc tests";
homepage = "https://github.com/Simplistix/testfixtures";
changelog = "https://github.com/simplistix/testfixtures/blob/${version}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ siriobalmelli ];
};
+2
View File
@@ -10185,6 +10185,8 @@ self: super: with self; {
securetar = callPackage ../development/python-modules/securetar { };
seedir = callPackage ../development/python-modules/seedir { };
seekpath = callPackage ../development/python-modules/seekpath { };
segments = callPackage ../development/python-modules/segments { };