From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DB14115817D for ; Wed, 19 Jun 2024 13:14:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EE332BC035; Wed, 19 Jun 2024 13:14:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0FEA22BC030 for ; Wed, 19 Jun 2024 13:14:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0501933BDF5 for ; Wed, 19 Jun 2024 13:14:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5DA1F1D17 for ; Wed, 19 Jun 2024 13:14:39 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1718802870.94329e0e679f95561b1c340b7a86cc5660b06cf9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/djangorestframework/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/djangorestframework/Manifest dev-python/djangorestframework/djangorestframework-3.15.2.ebuild X-VCS-Directories: dev-python/djangorestframework/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 94329e0e679f95561b1c340b7a86cc5660b06cf9 X-VCS-Branch: master Date: Wed, 19 Jun 2024 13:14:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: de9b86e2-56c8-4d5a-8608-b71e7c2e52b8 X-Archives-Hash: bb41c5d8a22c600ea2ea756e5a3564ed commit: 94329e0e679f95561b1c340b7a86cc5660b06cf9 Author: Michał Górny gentoo org> AuthorDate: Wed Jun 19 12:14:58 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jun 19 13:14:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94329e0e dev-python/djangorestframework: Bump to 3.15.2 Signed-off-by: Michał Górny gentoo.org> dev-python/djangorestframework/Manifest | 1 + .../djangorestframework-3.15.2.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/djangorestframework/Manifest b/dev-python/djangorestframework/Manifest index a557634d482e..473e112edc36 100644 --- a/dev-python/djangorestframework/Manifest +++ b/dev-python/djangorestframework/Manifest @@ -1 +1,2 @@ DIST django-rest-framework-3.15.1.gh.tar.gz 9291840 BLAKE2B daf672a1fb01494f08dd54af7369bd464d4fc1e22ff3c90c0fe787408d4f327710c5e6394e33546a4df2da752dbd774980f092108f2f4e395795af3aead18f89 SHA512 e44c3d861973928194035364fb6b5ddffbcacab959072b2c549971dd6675b5a5f1be13b55856154dbffaefb48dcbd4a63fd9ffbce5456507b52fd5e4648706b9 +DIST django-rest-framework-3.15.2.gh.tar.gz 9290406 BLAKE2B 588aebbdd89f749bacd4244707f6b4b0e2a6aef0759973e5451ebcc4acb4d2e1c2d9773ab576e33442f5123ce860cae087622a26d1d208edc70df04057c4d401 SHA512 a24322fb09398ee1608900ae623d8ba44c3cb066fc7921e38f847a93513d3ca549d933da6cfc045a556edfe50dae3431b6782d0241a9f53ac3dbc0caf48fa520 diff --git a/dev-python/djangorestframework/djangorestframework-3.15.2.ebuild b/dev-python/djangorestframework/djangorestframework-3.15.2.ebuild new file mode 100644 index 000000000000..692fde8de29e --- /dev/null +++ b/dev-python/djangorestframework/djangorestframework-3.15.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 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/ + https://github.com/encode/django-rest-framework/ + https://pypi.org/project/djangorestframework/ +" +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 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/django-4.2[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/inflection[${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 + + # require coreapi (but not skipped properly) + tests/schemas/test_managementcommand.py::GenerateSchemaTests::test_coreapi_renders_default_schema_with_custom_title_url_and_desc + tests/schemas/test_managementcommand.py::GenerateSchemaTests::test_coreapi_renders_openapi_json_schema + tests/schemas/test_managementcommand.py::GenerateSchemaTests::test_renders_corejson_schema + + # upstream is removing pytz, apparently it's not tested anymore + # https://github.com/encode/django-rest-framework/discussions/9342 + tests/test_fields.py::TestPytzNaiveDayLightSavingTimeTimeZoneDateTimeField::test_invalid_inputs +)