commit: b32db03a3c5f3c2b1a48632976836fa6772627ea Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> AuthorDate: Wed Feb 1 07:51:19 2023 +0000 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> CommitDate: Wed Feb 1 07:58:53 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b32db03a
dev-python/libpillowfight: update EAPI 7 -> 8 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> dev-python/libpillowfight/Manifest | 1 + .../libpillowfight-0.3.0_p20210816-r1.ebuild | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/libpillowfight/Manifest b/dev-python/libpillowfight/Manifest index a08695322544..81038ebace55 100644 --- a/dev-python/libpillowfight/Manifest +++ b/dev-python/libpillowfight/Manifest @@ -1 +1,2 @@ +DIST libpillowfight-0.3.0_p20210816.tar.bz2 87826271 BLAKE2B aa0a9c2800992b671940f0ed0c8d808c5ad870c724fbf0f4dad336d224e6d510b135052f2697a6a1d05bafb9f1969278962c625d5d0ffd997b2548e60b1dec2b SHA512 76b05d49e2ee9fc9dcc2c9342d312841c8d1520d8d2027bd12b6921f85bd92645f698a811ccf7bdeceba64f0b706d5fd2975f91c51db8ce87f1261793aee83cb DIST libpillowfight-0.3.0_p20210816.tar.gz 89491019 BLAKE2B 24a658ce461928750582560ef27fbc1ea233bb7c6290053bee7ab3437816fd0e9d7933e36a7a90c75706bdc17024200d16a17ec81c0c30563f043e6d15cc074e SHA512 a731a7d8c8492f5f6229315c8ff48bcdf215acd501d1a5f726f60d6417f77d04b702579d972aaa90f9d01d27b7b167b47f15f435c0fe79598aedb55ac397835b diff --git a/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816-r1.ebuild b/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816-r1.ebuild new file mode 100644 index 000000000000..fd434e4d3d34 --- /dev/null +++ b/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +COMMIT="50d965879eb89fdef9be09d6e934329486ff585d" + +DESCRIPTION="Small library containing various image processing algorithms" +HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libpillowfight" +SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/${PN}/-/archive/${COMMIT}/${P}.tar.bz2" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_prepare_all() { + ln -s "${S}"/tests "${T}"/tests || die + sed -e "/'nose>=1.0'/d" -i setup.py || die + cat > src/pillowfight/_version.h <<- EOF || die + #define INTERNAL_PILLOWFIGHT_VERSION "$(ver_cut 1-3)" + EOF + distutils-r1_python_prepare_all +} + +python_test() { + cd "${T}" || die + epytest "${S}"/tests -o addopts= +}