[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/

2023-12-09 Thread Hanno Böck
commit: 0e8e5cf9898298b29769c6ab2aeb56cfdc416d7d
Author: Hanno Böck  gentoo  org>
AuthorDate: Sat Dec  9 11:32:02 2023 +
Commit: Hanno Böck  gentoo  org>
CommitDate: Sat Dec  9 11:32:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e8e5cf9

media-gfx/cropgui: drop 0.6-r1, 0.6-r2

Signed-off-by: Hanno Böck  gentoo.org>

 media-gfx/cropgui/Manifest  |  1 -
 media-gfx/cropgui/cropgui-0.6-r1.ebuild | 45 -
 media-gfx/cropgui/cropgui-0.6-r2.ebuild | 45 -
 3 files changed, 91 deletions(-)

diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest
index 8f2163e4771b..73b9c62cd373 100644
--- a/media-gfx/cropgui/Manifest
+++ b/media-gfx/cropgui/Manifest
@@ -1,2 +1 @@
-DIST cropgui-0.6.tar.gz 855329 BLAKE2B 
d54098cdf8d8a0eb863ba7cf13d798db8102e147c30d64d246fc9955c4ee5aead253273fd66f0f2cd2d5aaf7abd10cfed01936c08daccdd92e342a56923bd95b
 SHA512 
dff9b1ea832c657c4407aea7ddeac880faaa4647bfe51ed43f9c1658f848cf9b6f9608451dcc006fe735012b52d318ebe5b59a31dc293cfabfb5ec5772612b68
 DIST cropgui-0.7.tar.gz 855705 BLAKE2B 
d2693034b3e3a4355f58c4d17d355721189da8442b5d49ba4c11dc0033371c74301a99c001613c427375bdb9cd733f56a870186a6a59b631feaae93dbd69b232
 SHA512 
ea06527bdd80382bf4986ea1eea8d3c0e11ea60c472bebb489fdc3bd8206f087d0377d769e8fe86ec4573f6d510266443fd25134894b91206e1c5c9d6f7cf563

diff --git a/media-gfx/cropgui/cropgui-0.6-r1.ebuild 
b/media-gfx/cropgui/cropgui-0.6-r1.ebuild
deleted file mode 100644
index d207157cdecc..
--- a/media-gfx/cropgui/cropgui-0.6-r1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9,10} )
-inherit python-r1 desktop wrapper xdg-utils
-
-DESCRIPTION="GUI for lossless cropping of jpeg images"
-HOMEPAGE="https://emergent.unpythonic.net/01248401946;
-SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${PYTHON_DEPS}
-   dev-python/pillow[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]"
-
-install_cropgui_wrapper() {
-   python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
-   make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
-   python_newexe "${ED}/usr/bin/${PN}.tmp" "${PN}"
-   rm "${ED}/usr/bin/${PN}.tmp" || die
-}
-
-src_install() {
-   python_moduleinto "${PN}"
-   python_foreach_impl install_cropgui_wrapper
-
-   domenu "${PN}.desktop"
-   doicon "${PN}.png"
-}
-
-pkg_postinst() {
-   xdg_desktop_database_update
-}
-
-pkg_postrm() {
-   xdg_desktop_database_update
-}

diff --git a/media-gfx/cropgui/cropgui-0.6-r2.ebuild 
b/media-gfx/cropgui/cropgui-0.6-r2.ebuild
deleted file mode 100644
index 8526868539b5..
--- a/media-gfx/cropgui/cropgui-0.6-r2.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9,10,11} )
-inherit python-r1 desktop wrapper xdg-utils
-
-DESCRIPTION="GUI for lossless cropping of jpeg images"
-HOMEPAGE="https://emergent.unpythonic.net/01248401946;
-SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${PYTHON_DEPS}
-   dev-python/pillow[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]"
-
-install_cropgui_wrapper() {
-   python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
-   make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
-   python_newexe "${ED}/usr/bin/${PN}.tmp" "${PN}"
-   rm "${ED}/usr/bin/${PN}.tmp" || die
-}
-
-src_install() {
-   python_moduleinto "${PN}"
-   python_foreach_impl install_cropgui_wrapper
-
-   domenu "${PN}.desktop"
-   doicon "${PN}.png"
-}
-
-pkg_postinst() {
-   xdg_desktop_database_update
-}
-
-pkg_postrm() {
-   xdg_desktop_database_update
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/

2023-12-05 Thread Hanno Böck
commit: 3d8de3600bcd7c2a76b34c2902900897b79d1573
Author: Hanno Böck  gentoo  org>
AuthorDate: Tue Dec  5 12:35:49 2023 +
Commit: Hanno Böck  gentoo  org>
CommitDate: Tue Dec  5 12:37:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d8de360

media-gfx/cropgui: add 0.7

Add missing dependencies (exiftool and imagemagick).
Includes upstream fix for pillow updates.

Closes: https://bugs.gentoo.org/918915
Closes: https://bugs.gentoo.org/918916
Signed-off-by: Hanno Böck  gentoo.org>

 media-gfx/cropgui/Manifest   |  1 +
 media-gfx/cropgui/cropgui-0.7.ebuild | 47 
 2 files changed, 48 insertions(+)

diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest
index def5a58d441a..8f2163e4771b 100644
--- a/media-gfx/cropgui/Manifest
+++ b/media-gfx/cropgui/Manifest
@@ -1 +1,2 @@
 DIST cropgui-0.6.tar.gz 855329 BLAKE2B 
d54098cdf8d8a0eb863ba7cf13d798db8102e147c30d64d246fc9955c4ee5aead253273fd66f0f2cd2d5aaf7abd10cfed01936c08daccdd92e342a56923bd95b
 SHA512 
dff9b1ea832c657c4407aea7ddeac880faaa4647bfe51ed43f9c1658f848cf9b6f9608451dcc006fe735012b52d318ebe5b59a31dc293cfabfb5ec5772612b68
+DIST cropgui-0.7.tar.gz 855705 BLAKE2B 
d2693034b3e3a4355f58c4d17d355721189da8442b5d49ba4c11dc0033371c74301a99c001613c427375bdb9cd733f56a870186a6a59b631feaae93dbd69b232
 SHA512 
ea06527bdd80382bf4986ea1eea8d3c0e11ea60c472bebb489fdc3bd8206f087d0377d769e8fe86ec4573f6d510266443fd25134894b91206e1c5c9d6f7cf563

diff --git a/media-gfx/cropgui/cropgui-0.7.ebuild 
b/media-gfx/cropgui/cropgui-0.7.ebuild
new file mode 100644
index ..38c97aa199df
--- /dev/null
+++ b/media-gfx/cropgui/cropgui-0.7.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10,11,12} )
+inherit python-r1 desktop wrapper xdg-utils
+
+DESCRIPTION="GUI for lossless cropping of jpeg images"
+HOMEPAGE="https://emergent.unpythonic.net/01248401946;
+SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${PYTHON_DEPS}
+   dev-python/pillow[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   media-libs/exiftool
+   media-gfx/imagemagick"
+
+install_cropgui_wrapper() {
+   python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
+   make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
+   python_newexe "${ED}/usr/bin/${PN}.tmp" "${PN}"
+   rm "${ED}/usr/bin/${PN}.tmp" || die
+}
+
+src_install() {
+   python_moduleinto "${PN}"
+   python_foreach_impl install_cropgui_wrapper
+
+   domenu "${PN}.desktop"
+   doicon "${PN}.png"
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/

2023-02-21 Thread Hanno Böck
commit: 222e7cd8cd15b61cc391e653dd4d5814386980c4
Author: Hanno Böck  gentoo  org>
AuthorDate: Tue Feb 21 08:23:49 2023 +
Commit: Hanno Böck  gentoo  org>
CommitDate: Tue Feb 21 08:23:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=222e7cd8

media-gfx/cropgui: Python 3.11 support, EAPI 8.

Signed-off-by: Hanno Böck  gentoo.org>

 media-gfx/cropgui/cropgui-0.6-r2.ebuild | 45 +
 1 file changed, 45 insertions(+)

diff --git a/media-gfx/cropgui/cropgui-0.6-r2.ebuild 
b/media-gfx/cropgui/cropgui-0.6-r2.ebuild
new file mode 100644
index ..8526868539b5
--- /dev/null
+++ b/media-gfx/cropgui/cropgui-0.6-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10,11} )
+inherit python-r1 desktop wrapper xdg-utils
+
+DESCRIPTION="GUI for lossless cropping of jpeg images"
+HOMEPAGE="https://emergent.unpythonic.net/01248401946;
+SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${PYTHON_DEPS}
+   dev-python/pillow[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]"
+
+install_cropgui_wrapper() {
+   python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
+   make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
+   python_newexe "${ED}/usr/bin/${PN}.tmp" "${PN}"
+   rm "${ED}/usr/bin/${PN}.tmp" || die
+}
+
+src_install() {
+   python_moduleinto "${PN}"
+   python_foreach_impl install_cropgui_wrapper
+
+   domenu "${PN}.desktop"
+   doicon "${PN}.png"
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/

2022-10-08 Thread Sam James
commit: f4788430872acda8598fd611df4def7a4687e523
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  8 19:58:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  8 20:01:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4788430

media-gfx/cropgui: fix DeprecatedEclass (eutils)

Signed-off-by: Sam James  gentoo.org>

 media-gfx/cropgui/cropgui-0.6-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/cropgui/cropgui-0.6-r1.ebuild 
b/media-gfx/cropgui/cropgui-0.6-r1.ebuild
index c0f740961d3c..a6ed3045eaea 100644
--- a/media-gfx/cropgui/cropgui-0.6-r1.ebuild
+++ b/media-gfx/cropgui/cropgui-0.6-r1.ebuild
@@ -3,8 +3,8 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9,10} )
-inherit eutils python-r1 desktop xdg-utils
+PYTHON_COMPAT=( python3_{8,9,10} )
+inherit python-r1 desktop wrapper xdg-utils
 
 DESCRIPTION="GUI for lossless cropping of jpeg images"
 HOMEPAGE="https://emergent.unpythonic.net/01248401946;



[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/

2022-10-08 Thread Sam James
commit: 8156ffa479c4c0e8582393c1ec0bf5c1934fe6ec
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  8 19:58:12 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  8 20:01:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8156ffa4

media-gfx/cropgui: drop 0.4.1, 0.5, 0.6

Signed-off-by: Sam James  gentoo.org>

 media-gfx/cropgui/Manifest |  2 --
 media-gfx/cropgui/cropgui-0.4.1.ebuild | 45 --
 media-gfx/cropgui/cropgui-0.5.ebuild   | 45 --
 media-gfx/cropgui/cropgui-0.6.ebuild   | 45 --
 4 files changed, 137 deletions(-)

diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest
index 9b9f33155a0b..def5a58d441a 100644
--- a/media-gfx/cropgui/Manifest
+++ b/media-gfx/cropgui/Manifest
@@ -1,3 +1 @@
-DIST cropgui-0.4.1.tar.gz 852958 BLAKE2B 
dcc6ba775e49af9a9fe1054fe5246e87e044f47cb7ca20712e5048dd1fa0fda35ee90c38cf733540913d0220eb58ab0a6dcfe93c7b02ebb9e022529b8add6c1c
 SHA512 
85b0c2c57faecdd7db15e417234f2ea50fc5edbdcacaedcfc53cda68c3a070f4ba0201bff9afbaa3de7c51552309df1ac3e87586b4021e68bbb255a2545d92da
-DIST cropgui-0.5.tar.gz 853934 BLAKE2B 
ac7cf32495e3ac728223994f79252fd98a0a5cf7da79a9c6796ce3d7b213c797b16250be5d23a1bc6bed492f142a95411d6cbd42fe34242016c4e0181bfd90c4
 SHA512 
2babea9ea6089c74637c9023ea08c2ae4f666fbf44bb73d7a301de6fee6848e65a86fab312e765f7bd05e8e03bf3e92942d718ea84a950412385a8e0b6aa0630
 DIST cropgui-0.6.tar.gz 855329 BLAKE2B 
d54098cdf8d8a0eb863ba7cf13d798db8102e147c30d64d246fc9955c4ee5aead253273fd66f0f2cd2d5aaf7abd10cfed01936c08daccdd92e342a56923bd95b
 SHA512 
dff9b1ea832c657c4407aea7ddeac880faaa4647bfe51ed43f9c1658f848cf9b6f9608451dcc006fe735012b52d318ebe5b59a31dc293cfabfb5ec5772612b68

diff --git a/media-gfx/cropgui/cropgui-0.4.1.ebuild 
b/media-gfx/cropgui/cropgui-0.4.1.ebuild
deleted file mode 100644
index 5563225ddde4..
--- a/media-gfx/cropgui/cropgui-0.4.1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-inherit eutils python-r1 desktop xdg-utils
-
-DESCRIPTION="GUI for lossless cropping of jpeg images"
-HOMEPAGE="https://emergent.unpythonic.net/01248401946;
-SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${PYTHON_DEPS}
-   dev-python/pillow[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]"
-
-install_cropgui_wrapper() {
-   python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
-   make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
-   python_newexe "${ED}/usr/bin/${PN}.tmp" "${PN}"
-   rm "${ED}/usr/bin/${PN}.tmp" || die
-}
-
-src_install() {
-   python_moduleinto "${PN}"
-   python_foreach_impl install_cropgui_wrapper
-
-   domenu "${PN}.desktop"
-   doicon "${PN}.png"
-}
-
-pkg_postinst() {
-   xdg_desktop_database_update
-}
-
-pkg_postrm() {
-   xdg_desktop_database_update
-}

diff --git a/media-gfx/cropgui/cropgui-0.5.ebuild 
b/media-gfx/cropgui/cropgui-0.5.ebuild
deleted file mode 100644
index ed810b818119..
--- a/media-gfx/cropgui/cropgui-0.5.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-inherit eutils python-r1 desktop xdg-utils
-
-DESCRIPTION="GUI for lossless cropping of jpeg images"
-HOMEPAGE="https://emergent.unpythonic.net/01248401946;
-SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${PYTHON_DEPS}
-   dev-python/pillow[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]"
-
-install_cropgui_wrapper() {
-   python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
-   make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
-   python_newexe "${ED}/usr/bin/${PN}.tmp" "${PN}"
-   rm "${ED}/usr/bin/${PN}.tmp" || die
-}
-
-src_install() {
-   python_moduleinto "${PN}"
-   python_foreach_impl install_cropgui_wrapper
-
-   domenu "${PN}.desktop"
-   doicon "${PN}.png"
-}
-
-pkg_postinst() {
-   xdg_desktop_database_update
-}
-
-pkg_postrm() {
-   xdg_desktop_database_update
-}

diff --git a/media-gfx/cropgui/cropgui-0.6.ebuild 
b/media-gfx/cropgui/cropgui-0.6.ebuild
deleted file mode 100644
index d0e7fdc45109..
--- a/media-gfx/cropgui/cropgui-0.6.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/

2022-01-31 Thread Hanno Böck
commit: e39bad9895f4d2148e40ab24a66658402744648a
Author: Hanno Böck  gentoo  org>
AuthorDate: Mon Jan 31 20:16:33 2022 +
Commit: Hanno Böck  gentoo  org>
CommitDate: Mon Jan 31 20:16:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e39bad98

media-gfx/cropgui: Enable python 3.10

Signed-off-by: Hanno Böck  gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3

 media-gfx/cropgui/cropgui-0.6-r1.ebuild | 45 +
 1 file changed, 45 insertions(+)

diff --git a/media-gfx/cropgui/cropgui-0.6-r1.ebuild 
b/media-gfx/cropgui/cropgui-0.6-r1.ebuild
new file mode 100644
index ..c0f740961d3c
--- /dev/null
+++ b/media-gfx/cropgui/cropgui-0.6-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+inherit eutils python-r1 desktop xdg-utils
+
+DESCRIPTION="GUI for lossless cropping of jpeg images"
+HOMEPAGE="https://emergent.unpythonic.net/01248401946;
+SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${PYTHON_DEPS}
+   dev-python/pillow[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]"
+
+install_cropgui_wrapper() {
+   python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
+   make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
+   python_newexe "${ED}/usr/bin/${PN}.tmp" "${PN}"
+   rm "${ED}/usr/bin/${PN}.tmp" || die
+}
+
+src_install() {
+   python_moduleinto "${PN}"
+   python_foreach_impl install_cropgui_wrapper
+
+   domenu "${PN}.desktop"
+   doicon "${PN}.png"
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/

2021-12-28 Thread Hanno Böck
commit: 32ad4a993f771e9057ef5055f2ab189d57007ebd
Author: Hanno Böck  gentoo  org>
AuthorDate: Tue Dec 28 08:40:19 2021 +
Commit: Hanno Böck  gentoo  org>
CommitDate: Tue Dec 28 08:40:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32ad4a99

media-gfx/cropgui: Version bump

Signed-off-by: Hanno Böck  gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3

 media-gfx/cropgui/Manifest   |  1 +
 media-gfx/cropgui/cropgui-0.6.ebuild | 45 
 2 files changed, 46 insertions(+)

diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest
index d5be785ed8e8..9b9f33155a0b 100644
--- a/media-gfx/cropgui/Manifest
+++ b/media-gfx/cropgui/Manifest
@@ -1,2 +1,3 @@
 DIST cropgui-0.4.1.tar.gz 852958 BLAKE2B 
dcc6ba775e49af9a9fe1054fe5246e87e044f47cb7ca20712e5048dd1fa0fda35ee90c38cf733540913d0220eb58ab0a6dcfe93c7b02ebb9e022529b8add6c1c
 SHA512 
85b0c2c57faecdd7db15e417234f2ea50fc5edbdcacaedcfc53cda68c3a070f4ba0201bff9afbaa3de7c51552309df1ac3e87586b4021e68bbb255a2545d92da
 DIST cropgui-0.5.tar.gz 853934 BLAKE2B 
ac7cf32495e3ac728223994f79252fd98a0a5cf7da79a9c6796ce3d7b213c797b16250be5d23a1bc6bed492f142a95411d6cbd42fe34242016c4e0181bfd90c4
 SHA512 
2babea9ea6089c74637c9023ea08c2ae4f666fbf44bb73d7a301de6fee6848e65a86fab312e765f7bd05e8e03bf3e92942d718ea84a950412385a8e0b6aa0630
+DIST cropgui-0.6.tar.gz 855329 BLAKE2B 
d54098cdf8d8a0eb863ba7cf13d798db8102e147c30d64d246fc9955c4ee5aead253273fd66f0f2cd2d5aaf7abd10cfed01936c08daccdd92e342a56923bd95b
 SHA512 
dff9b1ea832c657c4407aea7ddeac880faaa4647bfe51ed43f9c1658f848cf9b6f9608451dcc006fe735012b52d318ebe5b59a31dc293cfabfb5ec5772612b68

diff --git a/media-gfx/cropgui/cropgui-0.6.ebuild 
b/media-gfx/cropgui/cropgui-0.6.ebuild
new file mode 100644
index ..d0e7fdc45109
--- /dev/null
+++ b/media-gfx/cropgui/cropgui-0.6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+inherit eutils python-r1 desktop xdg-utils
+
+DESCRIPTION="GUI for lossless cropping of jpeg images"
+HOMEPAGE="https://emergent.unpythonic.net/01248401946;
+SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${PYTHON_DEPS}
+   dev-python/pillow[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]"
+
+install_cropgui_wrapper() {
+   python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
+   make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
+   python_newexe "${ED}/usr/bin/${PN}.tmp" "${PN}"
+   rm "${ED}/usr/bin/${PN}.tmp" || die
+}
+
+src_install() {
+   python_moduleinto "${PN}"
+   python_foreach_impl install_cropgui_wrapper
+
+   domenu "${PN}.desktop"
+   doicon "${PN}.png"
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/

2020-09-07 Thread Hanno Böck
commit: 3b56374fd8f551dc7234b3b91495b4df2ed6daf7
Author: Hanno Böck  gentoo  org>
AuthorDate: Mon Sep  7 06:49:01 2020 +
Commit: Hanno Böck  gentoo  org>
CommitDate: Mon Sep  7 06:49:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b56374f

media-gfx/cropgui: Version bump and Python 3.9 support

Signed-off-by: Hanno Böck  gentoo.org>
Package-Manager: Portage-3.0.5, Repoman-3.0.1

 media-gfx/cropgui/Manifest   |  1 +
 media-gfx/cropgui/cropgui-0.5.ebuild | 45 
 2 files changed, 46 insertions(+)

diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest
index 3363c1a7d37..d5be785ed8e 100644
--- a/media-gfx/cropgui/Manifest
+++ b/media-gfx/cropgui/Manifest
@@ -1 +1,2 @@
 DIST cropgui-0.4.1.tar.gz 852958 BLAKE2B 
dcc6ba775e49af9a9fe1054fe5246e87e044f47cb7ca20712e5048dd1fa0fda35ee90c38cf733540913d0220eb58ab0a6dcfe93c7b02ebb9e022529b8add6c1c
 SHA512 
85b0c2c57faecdd7db15e417234f2ea50fc5edbdcacaedcfc53cda68c3a070f4ba0201bff9afbaa3de7c51552309df1ac3e87586b4021e68bbb255a2545d92da
+DIST cropgui-0.5.tar.gz 853934 BLAKE2B 
ac7cf32495e3ac728223994f79252fd98a0a5cf7da79a9c6796ce3d7b213c797b16250be5d23a1bc6bed492f142a95411d6cbd42fe34242016c4e0181bfd90c4
 SHA512 
2babea9ea6089c74637c9023ea08c2ae4f666fbf44bb73d7a301de6fee6848e65a86fab312e765f7bd05e8e03bf3e92942d718ea84a950412385a8e0b6aa0630

diff --git a/media-gfx/cropgui/cropgui-0.5.ebuild 
b/media-gfx/cropgui/cropgui-0.5.ebuild
new file mode 100644
index 000..9f412bfb5f0
--- /dev/null
+++ b/media-gfx/cropgui/cropgui-0.5.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+inherit eutils python-r1 desktop xdg-utils
+
+DESCRIPTION="GUI for lossless cropping of jpeg images"
+HOMEPAGE="https://emergent.unpythonic.net/01248401946;
+SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${PYTHON_DEPS}
+   dev-python/pillow[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]"
+
+install_cropgui_wrapper() {
+   python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
+   make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
+   python_newexe "${ED}/usr/bin/${PN}.tmp" "${PN}"
+   rm "${ED}/usr/bin/${PN}.tmp" || die
+}
+
+src_install() {
+   python_moduleinto "${PN}"
+   python_foreach_impl install_cropgui_wrapper
+
+   domenu "${PN}.desktop"
+   doicon "${PN}.png"
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/

2020-03-23 Thread Hanno Böck
commit: b3360574b336c1e20185c43441170d170d59e877
Author: Hanno Böck  gentoo  org>
AuthorDate: Mon Mar 23 06:39:27 2020 +
Commit: Hanno Böck  gentoo  org>
CommitDate: Mon Mar 23 06:39:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3360574

media-gfx/cropgui: Re-add cropgui.

This version is python 3 compatible.

Bug: https://bugs.gentoo.org/708098
Signed-off-by: Hanno Böck  gentoo.org>
Package-Manager: Portage-2.3.94, Repoman-2.3.21

 media-gfx/cropgui/Manifest |  1 +
 media-gfx/cropgui/cropgui-0.4.1.ebuild | 45 ++
 media-gfx/cropgui/metadata.xml | 11 +
 3 files changed, 57 insertions(+)

diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest
new file mode 100644
index 000..3363c1a7d37
--- /dev/null
+++ b/media-gfx/cropgui/Manifest
@@ -0,0 +1 @@
+DIST cropgui-0.4.1.tar.gz 852958 BLAKE2B 
dcc6ba775e49af9a9fe1054fe5246e87e044f47cb7ca20712e5048dd1fa0fda35ee90c38cf733540913d0220eb58ab0a6dcfe93c7b02ebb9e022529b8add6c1c
 SHA512 
85b0c2c57faecdd7db15e417234f2ea50fc5edbdcacaedcfc53cda68c3a070f4ba0201bff9afbaa3de7c51552309df1ac3e87586b4021e68bbb255a2545d92da

diff --git a/media-gfx/cropgui/cropgui-0.4.1.ebuild 
b/media-gfx/cropgui/cropgui-0.4.1.ebuild
new file mode 100644
index 000..867b72d6161
--- /dev/null
+++ b/media-gfx/cropgui/cropgui-0.4.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit eutils python-r1 desktop xdg-utils
+
+DESCRIPTION="GUI for lossless cropping of jpeg images"
+HOMEPAGE="https://emergent.unpythonic.net/01248401946;
+SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${PYTHON_DEPS}
+   dev-python/pillow[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]"
+
+install_cropgui_wrapper() {
+   python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
+   make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
+   python_newexe "${ED}/usr/bin/${PN}.tmp" "${PN}"
+   rm "${ED}/usr/bin/${PN}.tmp" || die
+}
+
+src_install() {
+   python_moduleinto "${PN}"
+   python_foreach_impl install_cropgui_wrapper
+
+   domenu "${PN}.desktop"
+   doicon "${PN}.png"
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+}

diff --git a/media-gfx/cropgui/metadata.xml b/media-gfx/cropgui/metadata.xml
new file mode 100644
index 000..27aa4f80ba4
--- /dev/null
+++ b/media-gfx/cropgui/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   ha...@gentoo.org
+   Hanno Böck
+   
+   
+   jepler/cropgui
+   
+



[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/files/, media-gfx/cropgui/, profiles/

2020-03-22 Thread Michał Górny
commit: c5bb261dd6dbbfaae42c7a0b413a40dbe0bb79c4
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar 22 06:11:14 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 22 06:11:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5bb261d

media-gfx/cropgui: Remove last-rited pkg

Closes: https://bugs.gentoo.org/708098
Signed-off-by: Michał Górny  gentoo.org>

 media-gfx/cropgui/Manifest|  2 -
 media-gfx/cropgui/cropgui-0.2-r1.ebuild   | 53 ---
 media-gfx/cropgui/cropgui-0.3.ebuild  | 49 -
 media-gfx/cropgui/cropgui-.ebuild | 39 -
 media-gfx/cropgui/files/cropgui-0.2-PIL.patch | 26 ---
 media-gfx/cropgui/files/cropgui-0.2-tobytes.patch | 40 -
 media-gfx/cropgui/metadata.xml| 11 -
 profiles/package.mask |  6 ---
 8 files changed, 226 deletions(-)

diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest
deleted file mode 100644
index 9985e7d45ed..000
--- a/media-gfx/cropgui/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST cropgui-0.2.tar.gz 842734 BLAKE2B 
4a09fef84634cc07d81580f9652826dd4e388c27d9db33fb63e8f7c9ac2341cb532b81894fcab624df2495865af6f6580b03c871ed7d138bf5c7d2fc02386a7b
 SHA512 
d6a9feea8c5de57455d0f7247465108d5a931f773f4df0c91629400bcc2c958c76559a84b6cde45709bcc8936ff7f5e2b3553897a14fbec14a9f032065ce83ba
-DIST cropgui-0.3.tar.gz 851911 BLAKE2B 
57e8a013f1d0e9741e40657fcdd15c029a9cfd193d212389c4a98eb4520c64d7cb8d7d3adca9c727c2a7415ca8eaec8c7b3e621088e2d55747e60a1ab65306dd
 SHA512 
ec8c15d25dd0eac1979a7cc20806cbf412cac9e5279538db0bf27a7c0ec98fc272650bb9f3d798408a96b6c49cd733e3df035f74b3bc6ef79d853c1a47a944ff

diff --git a/media-gfx/cropgui/cropgui-0.2-r1.ebuild 
b/media-gfx/cropgui/cropgui-0.2-r1.ebuild
deleted file mode 100644
index 4843bea1921..000
--- a/media-gfx/cropgui/cropgui-0.2-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-inherit eutils python-r1
-
-DESCRIPTION="GUI for lossless cropping of jpeg images"
-HOMEPAGE="http://emergent.unpythonic.net/01248401946;
-SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${PYTHON_DEPS}
-   dev-python/pillow[${PYTHON_USEDEP}]
-   dev-python/pygobject:2[${PYTHON_USEDEP}]
-   dev-python/pygtk:2[${PYTHON_USEDEP}]
-"
-
-src_prepare() {
-   sed -i  -e '/Encoding/d' \
-   -e '/Version/d' \
-   -e '/MimeType/s/$/&;/' \
-   -e '/Categories/s/Application;//' \
-   cropgui.desktop || die 'sed on cropgui.desktop failed'
-   # bug 471530
-   eapply "${FILESDIR}/${P}-PIL.patch"
-   # bug 616708
-   eapply "${FILESDIR}/${P}-tobytes.patch"
-
-   eapply_user
-}
-
-install_cropgui_wrapper() {
-   python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
-   make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
-   python_newexe "${ED%/}/usr/bin/${PN}.tmp" "${PN}"
-   rm "${ED%/}/usr/bin/${PN}.tmp" || die
-}
-
-src_install() {
-   python_moduleinto "${PN}"
-   python_foreach_impl install_cropgui_wrapper
-
-   domenu "${PN}.desktop"
-   doicon "${PN}.png"
-}

diff --git a/media-gfx/cropgui/cropgui-0.3.ebuild 
b/media-gfx/cropgui/cropgui-0.3.ebuild
deleted file mode 100644
index e5563189844..000
--- a/media-gfx/cropgui/cropgui-0.3.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-inherit eutils python-r1
-
-DESCRIPTION="GUI for lossless cropping of jpeg images"
-HOMEPAGE="http://emergent.unpythonic.net/01248401946;
-SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${PYTHON_DEPS}
-   dev-python/pillow[${PYTHON_USEDEP}]
-   dev-python/pygobject:2[${PYTHON_USEDEP}]
-   dev-python/pygtk:2[${PYTHON_USEDEP}]
-"
-
-src_prepare() {
-   sed -i  -e '/Encoding/d' \
-   -e '/Version/d' \
-   -e '/MimeType/s/$/&;/' \
-   -e '/Categories/s/Application;//' \
-   cropgui.desktop || die 'sed on cropgui.desktop failed'
-
-   eapply_user
-}
-
-install_cropgui_wrapper() {
-   python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
-   make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
-   python_newexe "${ED%/}/usr/bin/${PN}.tmp" "${PN}"
-   rm 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/files/

2019-03-03 Thread Aaron Bauman
commit: 96f6a84db87177204e9f30fc2a18c221921206b8
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Mar  1 17:33:12 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Mar  4 03:13:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96f6a84d

media-gfx/cropgui: remove unused patch

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11194
Signed-off-by: Aaron Bauman  gentoo.org>

 media-gfx/cropgui/files/cropgui-0.1.1-PIL.patch | 29 -
 1 file changed, 29 deletions(-)

diff --git a/media-gfx/cropgui/files/cropgui-0.1.1-PIL.patch 
b/media-gfx/cropgui/files/cropgui-0.1.1-PIL.patch
deleted file mode 100644
index 88f7ffbfed8..000
--- a/media-gfx/cropgui/files/cropgui-0.1.1-PIL.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Только в cropgui: cropgui-0.1.1-PIL.patch
-diff -ru cropgui.orig/cropgui_common.py cropgui/cropgui_common.py
 cropgui.orig/cropgui_common.py 2009-07-24 06:15:12.0 +0400
-+++ cropgui/cropgui_common.py  2013-05-28 21:48:24.0 +0400
-@@ -13,9 +13,9 @@
- #You should have received a copy of the GNU General Public License
- #along with this program; if not, write to the Free Software
- #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
--import Image
--import ImageFilter
--import ImageDraw
-+from PIL import Image
-+from PIL import ImageFilter
-+from PIL import ImageDraw
- import subprocess
- import threading
- import Queue
-diff -ru cropgui.orig/filechooser.py cropgui/filechooser.py
 cropgui.orig/filechooser.py2009-07-24 06:15:12.0 +0400
-+++ cropgui/filechooser.py 2013-05-28 21:50:16.0 +0400
-@@ -8,7 +8,7 @@
- import gobject
- 
- import os
--import Image
-+from PIL import Image
- 
- HIGH_WATER, LOW_WATER = 25, 5
- image_cache = {}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/

2018-12-09 Thread Mikle Kolyada
commit: f57ea76c2a978f351c8bc8f9db71ee739fd88058
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Dec  9 16:56:42 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Dec  9 16:57:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f57ea76c

media-gfx/cropgui: Drop old

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-gfx/cropgui/Manifest|  1 -
 media-gfx/cropgui/cropgui-0.1.1-r3.ebuild | 52 ---
 2 files changed, 53 deletions(-)

diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest
index 56679a5d223..9985e7d45ed 100644
--- a/media-gfx/cropgui/Manifest
+++ b/media-gfx/cropgui/Manifest
@@ -1,3 +1,2 @@
 DIST cropgui-0.2.tar.gz 842734 BLAKE2B 
4a09fef84634cc07d81580f9652826dd4e388c27d9db33fb63e8f7c9ac2341cb532b81894fcab624df2495865af6f6580b03c871ed7d138bf5c7d2fc02386a7b
 SHA512 
d6a9feea8c5de57455d0f7247465108d5a931f773f4df0c91629400bcc2c958c76559a84b6cde45709bcc8936ff7f5e2b3553897a14fbec14a9f032065ce83ba
 DIST cropgui-0.3.tar.gz 851911 BLAKE2B 
57e8a013f1d0e9741e40657fcdd15c029a9cfd193d212389c4a98eb4520c64d7cb8d7d3adca9c727c2a7415ca8eaec8c7b3e621088e2d55747e60a1ab65306dd
 SHA512 
ec8c15d25dd0eac1979a7cc20806cbf412cac9e5279538db0bf27a7c0ec98fc272650bb9f3d798408a96b6c49cd733e3df035f74b3bc6ef79d853c1a47a944ff
-DIST cropgui_0.1.1.tar.gz 13142 BLAKE2B 
0120be7b61687b5ab930fd7290b09527648ca92adba47a7a1c6a0cadb2d81c7390670ad8640c7183f7e75ca9c9d77551d20eea81d005dce6f33d231367f623a2
 SHA512 
abfe8dfd46a316e970b0355f6b05e2d2a4a54243e201dfc8434ee09f31c8715471dd1f00bd0c6cda646406e6398e5b43da3269bf74d1f2d9d436d5931d2b968f

diff --git a/media-gfx/cropgui/cropgui-0.1.1-r3.ebuild 
b/media-gfx/cropgui/cropgui-0.1.1-r3.ebuild
deleted file mode 100644
index 5cd92de32b5..000
--- a/media-gfx/cropgui/cropgui-0.1.1-r3.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PYTHON_COMPAT=( python2_7 )
-inherit eutils python-r1
-
-DESCRIPTION="GUI for lossless cropping of jpeg images"
-HOMEPAGE="http://emergent.unpythonic.net/01248401946;
-SRC_URI="http://media.unpythonic.net/emergent-files/01248401946/${PN}_${PV}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${PYTHON_DEPS}
-   dev-python/pillow[${PYTHON_USEDEP}]
-   dev-python/pygobject:2[${PYTHON_USEDEP}]
-   dev-python/pygtk:2[${PYTHON_USEDEP}]
-"
-
-S="${WORKDIR}/${PN}"
-
-src_prepare() {
-   sed -i  -e '/Encoding/d' \
-   -e '/Version/d' \
-   -e '/MimeType/s/$/&;/' \
-   -e '/Categories/s/Application;//' \
-   cropgui.desktop || die 'sed on cropgui.desktop failed'
-   # bug 471530
-   epatch "${FILESDIR}/${P}-PIL.patch"
-
-   epatch_user
-}
-
-install_cropgui_wrapper() {
-   python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
-   make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
-   python_newexe "${ED%/}/usr/bin/${PN}.tmp" "${PN}"
-   rm "${ED%/}/usr/bin/${PN}.tmp" || die
-}
-
-src_install() {
-   python_moduleinto "${PN}"
-   python_foreach_impl install_cropgui_wrapper
-
-   domenu "${PN}.desktop"
-   doicon "${PN}.png"
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/

2018-12-09 Thread Mikle Kolyada
commit: f39d20066604f2b5200dfc214826197bcde5620e
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Dec  9 16:56:14 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Dec  9 16:57:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f39d2006

media-gfx/cropgui: mark stable

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-gfx/cropgui/cropgui-0.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/cropgui/cropgui-0.2-r1.ebuild 
b/media-gfx/cropgui/cropgui-0.2-r1.ebuild
index 89341edb6d1..4843bea1921 100644
--- a/media-gfx/cropgui/cropgui-0.2-r1.ebuild
+++ b/media-gfx/cropgui/cropgui-0.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/

2018-12-07 Thread Mikle Kolyada
commit: 633effbc89aac4c7793786c9e0de7e0612beb052
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Dec  7 12:33:21 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Dec  7 12:33:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=633effbc

media-gfx/cropgui: remove needless patches

Closes: https://bugs.gentoo.org/672674
Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-gfx/cropgui/cropgui-0.3.ebuild | 4 
 1 file changed, 4 deletions(-)

diff --git a/media-gfx/cropgui/cropgui-0.3.ebuild 
b/media-gfx/cropgui/cropgui-0.3.ebuild
index 8f2b49b8cc1..e5563189844 100644
--- a/media-gfx/cropgui/cropgui-0.3.ebuild
+++ b/media-gfx/cropgui/cropgui-0.3.ebuild
@@ -29,10 +29,6 @@ src_prepare() {
-e '/MimeType/s/$/&;/' \
-e '/Categories/s/Application;//' \
cropgui.desktop || die 'sed on cropgui.desktop failed'
-   # bug 471530
-   eapply "${FILESDIR}/${P}-PIL.patch"
-   # bug 616708
-   eapply "${FILESDIR}/${P}-tobytes.patch"
 
eapply_user
 }



[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/

2018-12-06 Thread Mikle Kolyada
commit: 58db73d850bb4ddd57b6b1058ad83b31846aa103
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Dec  6 15:19:34 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Dec  6 15:19:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58db73d8

media-gfx/cropgui: Version bump (v0.3)

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-gfx/cropgui/Manifest   |  1 +
 media-gfx/cropgui/cropgui-0.3.ebuild | 53 
 2 files changed, 54 insertions(+)

diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest
index 61028c0eac8..56679a5d223 100644
--- a/media-gfx/cropgui/Manifest
+++ b/media-gfx/cropgui/Manifest
@@ -1,2 +1,3 @@
 DIST cropgui-0.2.tar.gz 842734 BLAKE2B 
4a09fef84634cc07d81580f9652826dd4e388c27d9db33fb63e8f7c9ac2341cb532b81894fcab624df2495865af6f6580b03c871ed7d138bf5c7d2fc02386a7b
 SHA512 
d6a9feea8c5de57455d0f7247465108d5a931f773f4df0c91629400bcc2c958c76559a84b6cde45709bcc8936ff7f5e2b3553897a14fbec14a9f032065ce83ba
+DIST cropgui-0.3.tar.gz 851911 BLAKE2B 
57e8a013f1d0e9741e40657fcdd15c029a9cfd193d212389c4a98eb4520c64d7cb8d7d3adca9c727c2a7415ca8eaec8c7b3e621088e2d55747e60a1ab65306dd
 SHA512 
ec8c15d25dd0eac1979a7cc20806cbf412cac9e5279538db0bf27a7c0ec98fc272650bb9f3d798408a96b6c49cd733e3df035f74b3bc6ef79d853c1a47a944ff
 DIST cropgui_0.1.1.tar.gz 13142 BLAKE2B 
0120be7b61687b5ab930fd7290b09527648ca92adba47a7a1c6a0cadb2d81c7390670ad8640c7183f7e75ca9c9d77551d20eea81d005dce6f33d231367f623a2
 SHA512 
abfe8dfd46a316e970b0355f6b05e2d2a4a54243e201dfc8434ee09f31c8715471dd1f00bd0c6cda646406e6398e5b43da3269bf74d1f2d9d436d5931d2b968f

diff --git a/media-gfx/cropgui/cropgui-0.3.ebuild 
b/media-gfx/cropgui/cropgui-0.3.ebuild
new file mode 100644
index 000..8f2b49b8cc1
--- /dev/null
+++ b/media-gfx/cropgui/cropgui-0.3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit eutils python-r1
+
+DESCRIPTION="GUI for lossless cropping of jpeg images"
+HOMEPAGE="http://emergent.unpythonic.net/01248401946;
+SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${PYTHON_DEPS}
+   dev-python/pillow[${PYTHON_USEDEP}]
+   dev-python/pygobject:2[${PYTHON_USEDEP}]
+   dev-python/pygtk:2[${PYTHON_USEDEP}]
+"
+
+src_prepare() {
+   sed -i  -e '/Encoding/d' \
+   -e '/Version/d' \
+   -e '/MimeType/s/$/&;/' \
+   -e '/Categories/s/Application;//' \
+   cropgui.desktop || die 'sed on cropgui.desktop failed'
+   # bug 471530
+   eapply "${FILESDIR}/${P}-PIL.patch"
+   # bug 616708
+   eapply "${FILESDIR}/${P}-tobytes.patch"
+
+   eapply_user
+}
+
+install_cropgui_wrapper() {
+   python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
+   make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
+   python_newexe "${ED%/}/usr/bin/${PN}.tmp" "${PN}"
+   rm "${ED%/}/usr/bin/${PN}.tmp" || die
+}
+
+src_install() {
+   python_moduleinto "${PN}"
+   python_foreach_impl install_cropgui_wrapper
+
+   domenu "${PN}.desktop"
+   doicon "${PN}.png"
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/

2017-08-30 Thread Sergey Popov
commit: 75b1fe4f3eaf955fd4f70d0ab42c035ec4e1d674
Author: Sergey Popov  gentoo  org>
AuthorDate: Wed Aug 30 15:39:39 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Wed Aug 30 15:39:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75b1fe4f

media-gfx/cropgui: remove myself from maintainers

Package-Manager: Portage-2.3.7, Repoman-2.3.1

 media-gfx/cropgui/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/media-gfx/cropgui/metadata.xml b/media-gfx/cropgui/metadata.xml
index 258604607f6..0f64e749a72 100644
--- a/media-gfx/cropgui/metadata.xml
+++ b/media-gfx/cropgui/metadata.xml
@@ -5,10 +5,6 @@
zlog...@gentoo.org
Mikle Kolyada

-   
-   pinkb...@gentoo.org
-   Sergey Popov
-   

jepler/cropgui




[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/files/, media-gfx/cropgui/

2017-05-31 Thread Sergey Popov
commit: 9b50e2a36d6d2cc36c3b74054585128c32d2ba1d
Author: Sergey Popov  gentoo  org>
AuthorDate: Wed May 31 06:38:36 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Wed May 31 06:42:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b50e2a3

media-gfx/cropgui: revision bump

Backported fix: use tobytes() instead of deprecated tostring()
Drop old revision

Reported-by: Massimo Burcheri  gmx.de>
Gentoo-Bug: 616708

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 .../{cropgui-0.2.ebuild => cropgui-0.2-r1.ebuild}  |  4 ++-
 media-gfx/cropgui/files/cropgui-0.2-tobytes.patch  | 40 ++
 2 files changed, 43 insertions(+), 1 deletion(-)

diff --git a/media-gfx/cropgui/cropgui-0.2.ebuild 
b/media-gfx/cropgui/cropgui-0.2-r1.ebuild
similarity index 92%
rename from media-gfx/cropgui/cropgui-0.2.ebuild
rename to media-gfx/cropgui/cropgui-0.2-r1.ebuild
index 5518df4d23d..89341edb6d1 100644
--- a/media-gfx/cropgui/cropgui-0.2.ebuild
+++ b/media-gfx/cropgui/cropgui-0.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -31,6 +31,8 @@ src_prepare() {
cropgui.desktop || die 'sed on cropgui.desktop failed'
# bug 471530
eapply "${FILESDIR}/${P}-PIL.patch"
+   # bug 616708
+   eapply "${FILESDIR}/${P}-tobytes.patch"
 
eapply_user
 }

diff --git a/media-gfx/cropgui/files/cropgui-0.2-tobytes.patch 
b/media-gfx/cropgui/files/cropgui-0.2-tobytes.patch
new file mode 100644
index 000..18405143bad
--- /dev/null
+++ b/media-gfx/cropgui/files/cropgui-0.2-tobytes.patch
@@ -0,0 +1,40 @@
+commit b664d1fefd7140ec4ec37b3b90a9007839029d8a
+Author: Tristan Stenner 
+Date:   Fri Oct 9 08:40:04 2015 +0200
+
+Try tostring(), fall back to tobytes()
+
+diff --git a/cropgtk.py b/cropgtk.py
+index c1156b0..135b6a8 100755
+--- a/cropgtk.py
 b/cropgtk.py
+@@ -170,7 +170,11 @@ class DragManager(DragManagerBase):
+ rendered = self.rendered()
+ rendered = rendered.convert('RGB')
+ i.set_size_request(*rendered.size)
+-pixbuf = gtk.gdk.pixbuf_new_from_data(rendered.tostring(),
++try:
++image_data = rendered.tostring()
++except:
++image_data = rendered.tobytes()
++pixbuf = gtk.gdk.pixbuf_new_from_data(image_data,
+ gtk.gdk.COLORSPACE_RGB, 0, 8,
+ rendered.size[0], rendered.size[1], 3*rendered.size[0])
+ 
+diff --git a/filechooser.py b/filechooser.py
+index f2f8122..a039d74 100644
+--- a/filechooser.py
 b/filechooser.py
+@@ -49,7 +49,11 @@ def update_preview_cb(file_chooser, preview):
+ i.thumbnail((PREVIEW_SIZE, PREVIEW_SIZE), Image.ANTIALIAS)
+ i = i.convert('RGB')
+ i = apply_rotation(r, i)
+-pixbuf = gtk.gdk.pixbuf_new_from_data(i.tostring(), 
++try:
++image_data = i.tostring()
++except:
++image_data = i.tobytes()
++pixbuf = gtk.gdk.pixbuf_new_from_data(image_data, 
+ gtk.gdk.COLORSPACE_RGB, 0, 8, i.size[0], i.size[1],
+ i.size[0]*3)
+ preview.set_from_pixbuf(pixbuf)



[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/

2017-05-31 Thread Sergey Popov
commit: 9097d821d8a0fec37f7941215756b28d40ff5160
Author: Sergey Popov  gentoo  org>
AuthorDate: Wed May 31 06:42:00 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Wed May 31 06:42:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9097d821

media-gfx/cropgui: fix live ebuild

Remove redundant desktop file fixes,
they are already in upstream for a long time

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 media-gfx/cropgui/cropgui-.ebuild | 12 +---
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/media-gfx/cropgui/cropgui-.ebuild 
b/media-gfx/cropgui/cropgui-.ebuild
index dcdfb3cc515..1d83737474c 100644
--- a/media-gfx/cropgui/cropgui-.ebuild
+++ b/media-gfx/cropgui/cropgui-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -23,16 +23,6 @@ RDEPEND="${PYTHON_DEPS}
dev-python/pygtk:2[${PYTHON_USEDEP}]
 "
 
-src_prepare() {
-   sed -i  -e '/Encoding/d' \
-   -e '/Version/d' \
-   -e '/MimeType/s/$/&;/' \
-   -e '/Categories/s/Application;//' \
-   cropgui.desktop || die 'sed on cropgui.desktop failed'
-
-   eapply_user
-}
-
 install_cropgui_wrapper() {
python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"



[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/

2016-05-14 Thread Michał Górny
commit: 574a64e1fdab9e984854be5e05e653505254d019
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 14 07:08:38 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 14 07:19:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=574a64e1

media-gfx/cropgui: python_moduleroot -> python_moduleinto

 media-gfx/cropgui/cropgui-0.1.1-r3.ebuild | 4 ++--
 media-gfx/cropgui/cropgui-0.2.ebuild  | 2 +-
 media-gfx/cropgui/cropgui-.ebuild | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-gfx/cropgui/cropgui-0.1.1-r3.ebuild 
b/media-gfx/cropgui/cropgui-0.1.1-r3.ebuild
index d942d52..eecb991 100644
--- a/media-gfx/cropgui/cropgui-0.1.1-r3.ebuild
+++ b/media-gfx/cropgui/cropgui-0.1.1-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -45,7 +45,7 @@ install_cropgui_wrapper() {
 }
 
 src_install() {
-   local python_moduleroot="${PN}"
+   python_moduleinto "${PN}"
python_foreach_impl install_cropgui_wrapper
 
domenu "${PN}.desktop"

diff --git a/media-gfx/cropgui/cropgui-0.2.ebuild 
b/media-gfx/cropgui/cropgui-0.2.ebuild
index 912767d..7197fbb 100644
--- a/media-gfx/cropgui/cropgui-0.2.ebuild
+++ b/media-gfx/cropgui/cropgui-0.2.ebuild
@@ -44,7 +44,7 @@ install_cropgui_wrapper() {
 }
 
 src_install() {
-   local python_moduleroot="${PN}"
+   python_moduleinto "${PN}"
python_foreach_impl install_cropgui_wrapper
 
domenu "${PN}.desktop"

diff --git a/media-gfx/cropgui/cropgui-.ebuild 
b/media-gfx/cropgui/cropgui-.ebuild
index ac8de05..7294532 100644
--- a/media-gfx/cropgui/cropgui-.ebuild
+++ b/media-gfx/cropgui/cropgui-.ebuild
@@ -42,7 +42,7 @@ install_cropgui_wrapper() {
 }
 
 src_install() {
-   local python_moduleroot="${PN}"
+   python_moduleinto "${PN}"
python_foreach_impl install_cropgui_wrapper
 
domenu "${PN}.desktop"



[gentoo-commits] repo/gentoo:master commit in: media-gfx/cropgui/files/, media-gfx/cropgui/

2016-01-28 Thread Sergey Popov
commit: 77ac2746662fcb33b9fd9f1dbe8a2b3c4d103316
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Jan 28 10:29:59 2016 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Jan 28 10:30:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77ac2746

media-gfx/cropgui: version bump

Gentoo-Bug: 569654

Package-Manager: portage-2.2.26

 media-gfx/cropgui/Manifest|  1 +
 media-gfx/cropgui/cropgui-0.2.ebuild  | 52 +++
 media-gfx/cropgui/cropgui-.ebuild | 50 ++
 media-gfx/cropgui/files/cropgui-0.2-PIL.patch | 26 ++
 4 files changed, 129 insertions(+)

diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest
index 1689149..5ec16d3 100644
--- a/media-gfx/cropgui/Manifest
+++ b/media-gfx/cropgui/Manifest
@@ -1 +1,2 @@
+DIST cropgui-0.2.tar.gz 842734 SHA256 
9b0fcbc7a8f656979ad8ffcd09b08cec9f8ad20cd617402bae0b64526b5302fc SHA512 
d6a9feea8c5de57455d0f7247465108d5a931f773f4df0c91629400bcc2c958c76559a84b6cde45709bcc8936ff7f5e2b3553897a14fbec14a9f032065ce83ba
 WHIRLPOOL 
55e54c3adbf8992acb78c27f159874797cb4d54538b5c33b5350d0781ad1204d72e8db8c3d734922fe2893ea5d57b5a16ee2f7b8dad4db71f469462ecadfd1b1
 DIST cropgui_0.1.1.tar.gz 13142 SHA256 
d2bab11c2bafdbcbe9c8cac7827a7e25b909b2962cef29e1ce7181ccb2834a75 SHA512 
abfe8dfd46a316e970b0355f6b05e2d2a4a54243e201dfc8434ee09f31c8715471dd1f00bd0c6cda646406e6398e5b43da3269bf74d1f2d9d436d5931d2b968f
 WHIRLPOOL 
1e4f9fca887d2d988c6d944f85cae6125472ea08118e84b5601123e2af603b16d49ed54385f9552f1cd819f447b2ceace742ee4fd1e95f5d0461f4c173a1ef7e

diff --git a/media-gfx/cropgui/cropgui-0.2.ebuild 
b/media-gfx/cropgui/cropgui-0.2.ebuild
new file mode 100644
index 000..912767d
--- /dev/null
+++ b/media-gfx/cropgui/cropgui-0.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit eutils python-r1
+
+DESCRIPTION="GUI for lossless cropping of jpeg images"
+HOMEPAGE="http://emergent.unpythonic.net/01248401946;
+SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${PYTHON_DEPS}
+   dev-python/pillow[${PYTHON_USEDEP}]
+   dev-python/pygobject:2[${PYTHON_USEDEP}]
+   dev-python/pygtk:2[${PYTHON_USEDEP}]
+"
+
+src_prepare() {
+   sed -i  -e '/Encoding/d' \
+   -e '/Version/d' \
+   -e '/MimeType/s/$/&;/' \
+   -e '/Categories/s/Application;//' \
+   cropgui.desktop || die 'sed on cropgui.desktop failed'
+   # bug 471530
+   eapply "${FILESDIR}/${P}-PIL.patch"
+
+   eapply_user
+}
+
+install_cropgui_wrapper() {
+   python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
+   make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
+   python_newexe "${ED%/}/usr/bin/${PN}.tmp" "${PN}"
+   rm "${ED%/}/usr/bin/${PN}.tmp" || die
+}
+
+src_install() {
+   local python_moduleroot="${PN}"
+   python_foreach_impl install_cropgui_wrapper
+
+   domenu "${PN}.desktop"
+   doicon "${PN}.png"
+}

diff --git a/media-gfx/cropgui/cropgui-.ebuild 
b/media-gfx/cropgui/cropgui-.ebuild
new file mode 100644
index 000..ac8de05
--- /dev/null
+++ b/media-gfx/cropgui/cropgui-.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+EGIT_REPO_URI="https://github.com/jepler/cropgui.git;
+PYTHON_COMPAT=( python2_7 )
+inherit eutils git-r3 python-r1
+
+DESCRIPTION="GUI for lossless cropping of jpeg images"
+HOMEPAGE="http://emergent.unpythonic.net/01248401946;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${PYTHON_DEPS}
+   dev-python/pillow[${PYTHON_USEDEP}]
+   dev-python/pygobject:2[${PYTHON_USEDEP}]
+   dev-python/pygtk:2[${PYTHON_USEDEP}]
+"
+
+src_prepare() {
+   sed -i  -e '/Encoding/d' \
+   -e '/Version/d' \
+   -e '/MimeType/s/$/&;/' \
+   -e '/Categories/s/Application;//' \
+   cropgui.desktop || die 'sed on cropgui.desktop failed'
+
+   eapply_user
+}
+
+install_cropgui_wrapper() {
+   python_domodule cropgtk.py cropgui_common.py filechooser.py 
cropgui.glade
+   make_wrapper "${PN}.tmp" "${PYTHON} 
$(python_get_sitedir)/${PN}/cropgtk.py"
+   python_newexe "${ED%/}/usr/bin/${PN}.tmp" "${PN}"
+   rm "${ED%/}/usr/bin/${PN}.tmp" || die
+}
+
+src_install() {
+   local python_moduleroot="${PN}"
+   python_foreach_impl install_cropgui_wrapper
+
+   domenu "${PN}.desktop"
+   doicon "${PN}.png"
+}

diff --git