diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-22 07:18:00 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-22 07:18:00 +0000 |
| commit | 9cdbf4c3e0696ba01563ed61985819786e9ff78b (patch) | |
| tree | dba1001ce4a3693986c4525ec36208d5c4bb0478 /dev-python/django-otp | |
| parent | 2b6af48d12b3f3ea5f672a6cd5ac4f0420abda7c (diff) | |
| download | baldeagleos-repo-9cdbf4c3e0696ba01563ed61985819786e9ff78b.tar.gz baldeagleos-repo-9cdbf4c3e0696ba01563ed61985819786e9ff78b.tar.xz baldeagleos-repo-9cdbf4c3e0696ba01563ed61985819786e9ff78b.zip | |
Adding metadata
Diffstat (limited to 'dev-python/django-otp')
| -rw-r--r-- | dev-python/django-otp/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/django-otp/django-otp-1.6.2.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest index 4abaeabd0108..15176290ecc2 100644 --- a/dev-python/django-otp/Manifest +++ b/dev-python/django-otp/Manifest @@ -1 +1,2 @@ DIST django_otp-1.6.1.tar.gz 74134 BLAKE2B fcd3fcdab38f98cef3330ad36008f74f58134a1ea82440caa56a901575ad63805242969689e0381ae0823d70d4a7790c3e9703b6a8d1e3fa30bf10aa5be1bfc2 SHA512 7fdcbc53e7c210b4d8332b6facfefa7bd3d4f51df30f180be3936474da5a2bc604841e964114d2a8826a85839de2088e0e189779c47f7ab98473e575b5e3ffdf +DIST django_otp-1.6.2.tar.gz 74228 BLAKE2B b4abf0d0aa9a56632d0d498f3d5006ab7a90c4fff73c431f2c7489b6ad5e6452071fb18ea6b69fb92ffe8e5f0c9a736b30d5b883294769ddee901e7a86b766d8 SHA512 39015bec2c2c306cf247bf12ed33a6b84314f6155f730368c50d5354c09315977cc6cc2653562c0987641cc2820c7a4149b4c85eac53baef8c80f59257c8fdf3 diff --git a/dev-python/django-otp/django-otp-1.6.2.ebuild b/dev-python/django-otp/django-otp-1.6.2.ebuild new file mode 100644 index 000000000000..e6bf528bf80e --- /dev/null +++ b/dev-python/django-otp/django-otp-1.6.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Django framework adding two-factor authentication using one-time passwords" +HOMEPAGE=" + https://github.com/django-otp/django-otp/ + https://pypi.org/project/django-otp/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-4.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + dev-python/freezegun[${PYTHON_USEDEP}] + || ( + dev-python/qrcode[${PYTHON_USEDEP}] + dev-python/segno[${PYTHON_USEDEP}] + ) + ${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}" +} |
