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 7F3C1159C96 for ; Sun, 28 Jul 2024 05:25:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BDA552BC128; Sun, 28 Jul 2024 05:25:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 F31482BC128 for ; Sun, 28 Jul 2024 05:25:37 +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 188AA33BE32 for ; Sun, 28 Jul 2024 05:25:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D9461D87 for ; Sun, 28 Jul 2024 05:25:35 +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: <1722144322.2da88fb2b5f13515a68f0816c7c0cf3ed64f498b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/easy-thumbnails/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/easy-thumbnails/Manifest dev-python/easy-thumbnails/easy-thumbnails-2.9.ebuild X-VCS-Directories: dev-python/easy-thumbnails/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2da88fb2b5f13515a68f0816c7c0cf3ed64f498b X-VCS-Branch: master Date: Sun, 28 Jul 2024 05:25:35 +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: 572a3079-fe86-44ec-999a-2eae2d9284b8 X-Archives-Hash: 3594720d0bd9ae26e4b391ada385dd6a commit: 2da88fb2b5f13515a68f0816c7c0cf3ed64f498b Author: Michał Górny gentoo org> AuthorDate: Sun Jul 28 04:54:49 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jul 28 05:25:22 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2da88fb2 dev-python/easy-thumbnails: Bump to 2.9 Signed-off-by: Michał Górny gentoo.org> dev-python/easy-thumbnails/Manifest | 1 + .../easy-thumbnails/easy-thumbnails-2.9.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/easy-thumbnails/Manifest b/dev-python/easy-thumbnails/Manifest index 24591c2dabe6..0980dab36c12 100644 --- a/dev-python/easy-thumbnails/Manifest +++ b/dev-python/easy-thumbnails/Manifest @@ -1 +1,2 @@ DIST easy-thumbnails-2.8.5.tar.gz 77401 BLAKE2B 625e01a5bf0af7a88dc965908c7e499bd57bc0860aad663e3dc341060d485885572dfb2b971499080659757eecd01bd3a479d3c2bc8b2bfdbf3ef79a4f1a7255 SHA512 0a659eb2a6067e2e2fa825a3c304ea57bf102902c92c662c6b38f6fc7b4a17883144aea10c67a3d6321c3911e6d5dd2633345d4f180f7f7854b3985772ad0273 +DIST easy_thumbnails-2.9.tar.gz 78827 BLAKE2B 96a27894d46d7b16b25b7134ca3b4e57ccf08756ec655bd9e5420c341132176d494c8fbd36ba6b9a9dbca13676fc4896366fdd4a198625f2f47c6e9d6e6bf773 SHA512 659fe283bbf0713f76db9ac04969ed73147919b64537616fb76cf8ceb159ced8ae632dc3e10f87d6f979a2447d1196aa4b21aaeb91d537de4c318a433de8ae9f diff --git a/dev-python/easy-thumbnails/easy-thumbnails-2.9.ebuild b/dev-python/easy-thumbnails/easy-thumbnails-2.9.ebuild new file mode 100644 index 000000000000..c6edad7a55e0 --- /dev/null +++ b/dev-python/easy-thumbnails/easy-thumbnails-2.9.ebuild @@ -0,0 +1,45 @@ +# 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..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Easy thumbnails for Django" +HOMEPAGE=" + https://github.com/SmileyChris/easy-thumbnails/ + https://pypi.org/project/easy-thumbnails/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="svg test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-2.2[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + svg? ( + dev-python/reportlab[${PYTHON_USEDEP}] + dev-python/svglib[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + dev-python/reportlab[${PYTHON_USEDEP}] + dev-python/svglib[${PYTHON_USEDEP}] + dev-python/testfixtures[${PYTHON_USEDEP}] + ) +" + +python_test() { + local -x DJANGO_SETTINGS_MODULE=easy_thumbnails.tests.settings + local -x PYTHONPATH="${S}" + django-admin test -v 2 || die "Tests failed with ${EPYTHON}" +}