From: Michał Górny Date: Tue, 21 Apr 2020 20:00:24 +0000 (+0200) Subject: dev-python/easy-thumbnails: Bump to 2.7, py3.{7,8} X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e381af5422d6eccd71977099c84f8307a420d819;p=gentoo.git dev-python/easy-thumbnails: Bump to 2.7, py3.{7,8} Signed-off-by: Michał Górny --- diff --git a/dev-python/easy-thumbnails/Manifest b/dev-python/easy-thumbnails/Manifest index 776fd14d1045..1908784d1f75 100644 --- a/dev-python/easy-thumbnails/Manifest +++ b/dev-python/easy-thumbnails/Manifest @@ -1 +1,2 @@ DIST easy-thumbnails-2.4.1.tar.gz 74236 BLAKE2B 2b148ec32aacef82414c31b46d30cb77980ca44bf6ceafff73511a3da06fd6c8ca78c6cae8778b7a7f4b03810ae0702d3800e8fe204cdd24f6a64e24d168a4dc SHA512 455dc483fd590a35aa931513f2e07c059a1f33147db641adf120cab9fe56a5c251beede4ebcfe2d2dcff095a06a5552eb06c6b4a371bbac922b0006f62c2e9d8 +DIST easy-thumbnails-2.7.tar.gz 66841 BLAKE2B e46d65fadb2aed17d6f3808916033b14b7c7ce5387afd8058fa623d9bfde6dc91de16703773a5a015ad3c4d3aa6020fe3d9bfbd3e3a38593877ffd03101d8d3c SHA512 614ed1e7f7cffa3e78fa75b43c14b014244439decf9f192814a5871b06caab4cf92ce6e35aa3a363b56480eef9490872a0b28f217f9293ad7b11d7499e49e3fa diff --git a/dev-python/easy-thumbnails/easy-thumbnails-2.7.ebuild b/dev-python/easy-thumbnails/easy-thumbnails-2.7.ebuild new file mode 100644 index 000000000000..3aabbec54a96 --- /dev/null +++ b/dev-python/easy-thumbnails/easy-thumbnails-2.7.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +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-1.11[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/testfixtures[${PYTHON_USEDEP}] + ) +" + +python_test() { + local -x DJANGO_SETTINGS_MODULE=easy_thumbnails.tests.settings + local -x PYTHONPATH=. + django-admin test -v 2 || die "Tests failed with ${EPYTHON}" +}