summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2011-12-05 08:49:15 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2011-12-05 08:49:15 +0000
commitdf9586e9b710a1337b9c2a132aa4324f5981eead (patch)
treeacaa40d2b44c7c604d0c0dc31f874f750043a852 /media-gfx/mypaint
parentchange HOMEPAGE (diff)
downloadhistorical-df9586e9b710a1337b9c2a132aa4324f5981eead.tar.gz
historical-df9586e9b710a1337b9c2a132aa4324f5981eead.tar.bz2
historical-df9586e9b710a1337b9c2a132aa4324f5981eead.zip
Revision bump, port to python.eclass
Package-Manager: portage-2.1.10.39/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/mypaint')
-rw-r--r--media-gfx/mypaint/ChangeLog8
-rw-r--r--media-gfx/mypaint/Manifest23
-rw-r--r--media-gfx/mypaint/mypaint-1.0.0-r1.ebuild64
3 files changed, 73 insertions, 22 deletions
diff --git a/media-gfx/mypaint/ChangeLog b/media-gfx/mypaint/ChangeLog
index fbefeb946c0b..c71e29a9fdfa 100644
--- a/media-gfx/mypaint/ChangeLog
+++ b/media-gfx/mypaint/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/mypaint
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/mypaint/ChangeLog,v 1.11 2011/12/04 21:19:59 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/mypaint/ChangeLog,v 1.12 2011/12/05 08:49:15 maksbotan Exp $
+
+*mypaint-1.0.0-r1 (05 Dec 2011)
+
+ 05 Dec 2011; Maxim Koltsov <maksbotan@gentoo.org> +mypaint-1.0.0-r1.ebuild:
+ Ported to python.eclass, dropped python dependecy, dropped scons dependency
+ (set by scons-utils.eclass)
04 Dec 2011; Markos Chandras <hwoarang@gentoo.org> mypaint-1.0.0.ebuild:
Add missing pkgconfig dependency. Bug #393165
diff --git a/media-gfx/mypaint/Manifest b/media-gfx/mypaint/Manifest
index 293511ab60d8..7c7490e9a69f 100644
--- a/media-gfx/mypaint/Manifest
+++ b/media-gfx/mypaint/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
-
AUX mypaint-0.9.0-gentoo.patch 923 RMD160 2523f872c2ecd85bc846df4e6dd3f7ed6f4cd6bf SHA1 d4dbd75c278d2e51c898303e6ebc02573cb9081c SHA256 1854bb028a28ed95b460ccae33a8f25afab2f0670a2adde5e4bdc5d0a49cce7c
AUX mypaint-0.9.1-gentoo.patch 923 RMD160 fcf6a1fc4d30b3395dc37422ab20767aa2e14405 SHA1 cbbcf3200f86f3400725d1fdc1ce5c187d8c4b66 SHA256 6fb6c5bd1278820c1a648dc406aa6574255060d16fb0656938fe9cc3d803b10c
DIST mypaint-0.9.0.tar.bz2 5540285 RMD160 07c83e5012400b9931a03bb750bf3f97da73bbd3 SHA1 6c733a1bc87e237be18389aefb26a034b1229d24 SHA256 d33ae8bd0cb502acac5bb8dd7b11c42322803f42d6f04d17c3abe0c053054225
@@ -8,23 +5,7 @@ DIST mypaint-0.9.1.tar.bz2 5542866 RMD160 16bd0492b567822b5ea4d6e3153e73436828a7
DIST mypaint-1.0.0.tar.bz2 36748957 RMD160 6d3ff0f5c16e18b006f6449e9591067bd29ed3c5 SHA1 5f9221304bb8becd642b00d94af947edf1e18844 SHA256 ced440ec0307e29bfe4f612604fe27ec9bfaea3f4f9c8019ffaa50ef12dc7131
EBUILD mypaint-0.9.0.ebuild 1267 RMD160 37c65c85bd92f0924b4a1a4c3b0080346d5e9a38 SHA1 16b7aa8a65d9bbe5d391f026317005d1a1688e7a SHA256 583285c68d2fefb991d96ab8f005fbd55f60f12ad3256d8aa06e6630393e4344
EBUILD mypaint-0.9.1.ebuild 1269 RMD160 498bdea1cde99c2d38bfef019f59fcef092da30d SHA1 fce08da94b5300b726363dd7ae5621e484eb5a6a SHA256 3a1794b8d60ac1a7e5b6d685255d5ba827c921b45f752a6280f70941c2f43d38
+EBUILD mypaint-1.0.0-r1.ebuild 1465 RMD160 7efbf3817e8b6165e6152639fa8f4f74d7a832dd SHA1 b8746c8377e727bac14b6c4a4033c395134b99f9 SHA256 3d5b170304297c272d4eca3a85bc3869181afa7c9deb9c0e78805ea9be2e8efa
EBUILD mypaint-1.0.0.ebuild 1376 RMD160 5baa5e7fde1923aa2116075658f693358b1eb821 SHA1 4f47aa0071bb62a8416977fe96ab865cf62a3d34 SHA256 323f4668febf875a1ed5d57959042ed4a6ba2c5a55f714c4a8b4aa3924a6a403
-MISC ChangeLog 1922 RMD160 8a34475aad2aeb03e2907071676d712a12a997c5 SHA1 32f1f6e5441ca247a4162830c712569eb8491555 SHA256 1ff4322844a4dcc612bdaf52bcfa3f0de261e19c0dc924257b777b71f16e1159
+MISC ChangeLog 2143 RMD160 23165cd4834c8209522792d9176023bb513cd193 SHA1 689199760c4ad7ba42bb377aa114450c97c128be SHA256 38598b160a7c6e5303fc595d0f611e578f7a32b280407e897f452afc714ced12
MISC metadata.xml 278 RMD160 85ae612f4b725d8857a7fe0808090691c0e58fbd SHA1 c97840692a46e7d54f22bfcfd0a564a8d08033dd SHA256 07a0afc4dfc12865b213ef6815169e0524357989b213ac40bc9436dea94c3160
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
-
-iQIcBAEBCgAGBQJO2+QBAAoJEPqDWhW0r/LCdMcQAJhyIzUEEDk7IVInXH06Ze59
-v/G4C8XENKcdhkHhMuuxGqgZVtLJ6Vw/z/TNH88upxGq626oELXRbctxIAt05BWZ
-D7BZVlNi//Yjoi5DXDEjizVCV8d322pEtIP37fdkdL/zsw1KWbj58Ek0WDg2EEA4
-azOxXsorXblRXF95VXfZQwv5uWNzb3LPsh8vScEr7LXJCXnhwiD30tig9AnRhsQd
-3RgxUwOkUfvBJC15PwRYT9zvqy+iU/be/Vc0/k5U79b+N4f6rZB1rOM7kSjdKC/+
-8AuaqUw2eC4olZD6JVUcZ/V+w/wPl02yHBGCxvZVa6XAdQebgABpnu8G7aDFTjgt
-8PTamyow1AT4dSq5Gd4hOz4GvyDnhgONiteDSmRXze3BUhNDLKs+ouUlPRporMxF
-8M/tNeJ5o60hDfXhF220EusEsBPcB2QqPupMTBP8xK02y5cgySHMQSyua+R7yY1c
-6OUzlLGAAB98d7v43ZMtY0ScfD6+9H2yvYDTKrzYaUdZCGzzjWkZlxWHn69daN20
-MmcD8V3tBJtf7+W4pZAWF0Vi3JJqAUBKDXuTPu69ViuZd6fo3oEAT9iFqvrlqs1Y
-mgCmPa2y7wCJ6k7drZ5yOk4B6nBH4f7W6eZWVSexEEJU9YMXtmYywDHTI74jWqie
-VI410uEwKYJB/ZHysORZ
-=o5vO
------END PGP SIGNATURE-----
diff --git a/media-gfx/mypaint/mypaint-1.0.0-r1.ebuild b/media-gfx/mypaint/mypaint-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..20903b958ddc
--- /dev/null
+++ b/media-gfx/mypaint/mypaint-1.0.0-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/mypaint/mypaint-1.0.0-r1.ebuild,v 1.1 2011/12/05 08:49:15 maksbotan Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2:2.4"
+
+inherit eutils fdo-mime gnome2-utils multilib scons-utils toolchain-funcs python
+
+DESCRIPTION="fast and easy graphics application for digital painters"
+HOMEPAGE="http://mypaint.intilinux.com/"
+SRC_URI="http://download.gna.org/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-python/pygtk
+ dev-python/numpy
+ >=dev-python/pycairo-1.4
+ dev-libs/protobuf[python]"
+DEPEND="${RDEPEND}
+ dev-lang/swig
+ dev-util/pkgconfig"
+
+pkg_setup(){
+ python_set_active_version 2
+}
+
+src_prepare() {
+ # multilib support
+ sed -i -e "s:lib\/${PN}:$(get_libdir)\/${PN}:" "${S}"/SConstruct || die
+ # respect CXXFLAGS,CXX,LDFLAGS
+ epatch "${FILESDIR}"/${PN}-0.9.1-gentoo.patch
+}
+
+src_compile() {
+ #workaround scons bug with locales. Bug #352700
+ export LANG="en_US.UTF-8"
+ tc-export CXX
+ escons || die "scons failed"
+}
+
+src_install () {
+ escons prefix="${D}/usr" install || die "scons install failed"
+ newicon pixmaps/${PN}_logo.png ${PN}.png
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+ python_mod_optimize /usr/share/${PN}
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ python_mod_cleanup /usr/share/${PN}
+}