Needed for host-python3-babel

Signed-off-by: David Jander <da...@protonic.nl>
---
 rules/host-python3-tz.in   |  6 ++++++
 rules/host-python3-tz.make | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 rules/host-python3-tz.in
 create mode 100644 rules/host-python3-tz.make

diff --git a/rules/host-python3-tz.in b/rules/host-python3-tz.in
new file mode 100644
index 000000000..fc0cba845
--- /dev/null
+++ b/rules/host-python3-tz.in
@@ -0,0 +1,6 @@
+## SECTION=hosttools_noprompt
+
+config HOST_PYTHON3_TZ
+       tristate
+       default y if ALLYES
+       select HOST_PYTHON3
diff --git a/rules/host-python3-tz.make b/rules/host-python3-tz.make
new file mode 100644
index 000000000..bad3a0a53
--- /dev/null
+++ b/rules/host-python3-tz.make
@@ -0,0 +1,34 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Robin van der Gracht <ro...@protonic.nl>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_PYTHON3_TZ) += host-python3-tz
+
+#
+# Paths and names
+#
+HOST_PYTHON3_TZ_VERSION := 2018.9
+HOST_PYTHON3_TZ_MD5     := 0f57d76c64d0965e7429c9b871f6b711
+HOST_PYTHON3_TZ                := python3-tz-$(HOST_PYTHON3_TZ_VERSION)
+HOST_PYTHON3_TZ_SUFFIX  := tar.gz
+HOST_PYTHON3_TZ_URL     := 
https://files.pythonhosted.org/packages/af/be/6c59e30e208a5f28da85751b93ec7b97e4612268bb054d0dff396e758a90/pytz-$(HOST_PYTHON3_TZ_VERSION).$(HOST_PYTHON3_TZ_SUFFIX)
+HOST_PYTHON3_TZ_SOURCE  := 
$(SRCDIR)/$(HOST_PYTHON3_TZ).$(HOST_PYTHON3_TZ_SUFFIX)
+HOST_PYTHON3_TZ_DIR     := $(HOST_BUILDDIR)/$(HOST_PYTHON3_TZ)
+HOST_PYTHON3_TZ_LICENSE := MIT
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_PYTHON3_TZ_CONF_TOOL := python3
+
+# vim: syntax=make
-- 
2.32.0


Reply via email to