summaryrefslogtreecommitdiff
path: root/dev-python/django-cors-headers/django-cors-headers-4.6.0.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-10-30 04:36:56 +0100
committerMichał Górny <mgorny@gentoo.org>2024-10-30 04:36:56 +0100
commit6cadefd457027b8d62fff9d85d55feaaa3a190d1 (patch)
tree9f9cd2f22c1fb7a9bf3f8a162640c069c5ea8337 /dev-python/django-cors-headers/django-cors-headers-4.6.0.ebuild
parent185565014da07c3ae32bc61f987b4f52af783ace (diff)
downloadgentoo-6cadefd457027b8d62fff9d85d55feaaa3a190d1.tar.gz
gentoo-6cadefd457027b8d62fff9d85d55feaaa3a190d1.tar.bz2
gentoo-6cadefd457027b8d62fff9d85d55feaaa3a190d1.zip
dev-python/django-cors-headers: Bump to 4.6.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/django-cors-headers/django-cors-headers-4.6.0.ebuild')
-rw-r--r--dev-python/django-cors-headers/django-cors-headers-4.6.0.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/django-cors-headers/django-cors-headers-4.6.0.ebuild b/dev-python/django-cors-headers/django-cors-headers-4.6.0.ebuild
new file mode 100644
index 000000000000..bd520efe46cc
--- /dev/null
+++ b/dev-python/django-cors-headers/django-cors-headers-4.6.0.ebuild
@@ -0,0 +1,35 @@
+# 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..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Django App that adds CORS (Cross-Origin Resource Sharing) headers to responses"
+HOMEPAGE="
+ https://github.com/adamchainz/django-cors-headers/
+ https://pypi.org/project/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/asgiref-3.6[${PYTHON_USEDEP}]
+ >=dev-python/django-4.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-django[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest