summaryrefslogtreecommitdiff
path: root/dev-python/djangorestframework
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-12-08 11:16:57 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-12-08 11:16:57 +0000
commiteff7693b7d5be817a8e22410ebcf9e998cbc3c34 (patch)
treec11186fd0d04b448224c83b60259ce65784b6f26 /dev-python/djangorestframework
parentb2e2e8b7da9e3b861ad38f7e5bb5bac532a10e57 (diff)
downloadbaldeagleos-repo-eff7693b7d5be817a8e22410ebcf9e998cbc3c34.tar.gz
baldeagleos-repo-eff7693b7d5be817a8e22410ebcf9e998cbc3c34.tar.xz
baldeagleos-repo-eff7693b7d5be817a8e22410ebcf9e998cbc3c34.zip
Adding metadata
Diffstat (limited to 'dev-python/djangorestframework')
-rw-r--r--dev-python/djangorestframework/Manifest4
-rw-r--r--dev-python/djangorestframework/djangorestframework-3.14.0.ebuild25
-rw-r--r--dev-python/djangorestframework/metadata.xml13
3 files changed, 26 insertions, 16 deletions
diff --git a/dev-python/djangorestframework/Manifest b/dev-python/djangorestframework/Manifest
index 5d87272fe939..a890ed28d6c0 100644
--- a/dev-python/djangorestframework/Manifest
+++ b/dev-python/djangorestframework/Manifest
@@ -1,3 +1 @@
-DIST djangorestframework-3.14.0.tar.gz 1055343 BLAKE2B 90298354a606250688609973b6fc70b3f5c842f263d39eb3989747a43a8d492362a478dd44d920bafdd94caacdce6f2b642519a388153f8835dcc2f13abd21c1 SHA512 063dde9eaaf6adede1b1ce75ec9f61581639e7f0795052019bcf9b9cc02318bd2f5fd825e6893aa2f7353c601e6792f8a52c26351bbb1e930aa841faca61f385
-EBUILD djangorestframework-3.14.0.ebuild 753 BLAKE2B 3d08fba845d52bfeac5b7114254725e0c8f360ceeddd26d85ac5c1a86e819dbc56764eaaeb2acbbff0d284c2aa5a2670d2bf2354c222e8b8139780842ffa06ac SHA512 90d79ac9010f95f0758c1c3a1eafdc3ab255aef7e06561aa6d905322d7f48dc6a16a757fce9f729cb51cae7fa6f68c6a6abab10f4b720189f8473a5a31c96498
-MISC metadata.xml 482 BLAKE2B c23ab3e4522ced64c9d861187752182a82ec47804ecf191b04e138e955bf88e2a88a903033e55f4999d90bd8feaae20e6f6a53143dcb2421c2ba1dcfed3e4a78 SHA512 8e8dcd1092da55f903833493603cb8adb571d358a51de137da09e38067d58c80975ef4942374063958002d6516fc3cd57f8f088a4b9ed9fa8007ac057a3e6f6b
+DIST django-rest-framework-3.14.0.gh.tar.gz 9056443 BLAKE2B 217be67f42207d72d862011a72aecef3e111c1e1dd4b4e090cae6b22dee3fb32e060f7877c498084cf1221eb960b4ca895ef55721f7cabaafe3e36ee152e17a8 SHA512 c1012c656b427e0318b2056e2f984ddc75a5b4e85f375c76fba165ad06e285848eee1bc6dc76c097daec57d780efb2551110199d62ce636a03951aec13ab4013
diff --git a/dev-python/djangorestframework/djangorestframework-3.14.0.ebuild b/dev-python/djangorestframework/djangorestframework-3.14.0.ebuild
index 187915798ee1..a138e258aa2a 100644
--- a/dev-python/djangorestframework/djangorestframework-3.14.0.ebuild
+++ b/dev-python/djangorestframework/djangorestframework-3.14.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,14 +6,24 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8,9,10,11,12} )
-inherit distutils-r1 pypi
+inherit distutils-r1
+MY_P=django-rest-framework-${PV}
DESCRIPTION="Web APIs with django made easy"
-HOMEPAGE="https://www.django-rest-framework.org/"
+HOMEPAGE="
+ https://www.django-rest-framework.org/
+ https://github.com/encode/django-rest-framework/
+ https://pypi.org/project/djangorestframework/
+"
+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 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
>=dev-python/django-3.0[${PYTHON_USEDEP}]
@@ -21,8 +31,6 @@ RDEPEND="
"
BDEPEND="
test? (
- dev-python/coreapi[${PYTHON_USEDEP}]
- dev-python/coreschema[${PYTHON_USEDEP}]
dev-python/pytest-django[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
)
@@ -32,4 +40,9 @@ distutils_enable_tests pytest
EPYTEST_DESELECT=(
tests/test_description.py::TestViewNamesAndDescriptions::test_markdown
+
+ # require coreapi (but not skipped properly)
+ tests/schemas/test_managementcommand.py::GenerateSchemaTests::test_coreapi_renders_default_schema_with_custom_title_url_and_desc
+ tests/schemas/test_managementcommand.py::GenerateSchemaTests::test_coreapi_renders_openapi_json_schema
+ tests/schemas/test_managementcommand.py::GenerateSchemaTests::test_renders_corejson_schema
)
diff --git a/dev-python/djangorestframework/metadata.xml b/dev-python/djangorestframework/metadata.xml
index c2da416d9fe2..ea8988e8af6a 100644
--- a/dev-python/djangorestframework/metadata.xml
+++ b/dev-python/djangorestframework/metadata.xml
@@ -1,12 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>marcin.deranek@slonko.net</email>
- <name>Marcin Deranek</name>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
</maintainer>
- <upstream>
- <bugs-to>https://github.com/encode/django-rest-framework/issues</bugs-to>
- </upstream>
- <origin>slonko-overlay</origin>
+
+ <origin>gentoo-staging</origin>
+ <stabilize-allarches/>
</pkgmetadata> \ No newline at end of file