diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-03-30 13:46:11 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-03-30 13:46:11 +0000 |
| commit | 7da9cc3184c814f66312ba9693c3326ddab7c24c (patch) | |
| tree | d301a3b4a2f8897b1ce6ba3f3f26ffdfd8ddd6cf /dev-python/djangorestframework | |
| parent | 70f18960a76e8d361f71ee03ccce00e11d199380 (diff) | |
| download | baldeagleos-repo-7da9cc3184c814f66312ba9693c3326ddab7c24c.tar.gz baldeagleos-repo-7da9cc3184c814f66312ba9693c3326ddab7c24c.tar.xz baldeagleos-repo-7da9cc3184c814f66312ba9693c3326ddab7c24c.zip | |
Adding metadata
Diffstat (limited to 'dev-python/djangorestframework')
| -rw-r--r-- | dev-python/djangorestframework/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/djangorestframework/djangorestframework-3.12.4.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/djangorestframework/Manifest b/dev-python/djangorestframework/Manifest index e95b2a7e64bb..cc4cc8a41f20 100644 --- a/dev-python/djangorestframework/Manifest +++ b/dev-python/djangorestframework/Manifest @@ -1 +1,2 @@ DIST django-rest-framework-3.12.2.gh.tar.gz 8856613 BLAKE2B 77d0b3bad38c7829387de752d913eb758935615213d8f8ada9422ecf25142383c1b11a1c95d5fc9f4cf7634e494119ddcb236c810e85429fa8cd4ecd1ef88132 SHA512 7c3e712897562eff14ddfa4ded6627d6b4263001e0c9a4047b92da43c0fd86e8ac9d09bb54bb87ce0d4e7743553c4733a60b18327f7e4d481cb9898593731467 +DIST django-rest-framework-3.12.4.gh.tar.gz 8856507 BLAKE2B 48150e8d966ddd169a2b58d90656efa8f9f549c9d2fdee6025254fba2a6221704fe6bcb246567c8acb963f76ea56046935d3190c7c391daf4773b100a641ba02 SHA512 406b5354809b94e371a2c7d4b62ce66c18a1f60bd02574cba603ad4c44faa4297bdbbd6ee50de63fe21d2aae18386e05d46983a506bddd17f06ce610d5b727c9 diff --git a/dev-python/djangorestframework/djangorestframework-3.12.4.ebuild b/dev-python/djangorestframework/djangorestframework-3.12.4.ebuild new file mode 100644 index 000000000000..858df1cc373f --- /dev/null +++ b/dev-python/djangorestframework/djangorestframework-3.12.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +MY_P=django-rest-framework-${PV} +DESCRIPTION="Web APIs with django made easy" +HOMEPAGE="https://www.django-rest-framework.org/" +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" + +RDEPEND=">=dev-python/django-1.11[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/coreapi[${PYTHON_USEDEP}] + dev-python/coreschema[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # TODO + tests/test_description.py::TestViewNamesAndDescriptions::test_markdown + ) + + epytest ${deselect[@]/#/--deselect } +} |
