summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-05-29 13:16:16 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-05-29 13:16:16 +0000
commit8081d5f46ab1e0e4f0413ad525b6622de7bae32b (patch)
tree2f293dbcbd503f71968dbaca526ea5f4686240a2
parentFix typo in ChangeLog (diff)
downloadhistorical-8081d5f46ab1e0e4f0413ad525b6622de7bae32b.tar.gz
historical-8081d5f46ab1e0e4f0413ad525b6622de7bae32b.tar.bz2
historical-8081d5f46ab1e0e4f0413ad525b6622de7bae32b.zip
Revision bump: EAPI 5, migrate to python-r1 eclass, add epatch_user
Package-Manager: portage-2.2.0_alpha177/cvs/Linux x86_64 Manifest-Sign-Key: 0x1F357D42
-rw-r--r--media-gfx/cropgui/ChangeLog7
-rw-r--r--media-gfx/cropgui/Manifest21
-rw-r--r--media-gfx/cropgui/cropgui-0.1.1-r2.ebuild52
3 files changed, 68 insertions, 12 deletions
diff --git a/media-gfx/cropgui/ChangeLog b/media-gfx/cropgui/ChangeLog
index 308edfed771c..126b705b12a4 100644
--- a/media-gfx/cropgui/ChangeLog
+++ b/media-gfx/cropgui/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/cropgui
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/ChangeLog,v 1.4 2013/05/28 20:00:46 qnikst Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/ChangeLog,v 1.5 2013/05/29 13:16:15 pinkbyte Exp $
+
+*cropgui-0.1.1-r2 (29 May 2013)
+
+ 29 May 2013; Sergey Popov <pinkbyte@gentoo.org> +cropgui-0.1.1-r2.ebuild:
+ Revision bump: EAPI 5, migrate to python-r1 eclass, add epatch_user
*cropgui-0.1.1-r1 (28 May 2013)
diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest
index 0550c1db8caf..2c2c8a1c8db3 100644
--- a/media-gfx/cropgui/Manifest
+++ b/media-gfx/cropgui/Manifest
@@ -4,19 +4,18 @@ Hash: SHA256
AUX cropgui-0.1.1-PIL.patch 994 SHA256 ea0359debc83fe5c9c316601409285e99b1e035e1ed6ad70cd721cf40c86f635 SHA512 5bbe9ff690f055c9257096ea457874f3f3b4838eb0bfa3134ce1ee468922ef15f6f8ac00344aba2f229e0ce81d3d55e9d22db97d06dfd15151ea491a19ff5414 WHIRLPOOL 8d612d85f2a3c8348e58ce037c380dabd94b438c3468eb29af274bcca373cf979fd74d8f628a79b5d1aa2fc3423ad980f4ab1e6c0d19f4ebfcd03cb65c1b5e86
DIST cropgui_0.1.1.tar.gz 13142 SHA256 d2bab11c2bafdbcbe9c8cac7827a7e25b909b2962cef29e1ce7181ccb2834a75 SHA512 abfe8dfd46a316e970b0355f6b05e2d2a4a54243e201dfc8434ee09f31c8715471dd1f00bd0c6cda646406e6398e5b43da3269bf74d1f2d9d436d5931d2b968f WHIRLPOOL 1e4f9fca887d2d988c6d944f85cae6125472ea08118e84b5601123e2af603b16d49ed54385f9552f1cd819f447b2ceace742ee4fd1e95f5d0461f4c173a1ef7e
EBUILD cropgui-0.1.1-r1.ebuild 1362 SHA256 e4d84b5798f09c054f37041e915e24b9bc32e88cf76e9e02c0273c6cb671b27a SHA512 c105ebb106dde6bd2e2a5a4a45409fd8c9e41b774f740355d79d814873e2b9eed01102a4b00f6aec6719a41fb9bb588a29c465c1acd0990c0419f9f14acb3e33 WHIRLPOOL 079e8f7f7ac194195d637311419ff5a4bb610eed6d5e991b143cbf4fc3385f27ccab715a08c258a7015a305c1f26289fc37eb4d6c9661c2ecf74ecd16a35ef32
+EBUILD cropgui-0.1.1-r2.ebuild 1387 SHA256 6c921ce9c5ce27bcbb2ff6854f6dc93cfa93edae883b72d71dec8d608a70197a SHA512 ee0cbdd5ad7bb9fdea71fe735c72e3327586d37d93f2fc59ff3c9baf4ecd8a08f3a501e11df77b30c09a2420d16cf5ab41137a50aa23eedc7b1010223e38fff9 WHIRLPOOL 4d49a68ca501a84b6dbdc5c61993aacc75b4da802b074c4e3a4e7834b81118c04a3308a965083ba722b90d25b05b88a6891cdc0df3bb8c0e05595a0b43d9be04
EBUILD cropgui-0.1.1.ebuild 1317 SHA256 1629b15c8f12aa6a5221045e201bef961f3506eee4228533fcf4a5549f07d0d8 SHA512 53f9521c48f8bb6dbff88f7ccf388404818c2c79e3e755b6cd02c2b99d6ddcbb2ef3db8d46924eebbd4821481817dcdb3551e3b1cd5e09130aab9fba8be585f9 WHIRLPOOL a2eabdec6c9a15918b15eef6347dce37b41faf28458852d2414d7552e025896fa7d7aac14265e845a92d27c5a4c29d565127914587a24aa317d3e3e1b9c0c0ba
-MISC ChangeLog 907 SHA256 7adab0cd6b80bcefbac15a1214b38d438c4095726c4bd10d3bd645790c2548ba SHA512 f03e0b4a848da84264c93b3ac473d8368e400a1dc884ec57a40a4a725bf8beb62c66baa2d1d24993c76bc92d661a6e2397e5112c365f3f9284bc5f0787c2b07e WHIRLPOOL a0603976bef045a62fb6eccb28ed9ba3eafcd2c6f7a86d5424b4d6c608659fda4f98285ab35d651be52efcb1372a7d917667e8f52601a6a4a7a2d293053c5026
+MISC ChangeLog 1089 SHA256 4d04ec232afef6a22189b94a5982c9887b98a0d477ef4bcb7c24b418fbf62cc2 SHA512 a483a527766a2de0e773b596e31c17421685e6ce7dae71c4dc578d465633c486f1b89546e6965463e85a1e576d215b6969dda33889a0f37d9d43df224cdee956 WHIRLPOOL c6bc909b7ac125ea40d555d90c8a868d8260ecf3c99a290978ce48c2dae9d1ff607437c4cec99cc14926b9cebf193472d843e445bf3d799229b0a32259c6149a
MISC metadata.xml 484 SHA256 4ae41dfff8744a8595b4d69e801e678a5473482be89dc6c725527398c1bc0541 SHA512 cfc6b57ebb2e7bc349f6fc8ff3c1e19db1ad6c96058ce017c7e2d4ba0d7297d7b6eb7fe4a9ed81335edbfac8655c15cbd03d268d865c70083f8cf50a15726c00 WHIRLPOOL 4c34d116e6240803e3f84cb840b04606de2e92d31d3febdfe00b0c7a7f54647766be601981f072462b7ca5a47a818ca1ccc189b589a906efd082a744c17f5cc7
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
-iQF8BAEBCABmBQJRpQz1XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwMTlGQTEwRTVCMUJCNjdFRDM5Qzg3RjdF
-QUQ1MEQ2NEQ4RDM1NzFBAAoJEOrVDWTY01caRLoH/24scusbVdaIOiFmUpYf8TH9
-Cfd0WiPpgJZP04m+uazao648YhA7d/FfonjlxFbjwJl3zhu1zLShDLiLtjs2Oqym
-QD/imWpEJlaZPh3YiQWrRqKgjAP/dY0yR3mfZFRWoh9jk/ZKUTP2Sbr0qLcSSzQl
-g8bsZgzM45ZP4nzgKVPJeCzj46K5mQmJ4wfp5xcYVzpEtk0ugrOwtvm0hSRT7Wdu
-IRPFaIQmMxrjH5+eatxmYY1ZHLrHO1rXH3SeBBHZgrumLSLAI13HlxiL4I2qg/dA
-mT0AoTUwvdqAq7U0lVA7Eg7pUziThMml7J3vzIVtnac55Aafc6UJUfNtsyJI3Yw=
-=l5wp
+iQEcBAEBCAAGBQJRpf99AAoJECo/aRed9267M4gIAK0mOH6OiGPemXmkEi9ZdNsV
+ZcRcoqoPxkZjj+XWJSUnBeDRhQLsy58pfmOH/6WAJUNJQH695qAJbbVsmCZJk48v
+qeb09u0LMiJE5FiGD34kyKch9MLGnsWozQ0ZN+D5eRmkvSLch6dJ2eqJL8/sFNZI
+FpicIrND1sUYaRRYXshNc+mkpydkV0g2g7ei3tLIhvBf9J6r5wisoI+T/7LM1vBE
+8r6T4OpYaHaFqsZx/I2Q0VsmrtbITn1HU5VNbgTxHZVfq4tR4bcW0vGViBPcxDsd
+FB8D48cHNIwO9HAY+bFxybqOttDAkcXoCvXDx/OSChQAbD6aqbx0JG3YM0YjN2k=
+=HC3m
-----END PGP SIGNATURE-----
diff --git a/media-gfx/cropgui/cropgui-0.1.1-r2.ebuild b/media-gfx/cropgui/cropgui-0.1.1-r2.ebuild
new file mode 100644
index 000000000000..efe3dfd8596d
--- /dev/null
+++ b/media-gfx/cropgui/cropgui-0.1.1-r2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/cropgui-0.1.1-r2.ebuild,v 1.1 2013/05/29 13:16:15 pinkbyte Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_{6,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/imaging[${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}-${EPYTHON}" "${PYTHON} $(python_get_sitedir)/${PN}/cropgtk.py"
+}
+
+src_install() {
+ local python_moduleroot="${PN}"
+ python_foreach_impl install_cropgui_wrapper
+ dosym python-exec /usr/bin/"${PN}"
+
+ domenu "${PN}.desktop"
+ doicon "${PN}.png"
+}