summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-09-29 17:45:15 +0200
committerMichał Górny <mgorny@gentoo.org>2024-09-29 17:45:15 +0200
commitadf23aaf3b98c02307885d8776fa0bffd7465669 (patch)
treeabfdcef2e1e779837f55c0cb5a62d3a2258aaf0c
parenta9475697b9f04840fcacd2411fee0791e8161121 (diff)
downloadgentoo-adf23aaf3b98c02307885d8776fa0bffd7465669.tar.gz
gentoo-adf23aaf3b98c02307885d8776fa0bffd7465669.tar.bz2
gentoo-adf23aaf3b98c02307885d8776fa0bffd7465669.zip
dev-python/django-taggit: Bump to 6.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/django-taggit/Manifest1
-rw-r--r--dev-python/django-taggit/django-taggit-6.1.0.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/django-taggit/Manifest b/dev-python/django-taggit/Manifest
index 09bf982ba050..5b84f4bd9aba 100644
--- a/dev-python/django-taggit/Manifest
+++ b/dev-python/django-taggit/Manifest
@@ -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
diff --git a/dev-python/django-taggit/django-taggit-6.1.0.ebuild b/dev-python/django-taggit/django-taggit-6.1.0.ebuild
new file mode 100644
index 000000000000..305c35d375af
--- /dev/null
+++ b/dev-python/django-taggit/django-taggit-6.1.0.ebuild
@@ -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
+}