View Raw Ebuild
# automatically generated by g-sorcery
# please do not edit this file
EAPI=8
REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone
inherit python-r1 gs-pypi
DESCRIPTION="DateTimeRange is a Python library to handle a time range. e.g. check whether a time is within the time range, get the intersection of time ranges, truncate a time range, iterate through a time range, and so forth."
HOMEPAGE="https://github.com/thombashi/DateTimeRange"
LICENSE="MIT"
SRC_URI="https://files.pythonhosted.org/packages/53/8f/ac328b99eb3b5783f69cabdbb2cd2413e3156ab1c69cd995a129dc4725f4/datetimerange-${REALVERSION}.tar.gz"
SOURCEFILE="datetimerange-${REALVERSION}.tar.gz"
RESTRICT="test"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="docs test"
DEPENDENCIES="<dev-python/python-dateutil-3.0[${PYTHON_USEDEP}]
dev-python/typepy[${PYTHON_USEDEP}]
docs? ( >=dev-python/path-13.0[${PYTHON_USEDEP}] )
docs? ( dev-python/readmemaker[${PYTHON_USEDEP}] )
docs? ( >=dev-python/sphinx-rtd-theme-1.2.2[${PYTHON_USEDEP}] )
docs? ( >=dev-python/sphinx-2.4[${PYTHON_USEDEP}] )
test? ( >=dev-python/pytest-6.0.1[${PYTHON_USEDEP}] )
test? ( dev-python/pytest-md-report[${PYTHON_USEDEP}] )
test? ( dev-python/pytz[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"