From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8B98E159C9B for ; Mon, 12 Aug 2024 02:50:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2892DE2ABE; Mon, 12 Aug 2024 02:50:44 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0AF0BE2ABC for ; Mon, 12 Aug 2024 02:50:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A3F053430B9 for ; Mon, 12 Aug 2024 02:50:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 08BD51EE9 for ; Mon, 12 Aug 2024 02:50:40 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1723431029.80888d4a00a4aaf92576bca253e62b637f981189.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-sortedm2m/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/django-sortedm2m/Manifest dev-python/django-sortedm2m/django-sortedm2m-4.0.0.ebuild X-VCS-Directories: dev-python/django-sortedm2m/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 80888d4a00a4aaf92576bca253e62b637f981189 X-VCS-Branch: master Date: Mon, 12 Aug 2024 02:50:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6803b80f-e8bc-475c-beda-71c003cbb73d X-Archives-Hash: 1a19f8e8c7d71d41fc18bc5895d801e3 commit: 80888d4a00a4aaf92576bca253e62b637f981189 Author: Michał Górny gentoo org> AuthorDate: Mon Aug 12 02:24:25 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Aug 12 02:50:29 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80888d4a dev-python/django-sortedm2m: Bump to 4.0.0 Closes: https://bugs.gentoo.org/923002 Signed-off-by: Michał Górny gentoo.org> dev-python/django-sortedm2m/Manifest | 1 + .../django-sortedm2m/django-sortedm2m-4.0.0.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/django-sortedm2m/Manifest b/dev-python/django-sortedm2m/Manifest index e111b753e407..d6d7fcd9c2f6 100644 --- a/dev-python/django-sortedm2m/Manifest +++ b/dev-python/django-sortedm2m/Manifest @@ -1 +1,2 @@ DIST django-sortedm2m-3.1.1.gh.tar.gz 45888 BLAKE2B 878a23d5f5dad114b0b6ef9bd687d4e23620c823a8ad33a66b7c6c1e598db15e5328a46373dd6d7fd9449b4ba533e21664db716cde40150af2451a74f2f28fda SHA512 440c049a1fbe54c0db8edb0a5a737b5d84553afb7305d21a64c2dbac02f143e6f17e7e0499a4d3e687b13f292558d7818c030d78d8cc9443048a95ae6b50204f +DIST django-sortedm2m-4.0.0.gh.tar.gz 43476 BLAKE2B 07cec1cce786e64642ec2ed620e5db11c6f33efe701f9e2b2a1b5081ce91631d4e3524595729cd390fed4acce48eb07193a25a8d3ac1ff66d7895cccd84b3515 SHA512 90d407ca78d264b3b6262896cdb45de64a9d60f2a7a99e8daa0a62adf104d245e5bd142c9c7020f0cfeb17ebe5f311295f67e4b40ce78095d6b02bc3d480c77f diff --git a/dev-python/django-sortedm2m/django-sortedm2m-4.0.0.ebuild b/dev-python/django-sortedm2m/django-sortedm2m-4.0.0.ebuild new file mode 100644 index 000000000000..0f019fc8c8f2 --- /dev/null +++ b/dev-python/django-sortedm2m/django-sortedm2m-4.0.0.ebuild @@ -0,0 +1,43 @@ +# 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_{10..13} ) + +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" +SLOT="0" +KEYWORDS="~amd64 ~x86" +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}" +}