dev-python/django-cors-headers: new package, add 3.13.0

This commit is contained in:
Alarig Le Lay 2023-01-31 00:49:19 +01:00
parent 0c8d76206b
commit 3a859c39ea
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
3 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST django-cors-headers-3.13.0.gh.tar.gz 27361 BLAKE2B 2d0729ae6f0e0ff7c572c5f25482fd88dfa03e8f03a7f640ba32f56208fccb91712cd3067bc3376428469cc7f03dd8003069b79e98dd438fad9e5f4b15cd9c71 SHA512 153ae0d2e0b1e390c72993ca629f7ed521fd907481bb2944ee2f805c0081a1db334fd72f0b3fdb77cbb57b3392691f32564bb646bfb8e388a942a8a3da138a8e

View File

@ -0,0 +1,34 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
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/django-2.2[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/pytest-django[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="github">adamchainz/django-cors-headers</remote-id>
<remote-id type="pypi">django-cors-headers</remote-id>
</upstream>
</pkgmetadata>