summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-17 16:11:53 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-17 16:44:21 +0100
commit23f6043aa25f8d108292fced7b904ccd60b3fda0 (patch)
treeda9de7939366ee8df7633517c2fb56f4d7eac52e /dev-python/x-wr-timezone
parentdev-python/beartype: Bump to 0.12.0 (diff)
downloadgentoo-23f6043aa25f8d108292fced7b904ccd60b3fda0.tar.gz
gentoo-23f6043aa25f8d108292fced7b904ccd60b3fda0.tar.bz2
gentoo-23f6043aa25f8d108292fced7b904ccd60b3fda0.zip
dev-python/x-wr-timezone: New package, v0.0.5
New package needed for recurring-ical-events, that is a test dep of dev-python/caldav. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/x-wr-timezone')
-rw-r--r--dev-python/x-wr-timezone/Manifest1
-rw-r--r--dev-python/x-wr-timezone/metadata.xml13
-rw-r--r--dev-python/x-wr-timezone/x-wr-timezone-0.0.5.ebuild34
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/x-wr-timezone/Manifest b/dev-python/x-wr-timezone/Manifest
new file mode 100644
index 000000000000..e7037785c320
--- /dev/null
+++ b/dev-python/x-wr-timezone/Manifest
@@ -0,0 +1 @@
+DIST x-wr-timezone-0.0.5.gh.tar.gz 19728 BLAKE2B d3b098da4ff358e19cb70c2f59bb95de55fc27f058359e6d8eca8595bc375e83c05d139491b8e06f07ab1a5ca9e0b9a2dc1fa87cb1aea83e722f494da2ebbc88 SHA512 b530e96e2e32febf82a4aac9fe1067431c7396a029ca785ade8a8c5e2fe04b1d95e60ecf7ecc9862057bffd3e9dd6a773d14c385cb431d1b22858091f3bd7892
diff --git a/dev-python/x-wr-timezone/metadata.xml b/dev-python/x-wr-timezone/metadata.xml
new file mode 100644
index 000000000000..62a860ccbf79
--- /dev/null
+++ b/dev-python/x-wr-timezone/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">niccokunzmann/x-wr-timezone</remote-id>
+ <remote-id type="pypi">x-wr-timezone</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/x-wr-timezone/x-wr-timezone-0.0.5.ebuild b/dev-python/x-wr-timezone/x-wr-timezone-0.0.5.ebuild
new file mode 100644
index 000000000000..39d605d10fe4
--- /dev/null
+++ b/dev-python/x-wr-timezone/x-wr-timezone-0.0.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Convert calendars using X-WR-TIMEZONE to standard ones"
+HOMEPAGE="
+ https://github.com/niccokunzmann/x-wr-timezone/
+ https://pypi.org/project/x-wr-timezone/
+"
+SRC_URI="
+ https://github.com/niccokunzmann/x-wr-timezone/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/icalendar[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+ test/test_readme.py
+)