From 8fdc3a2b9cc2cfe01893b9cb3f923c210287b0f1 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 14 Apr 2024 18:45:23 +0000 Subject: Adding metadata --- dev-python/django-polymorphic/Manifest | 1 + .../django-polymorphic-3.1-r1.ebuild | 41 ++++++++++++++++++++++ dev-python/django-polymorphic/metadata.xml | 11 ++++++ 3 files changed, 53 insertions(+) create mode 100644 dev-python/django-polymorphic/Manifest create mode 100644 dev-python/django-polymorphic/django-polymorphic-3.1-r1.ebuild create mode 100644 dev-python/django-polymorphic/metadata.xml (limited to 'dev-python/django-polymorphic') diff --git a/dev-python/django-polymorphic/Manifest b/dev-python/django-polymorphic/Manifest new file mode 100644 index 000000000000..6b3175e1e369 --- /dev/null +++ b/dev-python/django-polymorphic/Manifest @@ -0,0 +1 @@ +DIST django-polymorphic-3.1.gh.tar.gz 104090 BLAKE2B de2a2b38f338a10198d00e70d1813e541bf627e2ba2f5e29f0844c9ec7034badba39c077a195fc8c2f71105f1b4e546b91218b95d2ac47020f0dc2e3a5b0baa8 SHA512 730f617009007f94e935870941fdd8973d0cd5995060afbd138622345de77fa48bf2afe037bfa2ad476cef0a31e90cab1eb55109c470ae815a98e1facfa8f125 diff --git a/dev-python/django-polymorphic/django-polymorphic-3.1-r1.ebuild b/dev-python/django-polymorphic/django-polymorphic-3.1-r1.ebuild new file mode 100644 index 000000000000..0c7760f5a1b5 --- /dev/null +++ b/dev-python/django-polymorphic/django-polymorphic-3.1-r1.ebuild @@ -0,0 +1,41 @@ +# 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_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Seamless Polymorphic Inheritance for Django Models" +HOMEPAGE=" + https://github.com/jazzband/django-polymorphic/ + https://pypi.org/project/django-polymorphic/ +" +SRC_URI=" + https://github.com/jazzband/django-polymorphic/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-2.1[$PYTHON_USEDEP] +" + +DEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + dev-python/dj-database-url[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" runtests.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/django-polymorphic/metadata.xml b/dev-python/django-polymorphic/metadata.xml new file mode 100644 index 000000000000..ea8988e8af6a --- /dev/null +++ b/dev-python/django-polymorphic/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + Python + + + gentoo-staging + + \ No newline at end of file -- cgit v1.3