aboutsummaryrefslogtreecommitdiff
path: root/dev-python/django-simple-history/django-simple-history-3.7.0.ebuild
blob: 59a6a00dd7873a2eb0cd0a1b540ad6e6675bab45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools

inherit distutils-r1 pypi

DESCRIPTION="Store model history and view/revert changes from admin site"
HOMEPAGE="
	https://github.com/jazzband/django-simple-history
	https://pypi.org/project/django-simple-history/
"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
# Tests fail to run
RESTRICT="test"

RDEPEND="
	dev-python/django[${PYTHON_USEDEP}]
	dev-python/psycopg:2[${PYTHON_USEDEP}]
	dev-python/mysqlclient[${PYTHON_USEDEP}]

	test? ( dev-python/asgiref[${PYTHON_USEDEP}] )
"
DEPEND="${RDEPEND}"

distutils_enable_tests setup.py