Diff django-3.2.22 with a django-4.1.12
/usr/portage/dev-python/django/django-4.1.12.ebuild 2023-10-09 14:52:30.272368370 +0300 | ||
---|---|---|
27 | 27 |
# admin icons, jquery, xregexp.js |
28 | 28 |
LICENSE+=" MIT" |
29 | 29 |
SLOT="0" |
30 |
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" |
|
30 |
KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" |
|
31 | 31 |
IUSE="doc sqlite test" |
32 | 32 |
RESTRICT="!test? ( test )" |
33 | 33 | |
34 | 34 |
RDEPEND=" |
35 |
>=dev-python/asgiref-3.3.4[${PYTHON_USEDEP}] |
|
36 |
dev-python/pytz[${PYTHON_USEDEP}] |
|
35 |
<dev-python/asgiref-4[${PYTHON_USEDEP}] |
|
36 |
>=dev-python/asgiref-3.5.2[${PYTHON_USEDEP}] |
|
37 | 37 |
>=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}] |
38 | 38 |
" |
39 | 39 |
BDEPEND=" |
... | ... | |
53 | 53 |
" |
54 | 54 | |
55 | 55 |
PATCHES=( |
56 |
"${FILESDIR}"/${PN}-3.1-bashcomp.patch |
|
57 |
"${FILESDIR}"/django-3.2.19-py311.patch |
|
58 |
# needed for Python 3.11 |
|
59 |
"${FILESDIR}"/django-3.2.20-urlsplit.patch |
|
56 |
"${FILESDIR}"/${PN}-4.0-bashcomp.patch |
|
60 | 57 |
) |
61 | 58 | |
62 | 59 |
distutils_enable_sphinx docs --no-autodoc |
... | ... | |
74 | 71 |
default |
75 | 72 |
} |
76 | 73 | |
77 |
python_prepare_all() { |
|
78 |
# Fails because of warnings |
|
79 |
sed -i 's/test_dumpdata_proxy_with_concrete/_&/' tests/fixtures/tests.py || die |
|
80 |
# TODO: this suddenly started failing |
|
81 |
sed -i -e 's:test_custom_fields:_&:' tests/inspectdb/tests.py || die |
|
82 | ||
83 |
distutils-r1_python_prepare_all |
|
84 |
} |
|
85 | ||
86 | 74 |
python_test() { |
87 | 75 |
# Tests have non-standard assumptions about PYTHONPATH, |
88 | 76 |
# and don't work with ${BUILD_DIR}/lib. |