diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-06-14 17:49:18 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-06-14 17:49:18 +0000 |
| commit | a7e434df6ff0d2d385f57558ef966514b7f7dcc4 (patch) | |
| tree | daad91cc49b18030b91c36d859115fdf85987acf /dev-python/django-rest-framework-guardian2 | |
| parent | 495e4ea8e39563b451328a6fc4b855be257fb82b (diff) | |
| download | baldeagleos-repo-a7e434df6ff0d2d385f57558ef966514b7f7dcc4.tar.gz baldeagleos-repo-a7e434df6ff0d2d385f57558ef966514b7f7dcc4.tar.xz baldeagleos-repo-a7e434df6ff0d2d385f57558ef966514b7f7dcc4.zip | |
Adding metadata
Diffstat (limited to 'dev-python/django-rest-framework-guardian2')
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/django-rest-framework-guardian2/Manifest b/dev-python/django-rest-framework-guardian2/Manifest new file mode 100644 index 000000000000..771e85729d43 --- /dev/null +++ b/dev-python/django-rest-framework-guardian2/Manifest @@ -0,0 +1 @@ +DIST django-rest-framework-guardian2-0.5.0.gh.tar.gz 9187 BLAKE2B 2a66c894ece4eb9ed3d39f764ce6f0d7522ac9c136d5c31367eeeeb275804d7094eed8a8e2b94e574efb8d16ec7793c43327c44471550acf6722a4210246fd7e SHA512 b34d8d02cd1181e4800e0125a7e41dd2a45b25cb15255921906e336fdaa0334c7ade89e57b918be778274054b6dc2d3297f8660dbc2ca9b65c2b2214d0e14386 diff --git a/dev-python/django-rest-framework-guardian2/django-rest-framework-guardian2-0.5.0.ebuild b/dev-python/django-rest-framework-guardian2/django-rest-framework-guardian2-0.5.0.ebuild new file mode 100644 index 000000000000..c934fbd51bd5 --- /dev/null +++ b/dev-python/django-rest-framework-guardian2/django-rest-framework-guardian2-0.5.0.ebuild @@ -0,0 +1,32 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="A Django application to retrieve user's IP address" +HOMEPAGE=" + https://github.com/johnthagen/django-rest-framework-guardian2 + https://pypi.org/project/djangorestframework-guardian2/ +" +SRC_URI=" + https://github.com/johnthagen/django-rest-framework-guardian2/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/django-1.11[${PYTHON_USEDEP}] +" + +python_test() { + "${EPYTHON}" tests/manage.py test -v2 myapp || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/django-rest-framework-guardian2/metadata.xml b/dev-python/django-rest-framework-guardian2/metadata.xml new file mode 100644 index 000000000000..a2df676e20ae --- /dev/null +++ b/dev-python/django-rest-framework-guardian2/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>core@liguros.net</email> + <name>Development</name> + </maintainer> + + <origin>ports</origin> +</pkgmetadata>
\ No newline at end of file |
