From 2f5cd8de02307bec75935d0e227a4fc072e279a9 Mon Sep 17 00:00:00 2001 From: Lukasz Strzygowski Date: Sun, 4 Mar 2007 09:50:06 +0000 Subject: [PATCH] Replaced einfo with elog in pkg_postinst. In 3.5: added doc/examples use-flags, minor cleanup. Package-Manager: portage-2.1.2-r12 --- dev-python/pyro/ChangeLog | 7 ++++++- dev-python/pyro/Manifest | 30 +++++++++++++++--------------- dev-python/pyro/pyro-3.4.ebuild | 8 ++++---- dev-python/pyro/pyro-3.5.ebuild | 31 +++++++++++++++++-------------- 4 files changed, 42 insertions(+), 34 deletions(-) diff --git a/dev-python/pyro/ChangeLog b/dev-python/pyro/ChangeLog index 5d8b110ab138..9f684a30503f 100644 --- a/dev-python/pyro/ChangeLog +++ b/dev-python/pyro/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/pyro # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v 1.13 2007/02/21 17:05:04 lucass Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v 1.14 2007/03/04 09:50:06 lucass Exp $ + + 04 Mar 2007; Lukasz Strzygowski pyro-3.4.ebuild, + pyro-3.5.ebuild: + Replaced einfo with elog in pkg_postinst. In 3.5: added doc/examples + use-flags, minor cleanup. 21 Feb 2007; Lukasz Strzygowski files/digest-pyro-3.4, files/digest-pyro-3.5, Manifest: diff --git a/dev-python/pyro/Manifest b/dev-python/pyro/Manifest index 8699fb2ee591..7e898c6f8bf4 100644 --- a/dev-python/pyro/Manifest +++ b/dev-python/pyro/Manifest @@ -7,18 +7,18 @@ RMD160 9d2ea1fddc67f5e167d946b8f9dee4bbf16af085 files/pyro-3.4-unattend.patch 41 SHA256 74b778ee85bf41db7c784abf482dc866b713801787b44a5c54608d56f83d68a0 files/pyro-3.4-unattend.patch 419 DIST Pyro-3.4.tar.gz 217795 RMD160 d99593d14f0e1596e7bf9eca70a9aea5470e4ef3 SHA1 9df62d1fd9036e5b5a468ab4c9670a2fcf79b331 SHA256 fe19406725ab3199399d8a2edafd4642567ab502c31fcbc75a92485d8f86b425 DIST Pyro-3.5.tar.gz 232191 RMD160 028d37f3ed8c7b05c536228eb6741d60ca683429 SHA1 b7ddbc4ff1e54573a60f3f724ac122b04b3716f3 SHA256 917a447bccbb7591ac287542eaacfd9e0318cfec45a72e1f797f584eeced256c -EBUILD pyro-3.4.ebuild 972 RMD160 5c35689c8e6cb4005b8a4324a67c6aae5a4b7191 SHA1 6280bde37f522202ca0773b7a5cbfefb8533dc4f SHA256 3ac470e338193f4a87545826ea74b451a4f00fa2a49d90f66c8462ec2f298f8d -MD5 c9ea7bb1318f1517b15b1b9e722d14e9 pyro-3.4.ebuild 972 -RMD160 5c35689c8e6cb4005b8a4324a67c6aae5a4b7191 pyro-3.4.ebuild 972 -SHA256 3ac470e338193f4a87545826ea74b451a4f00fa2a49d90f66c8462ec2f298f8d pyro-3.4.ebuild 972 -EBUILD pyro-3.5.ebuild 997 RMD160 17fddf23bc2010d44a8d72e7d36917a8e376e2af SHA1 5016a38c11a91c471589b5680c0c4d2783e875c1 SHA256 7d9b1c70f61011daea3b3a4cb039f4d38ae12707a0a78eb6e17c5c19d053a853 -MD5 5fb609386706a585fc03bbdff22ff477 pyro-3.5.ebuild 997 -RMD160 17fddf23bc2010d44a8d72e7d36917a8e376e2af pyro-3.5.ebuild 997 -SHA256 7d9b1c70f61011daea3b3a4cb039f4d38ae12707a0a78eb6e17c5c19d053a853 pyro-3.5.ebuild 997 -MISC ChangeLog 1625 RMD160 da6c413d92141bdaf36297915186254beaae50aa SHA1 15003fa03644badfd35018d69a80fbf96ccd7a6c SHA256 d372e2057f5161e189ed34285d70b855a2d92f9c6b0925ac8f6b755b2507eb9f -MD5 8e3d03697c02d8624782544f1635c192 ChangeLog 1625 -RMD160 da6c413d92141bdaf36297915186254beaae50aa ChangeLog 1625 -SHA256 d372e2057f5161e189ed34285d70b855a2d92f9c6b0925ac8f6b755b2507eb9f ChangeLog 1625 +EBUILD pyro-3.4.ebuild 971 RMD160 ffa7f850a34a1bcc3cb850866ad40738a2d71642 SHA1 dffea4a98c22a1efb9a7d46aa8d8fc5e26874419 SHA256 1f78635a32f9c25949f90b94c0c538c931ee3f5dc8a2e2235e000460f275f008 +MD5 479434e1633ba95319236c1c46082aa5 pyro-3.4.ebuild 971 +RMD160 ffa7f850a34a1bcc3cb850866ad40738a2d71642 pyro-3.4.ebuild 971 +SHA256 1f78635a32f9c25949f90b94c0c538c931ee3f5dc8a2e2235e000460f275f008 pyro-3.4.ebuild 971 +EBUILD pyro-3.5.ebuild 1009 RMD160 f8dcaaed1346978361163a30099aa3d8711c375d SHA1 5c39339af926b93736daf84df34d7bcc9d4e6fd7 SHA256 4b836e840a4da6fce3e65dc4576332945d45b5bef4bb205a340eda1d6bb4d4cf +MD5 bc82248954eeeea89345c85ac773ec5a pyro-3.5.ebuild 1009 +RMD160 f8dcaaed1346978361163a30099aa3d8711c375d pyro-3.5.ebuild 1009 +SHA256 4b836e840a4da6fce3e65dc4576332945d45b5bef4bb205a340eda1d6bb4d4cf pyro-3.5.ebuild 1009 +MISC ChangeLog 1815 RMD160 0c0b9aacc2e2d1a2069954cb336f432b5e3e8449 SHA1 9ed6f7fa38abafbcc5e8acc73b261c035c1ff49f SHA256 65daa95dbb03bcdd421da78a21cbed5cb7d367204304e73e56cabe606e14bc21 +MD5 dec1fb134f5ca0be970527f0ab94eba5 ChangeLog 1815 +RMD160 0c0b9aacc2e2d1a2069954cb336f432b5e3e8449 ChangeLog 1815 +SHA256 65daa95dbb03bcdd421da78a21cbed5cb7d367204304e73e56cabe606e14bc21 ChangeLog 1815 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159 @@ -32,7 +32,7 @@ SHA256 260ddac7ffd2268904c8cdd6457b9380e069b0e3087c96eed6a5cf5eed84a130 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (GNU/Linux) -iD8DBQFF3HvL2jLqHNfbg2URAtD2AKChOGU0gUs9SzsPb/v2YTBf5GMj/wCfTTyd -R7Fi0wwtCwCDS/fLSNSG7ME= -=u4xL +iD8DBQFF6pZf2jLqHNfbg2URAk3UAJ0UCsbqzuuM02RakOLrOwEhsAqwQACeJr9d +fIsLZsxR9O1SAkhkrvZhdpA= +=UuTL -----END PGP SIGNATURE----- diff --git a/dev-python/pyro/pyro-3.4.ebuild b/dev-python/pyro/pyro-3.4.ebuild index 4b454ab72148..efa8cd00885b 100644 --- a/dev-python/pyro/pyro-3.4.ebuild +++ b/dev-python/pyro/pyro-3.4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/pyro-3.4.ebuild,v 1.3 2005/09/18 11:46:37 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/pyro-3.4.ebuild,v 1.4 2007/03/04 09:50:06 lucass Exp $ inherit distutils eutils @@ -34,6 +34,6 @@ src_install() { } pkg_postinst() { - einfo "Pyro's Event Service Daemon, /usr/bin/esd has been renamed to" - einfo " /usr/bin/pyroesd to avoid conflict with media-sound/esound." + elog "Pyro's Event Service Daemon, /usr/bin/esd has been renamed to" + elog " /usr/bin/pyroesd to avoid conflict with media-sound/esound." } diff --git a/dev-python/pyro/pyro-3.5.ebuild b/dev-python/pyro/pyro-3.5.ebuild index 056a3d1db36b..e30ef81caa13 100644 --- a/dev-python/pyro/pyro-3.5.ebuild +++ b/dev-python/pyro/pyro-3.5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/pyro-3.5.ebuild,v 1.2 2006/04/01 18:50:48 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/pyro-3.5.ebuild,v 1.3 2007/03/04 09:50:06 lucass Exp $ inherit distutils eutils @@ -12,29 +12,32 @@ SRC_URI="mirror://sourceforge/pyro/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~x86" -IUSE="" +IUSE="doc examples" -DEPEND="virtual/python" - -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PN}-3.4-unattend.patch + cd "${S}" + epatch "${FILESDIR}"/${PN}-3.4-unattend.patch } src_install() { distutils_src_install - dodir /usr/share/doc/${PF}/examples - cp -r ${S}/examples ${D}/usr/share/doc/${PF} - dohtml -r docs/* + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi + + if use doc; then + dohtml -r docs/* + fi - mv ${D}/usr/bin/esd ${D}/usr/bin/pyroesd + mv "${D}"/usr/bin/esd "${D}"/usr/bin/pyroesd } pkg_postinst() { - einfo "Pyro's Event Service Daemon, /usr/bin/esd has been renamed to" - einfo " /usr/bin/pyroesd to avoid conflict with media-sound/esound." + elog "Pyro's Event Service Daemon, /usr/bin/esd has been renamed to" + elog " /usr/bin/pyroesd to avoid conflict with media-sound/esound." } -- 2.26.2