diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-22 13:06:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-22 13:06:25 +0000 |
commit | 5d0c50eb490582cf1277e150ee5bb63a90b85aa6 (patch) | |
tree | 7204c80f526d36b5a4c7c6cd1339971b97636808 /dev-python/django-taggit/django-taggit-3.1.0.ebuild | |
parent | 13ec12ad28bc2ce6e2902be1d571befcca2b3f60 (diff) |
gentoo auto-resync : 22:11:2022 - 13:06:24
Diffstat (limited to 'dev-python/django-taggit/django-taggit-3.1.0.ebuild')
-rw-r--r-- | dev-python/django-taggit/django-taggit-3.1.0.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/django-taggit/django-taggit-3.1.0.ebuild b/dev-python/django-taggit/django-taggit-3.1.0.ebuild new file mode 100644 index 000000000000..15a22c24a6ea --- /dev/null +++ b/dev-python/django-taggit/django-taggit-3.1.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Simple tagging for Django" +HOMEPAGE="https://github.com/jazzband/django-taggit" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-3.2[${PYTHON_USEDEP}] + dev-python/djangorestframework[${PYTHON_USEDEP}] +" +BDEPEND="test? ( ${RDEPEND} )" + +python_test() { + "${EPYTHON}" -m django test -v 2 --settings=tests.settings || + die "Tests failed with ${EPYTHON}" +} |