diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-01-20 08:20:30 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-01-20 08:20:30 +0200 |
commit | c776c5586dd7dd88d8fd47b1a3438de1553c2fb6 (patch) | |
tree | 8028a0f56c24e2b07c0ca4615fda5e535c5a6c48 /dev-python/easy-thumbnails | |
parent | dev-python/minikanren: add 1.0.3 (diff) | |
download | gentoo-c776c5586dd7dd88d8fd47b1a3438de1553c2fb6.tar.gz gentoo-c776c5586dd7dd88d8fd47b1a3438de1553c2fb6.tar.bz2 gentoo-c776c5586dd7dd88d8fd47b1a3438de1553c2fb6.zip |
dev-python/easy-thumbnails: add 2.8.1
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/easy-thumbnails')
-rw-r--r-- | dev-python/easy-thumbnails/Manifest | 1 | ||||
-rw-r--r-- | dev-python/easy-thumbnails/easy-thumbnails-2.8.1.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/easy-thumbnails/Manifest b/dev-python/easy-thumbnails/Manifest index 690d9ac5bc04..8352fd73185c 100644 --- a/dev-python/easy-thumbnails/Manifest +++ b/dev-python/easy-thumbnails/Manifest @@ -1 +1,2 @@ +DIST easy-thumbnails-2.8.1.tar.gz 76527 BLAKE2B 1db0b229c90546e162d9691c768d09133218604cb27a4472b017d286f776e2898be232f3b0750e8b833a2746111d22da732c981a8a72986611b0fcf8c0f41ad9 SHA512 26ab9d41d7fa6adbec1cf78b92371e70bf44d20bf2f164016551d6d1bcbcbb190550ecbd8f177e83f3ee677fb3d921e0a411b49fe4d85202b70b6f441d43d247 DIST easy-thumbnails-2.8.tar.gz 77729 BLAKE2B 6e205acc0af9f962f08eb6ec61eeae38f7a90b7b87cdec9e111b877b3fbbe051e1cf7c2b212ffdd41e79e4ffd9f205a783f1fc13010f7cf737fe640e8b974003 SHA512 69f4805b7331236ed37ade1098f0aa6ef92c6664e84e09073efc4c8d761ac548540058cc4dde7f0bab362b7b3a372bd46119a053df9838821f62641baf6c39b8 diff --git a/dev-python/easy-thumbnails/easy-thumbnails-2.8.1.ebuild b/dev-python/easy-thumbnails/easy-thumbnails-2.8.1.ebuild new file mode 100644 index 000000000000..72d06876dd84 --- /dev/null +++ b/dev-python/easy-thumbnails/easy-thumbnails-2.8.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Easy thumbnails for Django" +HOMEPAGE="https://pypi.org/project/easy-thumbnails/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-2.2[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/reportlab[${PYTHON_USEDEP}] + dev-python/svglib[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + 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}" +} |