dev-python/django-timezone-field: Bump to 6.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-08-21 04:30:26 +02:00
parent e112153da2
commit ffd90b86ef
2 changed files with 43 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST django-timezone-field-5.1.gh.tar.gz 37449 BLAKE2B 9676bd686f7a1bfb2d7e5ee53db5ca3818a9bc20c4c759c09c6d602bcb1937098c40b9c07b3db1d7ca8af2f8882d6aaa333f325e422725e3ea7303fc60e9b59c SHA512 518e16b092af00edae9b2488fd4e9380a661864e9f2d2d3ed8ffc6d9188831d4a7b79ed81d553bc41089ac8cb6fab760339af668ce7c2c0218d991b77306c50f
DIST django-timezone-field-6.0.gh.tar.gz 35628 BLAKE2B 3df5b07f4dc2d16ba71b0eacac90dd173f559322b14dba5ac62f5e336ccaeae3538b4464ad708ebadef92d317b1bc7ef859cde3a8005c9e4c31a2af3cd1d6e69 SHA512 efa15bf819e9a9fd35b4c373883f12aedd262c5223561bd3158acc3ebb9e4d72821153b5a48d544eebfe65342f8d33ce07b0b37bd847b1ec8d83d345e022c17c

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{10..11} )
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"
RDEPEND="
<dev-python/django-5[${PYTHON_USEDEP}]
>=dev-python/django-2.2[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/djangorestframework[${PYTHON_USEDEP}]
dev-python/pytest-django[${PYTHON_USEDEP}]
dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
local -x DB_ENGINE=sqlite
epytest
}