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 94DC315808B for ; Sat, 26 Feb 2022 18:00:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A74A8E08EF; Sat, 26 Feb 2022 17:59:59 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8C828E08EF for ; Sat, 26 Feb 2022 17:59:59 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 830A83431EF for ; Sat, 26 Feb 2022 17:59:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2306B2F5 for ; Sat, 26 Feb 2022 17:59:57 +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: <1645898383.0d37fe3a319ece0f50af0999c01568d6a659558a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-cors-headers/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/django-cors-headers/django-cors-headers-3.10.1-r1.ebuild X-VCS-Directories: dev-python/django-cors-headers/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0d37fe3a319ece0f50af0999c01568d6a659558a X-VCS-Branch: master Date: Sat, 26 Feb 2022 17:59:57 +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: 0a19517b-7452-4a08-a867-b19574593bad X-Archives-Hash: 46c5ed65c8ef27a6f53e0160bc2de02c commit: 0d37fe3a319ece0f50af0999c01568d6a659558a Author: Michał Górny gentoo org> AuthorDate: Sat Feb 26 17:44:02 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Feb 26 17:59:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d37fe3a dev-python/django-cors-headers: Migrate to PEP517 build Signed-off-by: Michał Górny gentoo.org> .../django-cors-headers-3.10.1-r1.ebuild | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/dev-python/django-cors-headers/django-cors-headers-3.10.1-r1.ebuild b/dev-python/django-cors-headers/django-cors-headers-3.10.1-r1.ebuild new file mode 100644 index 000000000000..2c4e48a4ed9f --- /dev/null +++ b/dev-python/django-cors-headers/django-cors-headers-3.10.1-r1.ebuild @@ -0,0 +1,30 @@ +# 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_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Django App that adds CORS (Cross-Origin Resource Sharing) headers to responses" +HOMEPAGE="https://github.com/adamchainz/django-cors-headers" +SRC_URI=" + https://github.com/adamchainz/django-cors-headers/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/django-2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-django[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest