New package: python3-pytz_deprecation_shim-0.1.0

This commit is contained in:
icp 2022-08-27 00:48:47 +05:30 committed by Đoàn Trần Công Danh
parent caa0263ed5
commit b7ee396eda
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,10 @@
--- 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

View File

@ -0,0 +1,16 @@
# Template file for 'python3-pytz_deprecation_shim'
pkgname=python3-pytz_deprecation_shim
version=0.1.0
revision=1
wrksrc="pytz-deprecation-shim-${version}"
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3"
checkdepends="python3-pytz python3-attrs python3-hypothesis python3-pytest-xdist"
short_desc="Shims to make deprecation of pytz easier"
maintainer="icp <pangolin@vivaldi.net>"
license="Apache-2.0"
homepage="https://github.com/pganssle/pytz-deprecation-shim"
distfiles="https://github.com/pganssle/pytz-deprecation-shim/archive/refs/tags/${version}.tar.gz"
checksum=b72ff0470c084d70e93174e9881443aba274ef6ec3cc6c4bd88bd0ba64ea8bdd
make_check_pre="env PYTHONPATH=src"