From 0cf67fb6a01110a0bbba84f4e01b51be0fa26fa6 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Fri, 25 Feb 2022 10:54:23 -0500 Subject: [PATCH] New package: python3-pytzdata-2020.1 --- .../python3-pytzdata/patches/masonry.patch | 12 ++++++++++++ srcpkgs/python3-pytzdata/template | 19 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 srcpkgs/python3-pytzdata/patches/masonry.patch create mode 100644 srcpkgs/python3-pytzdata/template diff --git a/srcpkgs/python3-pytzdata/patches/masonry.patch b/srcpkgs/python3-pytzdata/patches/masonry.patch new file mode 100644 index 00000000000..8226758d1f0 --- /dev/null +++ b/srcpkgs/python3-pytzdata/patches/masonry.patch @@ -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" diff --git a/srcpkgs/python3-pytzdata/template b/srcpkgs/python3-pytzdata/template new file mode 100644 index 00000000000..fe398417811 --- /dev/null +++ b/srcpkgs/python3-pytzdata/template @@ -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 " +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 +}