diff --git a/dev-python/django-timezone-field/Manifest b/dev-python/django-timezone-field/Manifest index 385fd7e38358..7326d47b2113 100644 --- a/dev-python/django-timezone-field/Manifest +++ b/dev-python/django-timezone-field/Manifest @@ -1 +1,2 @@ DIST django-timezone-field-7.0.gh.tar.gz 37416 BLAKE2B a0420ccbcb9d7d834e65d0cc89fd83662bd4b3773f1443f05866381d6bbeacba86bdd2e6078a3819bdbf6c174e3ede08e4b9d307838d5082e7bef037ff751681 SHA512 9a96b65a7dce48f58c3915e835e92b8d884f6b15f8314f5d6f1a34bc75ad4bc8f0c33035a4844b5906b7d6bc468cf364be8c82843f3af714a59dc9a40e71f9af +DIST django-timezone-field-7.1.gh.tar.gz 36680 BLAKE2B 47a754f0050967c196b9d47199bb83f87984ae66cf36578681d54722b76908c506c5ae290d81bb5e33fe3df3c79840301697d935edf8f076f89c6cda1b64e36b SHA512 e242ccebccb3942b2b681e87ebeb4546f925d270b705fa9049a350640c3888c2a9388339c5be9909645b0fa772a4dd71199450639f9fbe2cce531fa6a9bd0df0 diff --git a/dev-python/django-timezone-field/django-timezone-field-7.1.ebuild b/dev-python/django-timezone-field/django-timezone-field-7.1.ebuild new file mode 100644 index 000000000000..8f7ffcd028be --- /dev/null +++ b/dev-python/django-timezone-field/django-timezone-field-7.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="A Django app providing database and form fields for timezone objects" +HOMEPAGE=" + https://github.com/mfogel/django-timezone-field/ + https://pypi.org/project/django-timezone-field/ +" +SRC_URI=" + https://github.com/mfogel/django-timezone-field/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + =dev-python/django-2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/djangorestframework[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-lazy-fixtures[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x DB_ENGINE=sqlite + epytest +}