summaryrefslogtreecommitdiff
path: root/dev-python/pypillowfight
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/pypillowfight
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/pypillowfight')
-rw-r--r--dev-python/pypillowfight/Manifest1
-rw-r--r--dev-python/pypillowfight/metadata.xml12
-rw-r--r--dev-python/pypillowfight/pypillowfight-0.3.1.ebuild43
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/pypillowfight/Manifest b/dev-python/pypillowfight/Manifest
new file mode 100644
index 000000000000..492add964ea5
--- /dev/null
+++ b/dev-python/pypillowfight/Manifest
@@ -0,0 +1 @@
+DIST libpillowfight-0.3.1.tar.bz2 87826393 BLAKE2B 7e6b2c3b6069d0e8bf4eea964d6ce3f90759d6d36b31f73780d928180f613abbd639ec7925dafc90be34adb893dfa2764fa818b41a4da6a557d5f9af4c0fa615 SHA512 7d8893a1b5d55b9cbce877b794e23269f838c5a071a6abc3834ee8af00cd3be8a70cfc49cb06653cfda9d91a798b62970c755408c47749971eb5e085699d06b1
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.1.ebuild b/dev-python/pypillowfight/pypillowfight-0.3.1.ebuild
new file mode 100644
index 000000000000..f919e250a536
--- /dev/null
+++ b/dev-python/pypillowfight/pypillowfight-0.3.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2025 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_{13..14} )
+
+inherit distutils-r1
+
+MY_P=libpillowfight-${PV}
+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/${PV}/${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=
+}