Merge pull request #207299 from r-ryantm/auto-update/python3.10-python-crontab
python310Packages.python-crontab: 2.6.0 -> 2.7.1
This commit is contained in:
commit
012700eae5
@ -1,22 +1,40 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, python-dateutil, pytestCheckHook }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, python-dateutil
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-crontab";
|
pname = "python-crontab";
|
||||||
version = "2.6.0";
|
version = "2.7.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1e35ed7a3cdc3100545b43e196d34754e6551e7f95e4caebbe0e1c0ca41c2f1b";
|
hash = "sha256-shr0ZHx7u4SP7y8CBhbGsCidy5+UtPmRpVMQ/5vsV0k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook ];
|
propagatedBuildInputs = [
|
||||||
|
python-dateutil
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
"test_07_non_posix_shell"
|
"test_07_non_posix_shell"
|
||||||
# doctest that assumes /tmp is writeable, awkward to patch
|
# doctest that assumes /tmp is writeable, awkward to patch
|
||||||
"test_03_usage"
|
"test_03_usage"
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ python-dateutil ];
|
pythonImportsCheck = [
|
||||||
|
"crontab"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python API for crontab";
|
description = "Python API for crontab";
|
||||||
@ -24,7 +42,7 @@ buildPythonPackage rec {
|
|||||||
Crontab module for reading and writing crontab files
|
Crontab module for reading and writing crontab files
|
||||||
and accessing the system cron automatically and simply using a direct API.
|
and accessing the system cron automatically and simply using a direct API.
|
||||||
'';
|
'';
|
||||||
homepage = "https://pypi.org/project/python-crontab/";
|
homepage = "https://gitlab.com/doctormo/python-crontab/";
|
||||||
license = licenses.lgpl3Plus;
|
license = licenses.lgpl3Plus;
|
||||||
maintainers = with maintainers; [ kfollesdal ];
|
maintainers = with maintainers; [ kfollesdal ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user