New package: python3-pytzdata-2020.1

This commit is contained in:
Joel Beckmeyer 2022-02-25 10:54:23 -05:00 committed by Andrew J. Hesford
parent e6dde60ffa
commit 0cf67fb6a0
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff --git a/pyproject.toml b/pyproject.toml
index 2b479bd..2e91506 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -30,5 +30,5 @@ black = {version = "^18.9b0", python = "^3.6"}
[build-system]
-requires = ["poetry>=0.12"]
-build-backend = "poetry.masonry.api"
+requires = ["poetry_core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"

View File

@ -0,0 +1,19 @@
# Template file for 'python3-pytzdata'
pkgname=python3-pytzdata
version=2020.1
revision=1
wrksrc="pytzdata-${version}"
build_style=python3-pep517
hostmakedepends="python3-poetry-core"
depends="python3"
checkdepends="python3-pytest"
short_desc="Olson timezone database for Python"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="MIT"
homepage="https://github.com/sdispater/pytzdata"
distfiles="https://github.com/sdispater/pytzdata/archive/refs/tags/${version}.tar.gz"
checksum=ffec92eb79bb2155862c9c3b80efb12a052182c197098501ec986d5ea1d178df
post_install() {
vlicense LICENSE
}