diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-07-28 06:54:49 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-07-28 07:25:22 +0200 |
commit | 2da88fb2b5f13515a68f0816c7c0cf3ed64f498b (patch) | |
tree | 2ecdda9ca16392895440a5a1f35585916c01cd0d /dev-python | |
parent | dev-ruby/sanitize: add 6.1.2 (diff) | |
download | gentoo-2da88fb2b5f13515a68f0816c7c0cf3ed64f498b.tar.gz gentoo-2da88fb2b5f13515a68f0816c7c0cf3ed64f498b.tar.bz2 gentoo-2da88fb2b5f13515a68f0816c7c0cf3ed64f498b.zip |
dev-python/easy-thumbnails: Bump to 2.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/easy-thumbnails/Manifest | 1 | ||||
-rw-r--r-- | dev-python/easy-thumbnails/easy-thumbnails-2.9.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
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}" +} |