mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
Merge updates from master
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST django-taggit-5.0.1.tar.gz 60372 BLAKE2B 1934fc0a92655db15a4997646c44d8faa57b48469421abb7c48ea248525f0c536d658a9a481ed646dc4846c2f8f6ca9799274f9961238bd727ef0bafbb0ddf0c SHA512 af7b04da8359ebf68ea1b5c1fba3ed509b5357d65cccd95d835e0db68431fcbf0057e613cd05c54ac76524c8fc1c23d0dbacae8b80a23bb7867a0fa4a62f445b
|
||||
DIST django-taggit-6.1.0.gh.tar.gz 146478 BLAKE2B 3480f0a2c3b6e5ee48789bf00331da623d54218ef36e80e60797287fdb9953ae382e90d1bcdcbe8ff9af440530a12b573a17b0218e6f81a5f40c6d26a61b81a7 SHA512 60060e9674f7cca24704d786c5dd7bf985ce4891ed0c2bfed532f1033b97e2fca45b52eeacd475eda17062bb5e11605ebdef745cc45e1ca77a8e654aad1f80e1
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simple tagging for Django"
|
||||
HOMEPAGE="
|
||||
https://github.com/jazzband/django-taggit/
|
||||
https://pypi.org/project/django-taggit/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/jazzband/django-taggit/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/django-4.1[${PYTHON_USEDEP}]
|
||||
dev-python/djangorestframework[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-django[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=()
|
||||
|
||||
if has_version "dev-python/unidecode[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_DESELECT+=(
|
||||
# https://github.com/jazzband/django-taggit/issues/856
|
||||
tests/test_models.py::TestSlugification::test_old_slugs
|
||||
)
|
||||
fi
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest -p django -o DJANGO_SETTINGS_MODULE=tests.settings
|
||||
}
|
||||
Reference in New Issue
Block a user