From d076ad71a01c492bf269802ed5ce57a5ef6c141a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 23 Dec 2024 11:39:54 +0700 Subject: [PATCH] python3-pytz_deprecation_shim: depends on tzdata --- .../python3-pytz_deprecation_shim/patches/tzdata.patch | 10 ---------- srcpkgs/python3-pytz_deprecation_shim/template | 4 ++-- 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 srcpkgs/python3-pytz_deprecation_shim/patches/tzdata.patch diff --git a/srcpkgs/python3-pytz_deprecation_shim/patches/tzdata.patch b/srcpkgs/python3-pytz_deprecation_shim/patches/tzdata.patch deleted file mode 100644 index 672b27945d4..00000000000 --- a/srcpkgs/python3-pytz_deprecation_shim/patches/tzdata.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/setup.cfg -+++ b/setup.cfg -@@ -33,7 +33,6 @@ packages = pytz_deprecation_shim - install_requires = - backports.zoneinfo;python_version>="3.6" and python_version<"3.9" - python-dateutil;python_version<"3.6" -- tzdata;python_version>="3.6" - python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.* - package_dir = - =src diff --git a/srcpkgs/python3-pytz_deprecation_shim/template b/srcpkgs/python3-pytz_deprecation_shim/template index d2419e73c97..0110ce547e7 100644 --- a/srcpkgs/python3-pytz_deprecation_shim/template +++ b/srcpkgs/python3-pytz_deprecation_shim/template @@ -1,10 +1,10 @@ # Template file for 'python3-pytz_deprecation_shim' pkgname=python3-pytz_deprecation_shim version=0.1.0 -revision=4 +revision=5 build_style=python3-pep517 hostmakedepends="python3-wheel" -depends="python3" +depends="python3 tzdata" checkdepends="python3-pytz python3-attrs python3-hypothesis python3-pytest-xdist" short_desc="Shims to make deprecation of pytz easier" maintainer="icp "