summaryrefslogtreecommitdiff
path: root/dev-python/django-cors-headers
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/django-cors-headers')
-rw-r--r--dev-python/django-cors-headers/Manifest1
-rw-r--r--dev-python/django-cors-headers/django-cors-headers-4.7.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/django-cors-headers/Manifest b/dev-python/django-cors-headers/Manifest
index 7919aef33dc7..bf8ecf4c9274 100644
--- a/dev-python/django-cors-headers/Manifest
+++ b/dev-python/django-cors-headers/Manifest
@@ -1 +1,2 @@
DIST django-cors-headers-4.6.0.gh.tar.gz 29267 BLAKE2B 23bce012b43d191a6e9e2489529d39385946f4eef353e218f770bb72e65e9d89fd37b7a9b4e39fd138222c6e3145c40a7f9825fd2761d1217929cd55db659156 SHA512 c8148af4127dda25cb8a428330672427d8895ed4f51403f557f955da132012ae809f9c60b40825b0cc414fbd487218228e8f0003b5b7dba413145bcc019de67f
+DIST django-cors-headers-4.7.0.gh.tar.gz 32732 BLAKE2B 77f2052a34d2634c4b25eb5e1bf115cbd84e120f01941e6e0456c2b1ac7c5312731207b534dccb531c3f4d76e2e4a7d4ee088a2477bb185ed2f0b0e2f0302fcc SHA512 9829c36630f15b78e8a32e42a7fb27fe90bf590aca139df8192cae2ac92e68414470c9f185fda147ff15dff41bc86ea1298205d1316ea07c7e5733a70a8e0c6d
diff --git a/dev-python/django-cors-headers/django-cors-headers-4.7.0.ebuild b/dev-python/django-cors-headers/django-cors-headers-4.7.0.ebuild
new file mode 100644
index 000000000000..312c56a97674
--- /dev/null
+++ b/dev-python/django-cors-headers/django-cors-headers-4.7.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2025 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