commit:     adf23aaf3b98c02307885d8776fa0bffd7465669
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 29 15:45:15 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 29 15:45:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adf23aaf

dev-python/django-taggit: Bump to 6.1.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/django-taggit/Manifest                  |  1 +
 .../django-taggit/django-taggit-6.1.0.ebuild       | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

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
+}

Reply via email to