1 |
commit: b32db03a3c5f3c2b1a48632976836fa6772627ea |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 07:51:19 2023 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 07:58:53 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b32db03a |
7 |
|
8 |
dev-python/libpillowfight: update EAPI 7 -> 8 |
9 |
|
10 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
11 |
|
12 |
dev-python/libpillowfight/Manifest | 1 + |
13 |
.../libpillowfight-0.3.0_p20210816-r1.ebuild | 38 ++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/libpillowfight/Manifest b/dev-python/libpillowfight/Manifest |
17 |
index a08695322544..81038ebace55 100644 |
18 |
--- a/dev-python/libpillowfight/Manifest |
19 |
+++ b/dev-python/libpillowfight/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST libpillowfight-0.3.0_p20210816.tar.bz2 87826271 BLAKE2B aa0a9c2800992b671940f0ed0c8d808c5ad870c724fbf0f4dad336d224e6d510b135052f2697a6a1d05bafb9f1969278962c625d5d0ffd997b2548e60b1dec2b SHA512 76b05d49e2ee9fc9dcc2c9342d312841c8d1520d8d2027bd12b6921f85bd92645f698a811ccf7bdeceba64f0b706d5fd2975f91c51db8ce87f1261793aee83cb |
22 |
DIST libpillowfight-0.3.0_p20210816.tar.gz 89491019 BLAKE2B 24a658ce461928750582560ef27fbc1ea233bb7c6290053bee7ab3437816fd0e9d7933e36a7a90c75706bdc17024200d16a17ec81c0c30563f043e6d15cc074e SHA512 a731a7d8c8492f5f6229315c8ff48bcdf215acd501d1a5f726f60d6417f77d04b702579d972aaa90f9d01d27b7b167b47f15f435c0fe79598aedb55ac397835b |
23 |
|
24 |
diff --git a/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816-r1.ebuild b/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816-r1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..fd434e4d3d34 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816-r1.ebuild |
29 |
@@ -0,0 +1,38 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{9..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+COMMIT="50d965879eb89fdef9be09d6e934329486ff585d" |
41 |
+ |
42 |
+DESCRIPTION="Small library containing various image processing algorithms" |
43 |
+HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/libpillowfight" |
44 |
+SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/${PN}/-/archive/${COMMIT}/${P}.tar.bz2" |
45 |
+S="${WORKDIR}/${PN}-${COMMIT}" |
46 |
+ |
47 |
+LICENSE="GPL-3" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+ |
51 |
+RDEPEND="dev-python/pillow[${PYTHON_USEDEP}]" |
52 |
+ |
53 |
+distutils_enable_tests pytest |
54 |
+ |
55 |
+python_prepare_all() { |
56 |
+ ln -s "${S}"/tests "${T}"/tests || die |
57 |
+ sed -e "/'nose>=1.0'/d" -i setup.py || die |
58 |
+ cat > src/pillowfight/_version.h <<- EOF || die |
59 |
+ #define INTERNAL_PILLOWFIGHT_VERSION "$(ver_cut 1-3)" |
60 |
+ EOF |
61 |
+ distutils-r1_python_prepare_all |
62 |
+} |
63 |
+ |
64 |
+python_test() { |
65 |
+ cd "${T}" || die |
66 |
+ epytest "${S}"/tests -o addopts= |
67 |
+} |