diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-08-28 07:16:21 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-08-28 07:16:21 +0000 |
| commit | 12fcfa67537cc54bdf33ef68ed2d0d19d55b9df0 (patch) | |
| tree | 131f49a24331d3b27f549cdd646588e76e11dc51 /dev-python/djangorestframework-guardian | |
| parent | 1957fbcdee61de322e590f5da02431912824641a (diff) | |
| download | baldeagleos-repo-12fcfa67537cc54bdf33ef68ed2d0d19d55b9df0.tar.gz baldeagleos-repo-12fcfa67537cc54bdf33ef68ed2d0d19d55b9df0.tar.xz baldeagleos-repo-12fcfa67537cc54bdf33ef68ed2d0d19d55b9df0.zip | |
Adding metadata
Diffstat (limited to 'dev-python/djangorestframework-guardian')
| -rw-r--r-- | dev-python/djangorestframework-guardian/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/djangorestframework-guardian/djangorestframework-guardian-0.4.0.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/djangorestframework-guardian/Manifest b/dev-python/djangorestframework-guardian/Manifest index 12fa2ab49ea4..f1b67862c59f 100644 --- a/dev-python/djangorestframework-guardian/Manifest +++ b/dev-python/djangorestframework-guardian/Manifest @@ -1,3 +1,5 @@ DIST djangorestframework-guardian-0.3.0.gh.tar.gz 9110 BLAKE2B 70e6e347935f3e08b4b3181c591740f4c352bb18dfa2fe20fa8665f124f3228786fcb25b928a66063864729f6da7f5697165b85537813010ffbfa214cc6a4829 SHA512 ce196162f42671e6eeb56b17dd432380ff99626dd541b8d2e7e80e4ec7bfc5c884fd3c37652632363173368f9eb1ae0aa82dc25cb1c46ba927f2170d1abbce94 +DIST djangorestframework-guardian-0.4.0.gh.tar.gz 8740 BLAKE2B e3e1ecddfa62c97f1b87f21c9d626c7911bcae4d380b3c88f890cc8a361887953338366e978ecf159b9cd0e4b211e46d2ac0a84ab5a2a8311f59f80f8d1f36a4 SHA512 20fb0bc196434885e1ace8c33c5c638670916c9dc08e5e78d6052749887c1dbc181f54008ff37636d844dd335b57248b1e377eafec744a1509d001482ef2fda0 EBUILD djangorestframework-guardian-0.3.0.ebuild 999 BLAKE2B d81facbdbf5732a453af3fe4a9904e318d45c1017e035e78cd28997b96c3d6b055626a3017a9b80941cbeb89edaeae10ae09ecef6272c3d042583308de4aa6d2 SHA512 6a4f276703276e871c03efe861e92688469bd997dcda4bccdb870579654f6d658c9d416f4701d9d4c465398395692f7910186829c2213b5433bd1ac3c01084a8 +EBUILD djangorestframework-guardian-0.4.0.ebuild 999 BLAKE2B d81facbdbf5732a453af3fe4a9904e318d45c1017e035e78cd28997b96c3d6b055626a3017a9b80941cbeb89edaeae10ae09ecef6272c3d042583308de4aa6d2 SHA512 6a4f276703276e871c03efe861e92688469bd997dcda4bccdb870579654f6d658c9d416f4701d9d4c465398395692f7910186829c2213b5433bd1ac3c01084a8 MISC metadata.xml 511 BLAKE2B e8a807cbda5957e796a6a30461154bf27dbe19332be4c43e9c75379cecd33e841d23382291477bd370fb74fb7129ebcd72f0fe2b8a810c3c66f930a5b7915b1f SHA512 156eb0f58d790163dff2c8ad2f2f0300bfd7b978d31018ee825d526615a080a3e29b824f3065cca010f4e1023db63ad139f014138573e3834257d7c7be6d473c diff --git a/dev-python/djangorestframework-guardian/djangorestframework-guardian-0.4.0.ebuild b/dev-python/djangorestframework-guardian/djangorestframework-guardian-0.4.0.ebuild new file mode 100644 index 000000000000..9f52a80916f9 --- /dev/null +++ b/dev-python/djangorestframework-guardian/djangorestframework-guardian-0.4.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="django-guardian support for Django REST Framework" +HOMEPAGE=" + https://github.com/rpkilby/django-rest-framework-guardian + https://pypi.org/project/djangorestframework-guardian/ +" +SRC_URI="https://github.com/rpkilby/django-rest-framework-guardian/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/django-rest-framework-guardian-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/django[${PYTHON_USEDEP}] + dev-python/djangorestframework[${PYTHON_USEDEP}] + dev-python/django-guardian[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +src_prepare() { + # Django 4 compatibility + sed -i -e 's/ugettext_lazy/gettext_lazy/g' tests/models.py + + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" manage.py test -v 2 tests || die +} |
