python312Packages.icalendar: 5.0.13 -> 6.0.0
Diff: https://github.com/collective/icalendar/compare/refs/tags/v5.0.13...v6.0.0 Changelog: https://github.com/collective/icalendar/blob/v6.0.0/CHANGES.rst
This commit is contained in:
@@ -2,17 +2,19 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
replaceVars,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
backports-zoneinfo,
|
||||
python-dateutil,
|
||||
pytz,
|
||||
tzdata,
|
||||
hypothesis,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "5.0.13";
|
||||
version = "6.0.0";
|
||||
pname = "icalendar";
|
||||
pyproject = true;
|
||||
|
||||
@@ -20,14 +22,23 @@ buildPythonPackage rec {
|
||||
owner = "collective";
|
||||
repo = "icalendar";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-2gpWfLXR4HThw23AWxY2rY9oiK6CF3Qiad8DWHCs4Qk=";
|
||||
hash = "sha256-eWFDY/pNVfcUk3PfB0vXqh9swuSGtflUw44IMDJI+yI=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
patches = [
|
||||
(replaceVars ./no-dynamic-version.patch {
|
||||
inherit version;
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
python-dateutil
|
||||
pytz
|
||||
tzdata
|
||||
] ++ lib.optionals (pythonOlder "3.9") [ backports-zoneinfo ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 9730e46..9834686 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -34,11 +34,7 @@ maintainers = [
|
||||
{ name="Christian Geier" },
|
||||
{ name="Jaca", email="vitouejj@gmail.com" },
|
||||
]
|
||||
-# These attributes are dynamically generated by hatch-vcs
|
||||
-dynamic = [
|
||||
- "urls",
|
||||
- "version"
|
||||
-]
|
||||
+version = "@version@"
|
||||
description = "iCalendar parser/generator"
|
||||
readme = { file = "README.rst", content-type = "text/x-rst" }
|
||||
|
||||
Reference in New Issue
Block a user