summaryrefslogtreecommitdiff
path: root/dev-python/pypillowfight
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-14 03:02:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-14 03:02:32 +0000
commitd3c7d3e5f9607edef1a795ccc502ab3eb3121165 (patch)
treed36ccc4ef4aa53927a8cd66bc5d3ab06fe1bdd24 /dev-python/pypillowfight
parent4dc2f97ed84159736ecfb5dea5485e83b27810d1 (diff)
gentoo auto-resync : 14:11:2024 - 03:02:32
Diffstat (limited to 'dev-python/pypillowfight')
-rw-r--r--dev-python/pypillowfight/Manifest3
-rw-r--r--dev-python/pypillowfight/metadata.xml12
-rw-r--r--dev-python/pypillowfight/pypillowfight-0.3.0_p20210816-r1.ebuild44
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/pypillowfight/Manifest b/dev-python/pypillowfight/Manifest
new file mode 100644
index 000000000000..a59d9fbf2318
--- /dev/null
+++ b/dev-python/pypillowfight/Manifest
@@ -0,0 +1,3 @@
+DIST libpillowfight-50d965879eb89fdef9be09d6e934329486ff585d.tar.bz2 87826271 BLAKE2B aa0a9c2800992b671940f0ed0c8d808c5ad870c724fbf0f4dad336d224e6d510b135052f2697a6a1d05bafb9f1969278962c625d5d0ffd997b2548e60b1dec2b SHA512 76b05d49e2ee9fc9dcc2c9342d312841c8d1520d8d2027bd12b6921f85bd92645f698a811ccf7bdeceba64f0b706d5fd2975f91c51db8ce87f1261793aee83cb
+EBUILD pypillowfight-0.3.0_p20210816-r1.ebuild 1011 BLAKE2B 3bfb6bce04ad7dedb2db614059030aa96a0be8634c0bfd0907f572f57a9a9fb715ebdce3624fd22caa01d02659270c189faf5d81ccf8ae2ec23ed2cf19f6f634 SHA512 3d3727cb8a674fb20e5be328a633cf7ae22748aaff889b10eeb2e0af91b8b360a8571692915c963940e5dc0124ff3fd511a87e403cefb2cf40e531b18b4e5eea
+MISC metadata.xml 421 BLAKE2B af873a75bfc94519921eb02333aab53d0c0a4b15ef2951fbe721519650a864e82807296eede3dd566395860cc1c9ba60cdf6768083368b717a7e2a8d7052b192 SHA512 cc9b04007e18bf0cbbcdb3fe0c9c75cf0c32afaed192cca98fedd6a6f135422794db2758f5f23f4870900d22b124a6cbc315dd51a1137c874d2c6461766c009f
diff --git a/dev-python/pypillowfight/metadata.xml b/dev-python/pypillowfight/metadata.xml
new file mode 100644
index 000000000000..231c5364b135
--- /dev/null
+++ b/dev-python/pypillowfight/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">pypillowfight</remote-id>
+ <remote-id type="gnome-gitlab">World/OpenPaperwork/libpillowfight</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pypillowfight/pypillowfight-0.3.0_p20210816-r1.ebuild b/dev-python/pypillowfight/pypillowfight-0.3.0_p20210816-r1.ebuild
new file mode 100644
index 000000000000..d10b6c1a950a
--- /dev/null
+++ b/dev-python/pypillowfight/pypillowfight-0.3.0_p20210816-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+COMMIT="50d965879eb89fdef9be09d6e934329486ff585d"
+MY_P=libpillowfight-${COMMIT}
+DESCRIPTION="Small library containing various image processing algorithms"
+HOMEPAGE="
+ https://gitlab.gnome.org/World/OpenPaperwork/libpillowfight/
+ https://pypi.org/project/pypillowfight/
+"
+SRC_URI="
+ https://gitlab.gnome.org/World/OpenPaperwork/libpillowfight/-/archive/${COMMIT}/${MY_P}.tar.bz2
+"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/pillow[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ 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() {
+ epytest tests -o addopts=
+}