diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
commit | b8c7370a682e4e29cda623222d17a790c01c3642 (patch) | |
tree | f6caa14689bd00a5760eadaa381ff41e50ef3c1b /dev-python/easy-thumbnails | |
parent | 8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff) |
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'dev-python/easy-thumbnails')
-rw-r--r-- | dev-python/easy-thumbnails/Manifest | 2 | ||||
-rw-r--r-- | dev-python/easy-thumbnails/easy-thumbnails-2.9.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/easy-thumbnails/Manifest b/dev-python/easy-thumbnails/Manifest index 10932a8bb534..6c133c0b75da 100644 --- a/dev-python/easy-thumbnails/Manifest +++ b/dev-python/easy-thumbnails/Manifest @@ -1,3 +1,5 @@ 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 EBUILD easy-thumbnails-2.8.5.ebuild 1012 BLAKE2B f4fa813f4a1e709da6fa7255be843c186bdfe09545aea96547006baf0d22960c8fb11b4e0d87bc43a5c3f53964846b385031618f61b3ad86d4f53f63499b8798 SHA512 eb593cddd04f4a8a05fcf814ac2180d75d113794b1b28df84bffe90cb3139b142efc38fddd49cd6f2179f91b9eda94e5bb316eae34a1288937704cb0fded1ff2 +EBUILD easy-thumbnails-2.9.ebuild 992 BLAKE2B 4ddcb81d98b226b23e84d8f920dc3ea5c79e63cffbf3bdd5fa1e6c6d12e3b74f1da3d4010cb446146c52df41e89f25ff90ebbacaca938303c1fc14eae1559cbe SHA512 eb4d3be374eeebf7150188485bf158d1f5d42cf1bed078c33a193ce823b6752dd9d3ce7368b5084117174cb1150630f53f4fadf15b64648cb304277b0c4cd1e4 MISC metadata.xml 398 BLAKE2B 3b68a86471764ec8147a2612b95e8f14721cf40c611bc287ac6f30f76556f8f368c998f5a700daaf8686cb6443a4a1e7b3c1844131a9f9afb3ad734278c0041d SHA512 2e1a012af3c5872f28fb513d9c2bee55b522375e66e516ce2c843db44b1110a6420c345e7e94bb5d3fd735a8abaf8fac79cd571e649332402bd612d96fe77e53 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}" +} |