Updates
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
DIST django-qrcode-0.3.tar.gz 4188 BLAKE2B 7c38dae8b773b5e4a30255d08ad93ec0c0f17abcabea033728df70077e08693b05b203c78c2497479feabfc0d3b0c73a42aa4efcf72689e99323f98fcd7569e4 SHA512 fc7267c6bc18e54a38bff607f7dfec0825f8fd5ff3af07be2dd5cbeba46854cea66c3606e20b1f72b7ecbd5137ac6f5133afdf466ec59ee31511a7d6116de7c6
|
||||
EBUILD django-qrcode-0.3.ebuild 969 BLAKE2B 0572c4abb46247481c22e2832dce9a3a086bb447e570c081dc7e113b81a8629fb1f03f2a3b23c93c48f9bcafc632061dd924fb45a7e57e0d808849312fb6a6a4 SHA512 cc0372f454c4c468b84526ef7cff2657fd2f52d626a17b68e984f866a9831cfb619e5695f23c0b321cb9011e8def099fb7f30ed05c07a6104192b18ade45503c
|
||||
@@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
PYPI_NO_NORMALIZE=1
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Simple django application to simplify the inclusion of QR codes"
|
||||
HOMEPAGE="
|
||||
https://github.com/pablorecio/django-qrcode
|
||||
https://pypi.org/project/django-qrcode
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/django-3.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
$(python_gen_impl_dep sqlite)
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/qrcode[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/tomli[${PYTHON_USEDEP}]
|
||||
' 3.9 3.10)
|
||||
${RDEPEND}
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
local -x PYTHONPATH=test:${PYTHONPATH}
|
||||
local -x DJANGO_SETTINGS_MODULE=test_project.settings
|
||||
"${EPYTHON}" -m django test -v 2 django_otp ||
|
||||
die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user