summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-07-24 13:18:41 +0200
committerMichał Górny <mgorny@gentoo.org>2023-07-24 13:31:07 +0200
commitfbbb5d9fdee0f8540278a5dafd7a994bf620e912 (patch)
treee836f4fa9a4200685cc1b61b3d0007b99e4a760b /dev-python/django-sortedm2m
parentdev-python/django-redis: Remove old (diff)
downloadgentoo-fbbb5d9fdee0f8540278a5dafd7a994bf620e912.tar.gz
gentoo-fbbb5d9fdee0f8540278a5dafd7a994bf620e912.tar.bz2
gentoo-fbbb5d9fdee0f8540278a5dafd7a994bf620e912.zip
dev-python/django-sortedm2m: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/django-sortedm2m')
-rw-r--r--dev-python/django-sortedm2m/django-sortedm2m-3.1.1.ebuild35
1 files changed, 0 insertions, 35 deletions
diff --git a/dev-python/django-sortedm2m/django-sortedm2m-3.1.1.ebuild b/dev-python/django-sortedm2m/django-sortedm2m-3.1.1.ebuild
deleted file mode 100644
index 7228f7b501ec..000000000000
--- a/dev-python/django-sortedm2m/django-sortedm2m-3.1.1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
-
-DESCRIPTION="Drop-in replacement for django's many to many field with sorted relations"
-HOMEPAGE="https://pypi.org/project/django-sortedm2m/
- https://github.com/jazzband/django-sortedm2m"
-SRC_URI="
- https://github.com/jazzband/django-sortedm2m/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz"
-
-LICENSE="BSD"
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-python/django[${PYTHON_USEDEP}]"
-BDEPEND="
- test? (
- $(python_gen_impl_dep sqlite)
- ${RDEPEND}
- )"
-
-python_test() {
- local -x PYTHONPATH=test_project:${PYTHONPATH}
- local -x DB_ENGINE=sqlite3
- local -x DB_NAME=":memory:"
- django-admin test -v 2 --settings=settings --noinput sortedm2m_tests ||
- die "Tests fail with ${EPYTHON}"
-}