python3-pytzdata: drop package
This commit is contained in:
parent
5efda6b4d2
commit
8bb7d4faa9
@ -1,18 +0,0 @@
|
||||
Author: Daniel Baumann <daniel.baumann@progress-linux.org>
|
||||
Description: Using system zoneinfo by default.
|
||||
|
||||
diff -Naurp pytzdata.orig/pytzdata/__init__.py pytzdata/pytzdata/__init__.py
|
||||
--- pytzdata.orig/pytzdata/__init__.py
|
||||
+++ pytzdata/pytzdata/__init__.py
|
||||
@@ -7,10 +7,7 @@ from ._timezones import timezones
|
||||
from ._compat import FileNotFoundError
|
||||
|
||||
|
||||
-DEFAULT_DIRECTORY = os.path.join(
|
||||
- os.path.dirname(__file__),
|
||||
- 'zoneinfo'
|
||||
-)
|
||||
+DEFAULT_DIRECTORY = '/usr/share/zoneinfo'
|
||||
|
||||
_DIRECTORY = os.getenv('PYTZDATA_TZDATADIR', DEFAULT_DIRECTORY)
|
||||
|
@ -1,12 +0,0 @@
|
||||
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"
|
@ -1,22 +0,0 @@
|
||||
# Template file for 'python3-pytzdata'
|
||||
pkgname=python3-pytzdata
|
||||
version=2020.1
|
||||
revision=5
|
||||
build_style=python3-pep517
|
||||
hostmakedepends="python3-poetry-core"
|
||||
depends="python3 tzdata"
|
||||
checkdepends="python3-pytest"
|
||||
short_desc="Olson timezone database for Python"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/sdispater/pytzdata"
|
||||
distfiles="https://github.com/sdispater/pytzdata/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=ffec92eb79bb2155862c9c3b80efb12a052182c197098501ec986d5ea1d178df
|
||||
|
||||
post_patch() {
|
||||
rm -rf pytzdata/zoneinfo
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user