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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6D0141382C5 for ; Tue, 30 Mar 2021 08:17:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB2DEE0822; Tue, 30 Mar 2021 08:17:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8EE52E0822 for ; Tue, 30 Mar 2021 08:17:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 00E8F3407E0 for ; Tue, 30 Mar 2021 08:17:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5C5C7638 for ; Tue, 30 Mar 2021 08:17:08 +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: <1617092225.0e5c2cb089c728870360973fe92a71978462062f.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.12.4.ebuild X-VCS-Directories: dev-python/djangorestframework/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0e5c2cb089c728870360973fe92a71978462062f X-VCS-Branch: master Date: Tue, 30 Mar 2021 08:17:08 +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: ff2f69e9-9f98-4bd6-beb3-7987a530b7cc X-Archives-Hash: 40a1215a649e8d607bd7529c4fe00923 commit: 0e5c2cb089c728870360973fe92a71978462062f Author: Michał Górny gentoo org> AuthorDate: Tue Mar 30 08:12:23 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Mar 30 08:17:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e5c2cb0 dev-python/djangorestframework: Bump to 3.12.4 Signed-off-by: Michał Górny gentoo.org> dev-python/djangorestframework/Manifest | 1 + .../djangorestframework-3.12.4.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-python/djangorestframework/Manifest b/dev-python/djangorestframework/Manifest index e95b2a7e64b..cc4cc8a41f2 100644 --- a/dev-python/djangorestframework/Manifest +++ b/dev-python/djangorestframework/Manifest @@ -1 +1,2 @@ DIST django-rest-framework-3.12.2.gh.tar.gz 8856613 BLAKE2B 77d0b3bad38c7829387de752d913eb758935615213d8f8ada9422ecf25142383c1b11a1c95d5fc9f4cf7634e494119ddcb236c810e85429fa8cd4ecd1ef88132 SHA512 7c3e712897562eff14ddfa4ded6627d6b4263001e0c9a4047b92da43c0fd86e8ac9d09bb54bb87ce0d4e7743553c4733a60b18327f7e4d481cb9898593731467 +DIST django-rest-framework-3.12.4.gh.tar.gz 8856507 BLAKE2B 48150e8d966ddd169a2b58d90656efa8f9f549c9d2fdee6025254fba2a6221704fe6bcb246567c8acb963f76ea56046935d3190c7c391daf4773b100a641ba02 SHA512 406b5354809b94e371a2c7d4b62ce66c18a1f60bd02574cba603ad4c44faa4297bdbbd6ee50de63fe21d2aae18386e05d46983a506bddd17f06ce610d5b727c9 diff --git a/dev-python/djangorestframework/djangorestframework-3.12.4.ebuild b/dev-python/djangorestframework/djangorestframework-3.12.4.ebuild new file mode 100644 index 00000000000..8530587f35d --- /dev/null +++ b/dev-python/djangorestframework/djangorestframework-3.12.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +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" + +RDEPEND=">=dev-python/django-1.11[${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 + +python_test() { + local deselect=( + # TODO + tests/test_description.py::TestViewNamesAndDescriptions::test_markdown + ) + + epytest ${deselect[@]/#/--deselect } +}