From b5649949b33e0d54fc50750127b71f6160c42b53 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Wed, 21 Aug 2024 15:11:26 +0200 Subject: [PATCH] dev-python/djangorestframework: add 3.13.1 Signed-off-by: Alarig Le Lay --- dev-python/djangorestframework/Manifest | 1 + .../djangorestframework-3.13.1.ebuild | 41 +++++++++++++++++++ .../dev-python/djangorestframework-3.13.1 | 16 ++++++++ 3 files changed, 58 insertions(+) create mode 100644 dev-python/djangorestframework/djangorestframework-3.13.1.ebuild create mode 100644 metadata/md5-cache/dev-python/djangorestframework-3.13.1 diff --git a/dev-python/djangorestframework/Manifest b/dev-python/djangorestframework/Manifest index 4b1351e..2797698 100644 --- a/dev-python/djangorestframework/Manifest +++ b/dev-python/djangorestframework/Manifest @@ -1 +1,2 @@ DIST django-rest-framework-3.12.4.gh.tar.gz 8856507 BLAKE2B 48150e8d966ddd169a2b58d90656efa8f9f549c9d2fdee6025254fba2a6221704fe6bcb246567c8acb963f76ea56046935d3190c7c391daf4773b100a641ba02 SHA512 406b5354809b94e371a2c7d4b62ce66c18a1f60bd02574cba603ad4c44faa4297bdbbd6ee50de63fe21d2aae18386e05d46983a506bddd17f06ce610d5b727c9 +DIST django-rest-framework-3.13.1.gh.tar.gz 8868916 BLAKE2B 01a2e1c2459f99b1d3b38b62b305a57f3a3358d34a352ef2bbeb6b130c98f19fbbb83325d1013c28107f267a0a0227215646975de54542ab9ca6dfcf2bd88404 SHA512 a272cccf1f19b2cd09ef456a9588fb17ddc56ac3bd735cf7e130d85bb667ca87361d7de26c95b58a05d8cf693ab19c09d913b457f17ad63053ff9b516c13ec9b diff --git a/dev-python/djangorestframework/djangorestframework-3.13.1.ebuild b/dev-python/djangorestframework/djangorestframework-3.13.1.ebuild new file mode 100644 index 0000000..b34ffc3 --- /dev/null +++ b/dev-python/djangorestframework/djangorestframework-3.13.1.ebuild @@ -0,0 +1,41 @@ +# 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} ) + +inherit distutils-r1 + +MY_P=django-rest-framework-${PV} +DESCRIPTION="Web APIs with django made easy" +HOMEPAGE="https://www.django-rest-framework.org/" +SRC_URI=" + https://github.com/encode/django-rest-framework/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/django-2.2[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/coreapi[${PYTHON_USEDEP}] + dev-python/coreschema[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + tests/test_description.py::TestViewNamesAndDescriptions::test_markdown +) diff --git a/metadata/md5-cache/dev-python/djangorestframework-3.13.1 b/metadata/md5-cache/dev-python/djangorestframework-3.13.1 new file mode 100644 index 0000000..7fd5666 --- /dev/null +++ b/metadata/md5-cache/dev-python/djangorestframework-3.13.1 @@ -0,0 +1,16 @@ +BDEPEND=test? ( dev-python/coreapi[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/coreschema[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/pytest-django[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/pyyaml[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] ) test? ( >=dev-python/django-2.2[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/pytz[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/pytest-7.4.4[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] ) python_targets_python3_10? ( dev-lang/python:3.10 ) python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 ) >=dev-python/gpep517-15[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/setuptools-69.0.3[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] +DEFINED_PHASES=compile configure install prepare test +DESCRIPTION=Web APIs with django made easy +EAPI=8 +HOMEPAGE=https://www.django-rest-framework.org/ +INHERIT=distutils-r1 +IUSE=test python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 +KEYWORDS=~amd64 ~x86 +LICENSE=BSD +RDEPEND=>=dev-python/django-2.2[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/pytz[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] python_targets_python3_10? ( dev-lang/python:3.10 ) python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 ) +REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 ) +RESTRICT=!test? ( test ) +SLOT=0 +SRC_URI=https://github.com/encode/django-rest-framework/archive/3.13.1.tar.gz -> django-rest-framework-3.13.1.gh.tar.gz +_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic e503ea5acc20410237ba33ec3f7c857d out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild d67e78a235f541871c7dfe4cf7931489 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-r1 428f5c53276c2adc06a89108fc2f9f46 distutils-r1 ac3ce68c875c9b392338dcd64f7feb73 +_md5_=b1ead1c1d0e663eb7a1459f3dd7d4bfc