diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-03-13 08:12:43 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-03-13 08:12:43 +0000 |
commit | a982f58d5fa078c6b7887b253757407936115d05 (patch) | |
tree | b993ca982e2349e8a7f8b363b090e81c81ceeaea /media-gfx/cropgui | |
parent | Add python_doexe() and python_newexe() to handle implementation-specific exec... (diff) | |
download | historical-a982f58d5fa078c6b7887b253757407936115d05.tar.gz historical-a982f58d5fa078c6b7887b253757407936115d05.tar.bz2 historical-a982f58d5fa078c6b7887b253757407936115d05.zip |
Use python_doexe() to make it non-dependant on Python wrapping implementation, bug #484422.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0xEFB4464E!
Diffstat (limited to 'media-gfx/cropgui')
-rw-r--r-- | media-gfx/cropgui/ChangeLog | 10 | ||||
-rw-r--r-- | media-gfx/cropgui/Manifest | 31 | ||||
-rw-r--r-- | media-gfx/cropgui/cropgui-0.1.1-r3.ebuild | 53 |
3 files changed, 77 insertions, 17 deletions
diff --git a/media-gfx/cropgui/ChangeLog b/media-gfx/cropgui/ChangeLog index c766b52e115a..7a6e7350b4fa 100644 --- a/media-gfx/cropgui/ChangeLog +++ b/media-gfx/cropgui/ChangeLog @@ -1,6 +1,12 @@ # 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.11 2013/10/30 19:25:27 mgorny Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/cropgui/ChangeLog,v 1.12 2014/03/13 08:12:37 mgorny Exp $ + +*cropgui-0.1.1-r3 (13 Mar 2014) + + 13 Mar 2014; Michał Górny <mgorny@gentoo.org> +cropgui-0.1.1-r3.ebuild: + Use python_doexe() to make it non-dependant on Python wrapping implementation, + bug #484422. 30 Oct 2013; Michał Górny <mgorny@gentoo.org> cropgui-0.1.1-r2.ebuild: Update the dep to use dev-lang/python-exec. diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest index 5471f001bd61..5fa637d2f623 100644 --- a/media-gfx/cropgui/Manifest +++ b/media-gfx/cropgui/Manifest @@ -4,24 +4,25 @@ 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-r2.ebuild 1429 SHA256 8c433a506f6d852b545f1e68d9784688de01e5f0e216a33f2de19be0df8cf3e5 SHA512 29179971b0e982cc7e67088593f6acd9ce629f20e40485952d2e4613a96d9d918a8c0e7612d5c08bb706efb3f8199b24cd0f8d2a29ce15970c72c5b7c776ed6e WHIRLPOOL 92577a5e81a4381a3eb6599d9454499d8925c620b689e61713adb05f02ee2a580db715fcda40c138fd81af8c25f97f6ee226ede8ab66c3c5060656f2b30b4c23 -MISC ChangeLog 1880 SHA256 a8a7008bd0bc435f4723bc69b2e2a23685824de11d8510f0d825c4bbeb56b911 SHA512 3dfa0bf406168cdeebd9399867cadae4efec49bfc6d2e1c314d9a8d6683055f6b2983e1db06060092514448f90f78705b0a18c01211c1bdee83601da8e1ed79e WHIRLPOOL 8633969573903db7af7044a253cb40ea041465e4f456f8fad5378fc2c31eb12ddef57d2b7b86f12712a11d5cc57fd71281c0d42db440000e9500f50207318dd0 +EBUILD cropgui-0.1.1-r3.ebuild 1436 SHA256 2c6490f6283f25edd9de482a7f7b7c2a2f4d512b92b70b3dad6e63113694f980 SHA512 932a4f614bddaeb4f51bf18167546afa861f8d6abdeb69c7ff52d2483262adc8a0383d38114b3d0240701bbb4bfa9cf4970fe5e49d802f3b8dc89209d9fb05b9 WHIRLPOOL 7dd66689dbce70f57672a7f286fe36bae1e2f7e73ddd5d30163f7ce5ccd9a07e12d778cd889934d69cbf4ce955135bdfea999acc86692040aa3477d6060199db +MISC ChangeLog 2086 SHA256 70911511de460143b857ff22878312ef58a3f137b497e97e5b2980d6cdc2df99 SHA512 727e7e3cd333eb78af1f70545efd74a9fd44d2ceaad8cbe7c5b7221582fbbafed19d25f52903bf78e72403c8af1353002ce398960271334b50b8d55208832f93 WHIRLPOOL 50832e700e9648f926f47543f5ed3889511c264b97a6d8fafa9e2070a20d9e0d8901d6192479c9e5b59db0b3422653ededb0fbc6c7646a7b37fc11f419b8dfa1 MISC metadata.xml 327 SHA256 9ce81471fc97a3518c41227e76f281105d88b6cab340fcea51999764d5203f37 SHA512 172dca345d1dcec9a911e3d99a062179ed3c1273fe4d2b7e88489d4a6248acf66475a70734fcd205b5011a628e392fa31ef2e984009116d12d858cd82952d069 WHIRLPOOL 9ec04acebcd4281f63b08acc4e67b99533363cbb858860ada0df43d971689eb9846dd6e39fb66f93342a8be6c22143d534a5bdf07957542dde35649b0910c3cf -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQJ8BAEBCABmBQJScV0+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +iQJ8BA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r7Nx +SYY/IZRLCSnTUyoMA3ds0KFxKVH1wABTwdePXqk1K1o5O6EITKNlbD5U/rTTRZl+ +Xluwx+twhAsY+qn2fajJb0j05hofWa9KiZ6rsTJSP2y0fGsQxAUg7l6+aDQeu//t +zJ8BUy+fPjMZNfkFYNPa1Jk91eUSDKmGq45OxWD3AB6t/ko6R6pOVKKISQX7G1/l +q01vF3ncAeKDC20YAeO0pszyF1yEwGd5TwSEfN2DtgVyM6uBElKI/PHz3CBl5fj0 +I9zwMV2NGk91cQJflBB6sqZMLCGP2yq3aKxWVBSxcBYZO4PyMZbw7YAkzIb4Kodr +8PLVzgfsQN8kKVB2ZljP3g29IE1aT9BzKjWJCgvt/H/wF9r0oOnuYYxVKzbhXLCM ++ng1vRFQPkl5RmTGa/TwOI7qGD8ml8F7GBMOzt8HbrjpWT7Tan1Z7B7lktpOR1nC +y2so4cqW2z+3x4HdZIUYG+UaSE6y8SGq/FuNPdEYJauys0TF1zbrNQEtq3/3JKYV +FeG5nWYkcA1heI9eM7ue +=CYWD -----END PGP SIGNATURE----- diff --git a/media-gfx/cropgui/cropgui-0.1.1-r3.ebuild b/media-gfx/cropgui/cropgui-0.1.1-r3.ebuild new file mode 100644 index 000000000000..3c976aa5602e --- /dev/null +++ b/media-gfx/cropgui/cropgui-0.1.1-r3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2014 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-r3.ebuild,v 1.1 2014/03/13 08:12:37 mgorny 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} + virtual/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}.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" +} |