From c203d45c2310b995d9d84a4979c58bdb94e07f3a Mon Sep 17 00:00:00 2001 From: Lukasz Strzygowski Date: Sun, 4 Mar 2007 10:42:46 +0000 Subject: [PATCH] Replaced einfo with elog in pkg_postinst. In 1.5.0: cleanup, added NEED_PYTHON, added examples use-flag. Package-Manager: portage-2.1.2-r12 --- dev-python/dnspython/ChangeLog | 9 ++++- dev-python/dnspython/Manifest | 42 +++++++++++++-------- dev-python/dnspython/dnspython-1.3.3.ebuild | 10 ++--- dev-python/dnspython/dnspython-1.3.5.ebuild | 10 ++--- dev-python/dnspython/dnspython-1.5.0.ebuild | 29 +++++++------- 5 files changed, 55 insertions(+), 45 deletions(-) diff --git a/dev-python/dnspython/ChangeLog b/dev-python/dnspython/ChangeLog index 62387f2bef56..d25bc07cea8d 100644 --- a/dev-python/dnspython/ChangeLog +++ b/dev-python/dnspython/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/dnspython -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.31 2006/12/27 00:37:20 dev-zero Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/ChangeLog,v 1.32 2007/03/04 10:42:46 lucass Exp $ + + 04 Mar 2007; Lukasz Strzygowski + dnspython-1.3.3.ebuild, dnspython-1.3.5.ebuild, dnspython-1.5.0.ebuild: + Replaced einfo with elog in pkg_postinst. In 1.5.0: cleanup, added + NEED_PYTHON, added examples use-flag. *dnspython-1.5.0 (27 Dec 2006) diff --git a/dev-python/dnspython/Manifest b/dev-python/dnspython/Manifest index d7241d26c82a..645a95328acc 100644 --- a/dev-python/dnspython/Manifest +++ b/dev-python/dnspython/Manifest @@ -1,22 +1,25 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST dnspython-1.3.3.tar.gz 86619 RMD160 f2f7ec3435283316c00784ae3a2d019b4586a494 SHA1 0e6fe002c3bc987bf03c91912c4186307dccd1fd SHA256 0699b3fc44cc0e707adda0ccc1ecc6b0b396b9c158469da7bffaf204017f3d1e DIST dnspython-1.3.5.tar.gz 89814 RMD160 dce80f0e29ac187cb3af27d303045b45d6acdcba SHA1 06314dad339549613435470c6add992910e26e5d SHA256 5f637fa627d71b921c911e05dd541cfd44d9cf0be53456ca4f861aec76016dbd DIST dnspython-1.5.0.tar.gz 99179 RMD160 4a0c9d3b082879528c7468dfb38c20009890fd87 SHA1 65bec9f891a22bfe2885ebcaa0efc735b5f5194b SHA256 39dad20ba85250f2cc25ba8069d28f94951d3a9184c9d8cab6a8df6d45ea98d3 -EBUILD dnspython-1.3.3.ebuild 951 RMD160 7ef32fba5f4820160902c753a805d1557691e799 SHA1 ac60a7bf5b1d12554fdbf70fd7ee1459fc6b2cf2 SHA256 bb8daf013a31ad862e6d56781b27a1335d7aecb8626339ddd4133abe1ddca70b -MD5 ca73e71ae675e127b369c71f49495862 dnspython-1.3.3.ebuild 951 -RMD160 7ef32fba5f4820160902c753a805d1557691e799 dnspython-1.3.3.ebuild 951 -SHA256 bb8daf013a31ad862e6d56781b27a1335d7aecb8626339ddd4133abe1ddca70b dnspython-1.3.3.ebuild 951 -EBUILD dnspython-1.3.5.ebuild 974 RMD160 6a64d11eb485ae7689e82fb6a267e3f31e7e7dfd SHA1 588e59d3223bdef391c54b67324de37d21f389e3 SHA256 101ff7350ad32fae365c7593f08e97a9d75dbdb362886cb18d5bf010796adb06 -MD5 6bd995ff762bee7f6f817fdec78da001 dnspython-1.3.5.ebuild 974 -RMD160 6a64d11eb485ae7689e82fb6a267e3f31e7e7dfd dnspython-1.3.5.ebuild 974 -SHA256 101ff7350ad32fae365c7593f08e97a9d75dbdb362886cb18d5bf010796adb06 dnspython-1.3.5.ebuild 974 -EBUILD dnspython-1.5.0.ebuild 934 RMD160 f534705d95b95888ca4385e0564d16f6220a367e SHA1 8ca50d4fa115a72f9665637575dad4dcbb7f24e1 SHA256 cc604186be4b2cc4404b8d45ee717ef02547691cd22f6dfb9c7b043a5399715c -MD5 104da7f2047032825d85ea0365b97757 dnspython-1.5.0.ebuild 934 -RMD160 f534705d95b95888ca4385e0564d16f6220a367e dnspython-1.5.0.ebuild 934 -SHA256 cc604186be4b2cc4404b8d45ee717ef02547691cd22f6dfb9c7b043a5399715c dnspython-1.5.0.ebuild 934 -MISC ChangeLog 4010 RMD160 4903f8e491507c8ee2ed40496352236dc17c835d SHA1 23a06631ca2ce17922bcea8452c1a9384d00d06a SHA256 cef1ca730759bceef1548e76bef3b62a3ad291152af6a99dcf188f00a0a8c17a -MD5 5e5480771b417e60087314ca9f30aad4 ChangeLog 4010 -RMD160 4903f8e491507c8ee2ed40496352236dc17c835d ChangeLog 4010 -SHA256 cef1ca730759bceef1548e76bef3b62a3ad291152af6a99dcf188f00a0a8c17a ChangeLog 4010 +EBUILD dnspython-1.3.3.ebuild 933 RMD160 f27c5750e6b61ecce8d2d44521ecea6b152bb608 SHA1 3b6f12c70337aa6989189700e26a2c961a6f78f6 SHA256 cfc9b62158a3d32af43edf0882a8dec426ee3cbed3c271aa61618a951d41b5e5 +MD5 0d0db46fa669dabffc250478eef7dd0d dnspython-1.3.3.ebuild 933 +RMD160 f27c5750e6b61ecce8d2d44521ecea6b152bb608 dnspython-1.3.3.ebuild 933 +SHA256 cfc9b62158a3d32af43edf0882a8dec426ee3cbed3c271aa61618a951d41b5e5 dnspython-1.3.3.ebuild 933 +EBUILD dnspython-1.3.5.ebuild 958 RMD160 64619670e231dc4404602a4d38f7f583d0e990e9 SHA1 bdbc93db479dc3b40e745d0c3ee78274f307a674 SHA256 a66d3499bc8ba107bd206a09b6b8d803318cef8971703826ac0e03ff44ccfe91 +MD5 2d97d0436cdccb8d598a81ecdd8da6fd dnspython-1.3.5.ebuild 958 +RMD160 64619670e231dc4404602a4d38f7f583d0e990e9 dnspython-1.3.5.ebuild 958 +SHA256 a66d3499bc8ba107bd206a09b6b8d803318cef8971703826ac0e03ff44ccfe91 dnspython-1.3.5.ebuild 958 +EBUILD dnspython-1.5.0.ebuild 948 RMD160 5a67600de70075335783b3a8e48787af59cf1130 SHA1 93611456142fa402500e14ad053bba01dc2037f5 SHA256 2e448f65673e5f71b377625a76eb7ba4fa4f3b4239bdcebb7b171c5068f8157b +MD5 75204ca55ab0abaac134edc9262b4afe dnspython-1.5.0.ebuild 948 +RMD160 5a67600de70075335783b3a8e48787af59cf1130 dnspython-1.5.0.ebuild 948 +SHA256 2e448f65673e5f71b377625a76eb7ba4fa4f3b4239bdcebb7b171c5068f8157b dnspython-1.5.0.ebuild 948 +MISC ChangeLog 4246 RMD160 06cf1a08a98bfb85f4e80f4994cf87c4a30223e7 SHA1 75cb87676a91ff65f250e7051d95a5779c680169 SHA256 22ce8a2f11cce4ebb160154f8d58349e0db5a6fd87e50347993baa8c5cb9c61a +MD5 3bf767efac7e24317901ac9bc53dff76 ChangeLog 4246 +RMD160 06cf1a08a98bfb85f4e80f4994cf87c4a30223e7 ChangeLog 4246 +SHA256 22ce8a2f11cce4ebb160154f8d58349e0db5a6fd87e50347993baa8c5cb9c61a ChangeLog 4246 MISC metadata.xml 1301 RMD160 f6d5b7288cb5c351fd4b91c2fea46007d92b8520 SHA1 5b39b71cd9c0504edd5170244cd37eb9004d5e3e SHA256 9e6cfdf51a2995ef9ad7df3a2fd664de677ec4ad5e9a6d6394d429d8af0818bd MD5 d543a62aa1a2072b30094dde66e1da79 metadata.xml 1301 RMD160 f6d5b7288cb5c351fd4b91c2fea46007d92b8520 metadata.xml 1301 @@ -30,3 +33,10 @@ SHA256 97037cdd752f2c7b6b7e2ebc5d1dbe0cda177b9c223f6c473b05f7e119fe6dc6 files/di MD5 75c9afedba9b44e049e0ddab62239be9 files/digest-dnspython-1.5.0 244 RMD160 8c3ed8380fb755470df644f2264d59a82b97dd0e files/digest-dnspython-1.5.0 244 SHA256 4141512d6c88db028ec096760bf93fa24abf102d639080693a6a8d5ada2487f5 files/digest-dnspython-1.5.0 244 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.2 (GNU/Linux) + +iD8DBQFF6qKz2jLqHNfbg2URAlv/AKCDxa/wIoZIT5+pAu0s2R1pn0RSXQCcCgw6 +qJOJiKEcwRDhJb4cGHVzryo= +=+Teg +-----END PGP SIGNATURE----- diff --git a/dev-python/dnspython/dnspython-1.3.3.ebuild b/dev-python/dnspython/dnspython-1.3.3.ebuild index 9fbcec18669c..13b5edf8d11f 100644 --- a/dev-python/dnspython/dnspython-1.3.3.ebuild +++ b/dev-python/dnspython/dnspython-1.3.3.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/dnspython/dnspython-1.3.3.ebuild,v 1.8 2005/08/30 17:03:57 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/dnspython-1.3.3.ebuild,v 1.9 2007/03/04 10:42:46 lucass Exp $ inherit distutils @@ -25,10 +25,8 @@ src_install() { } pkg_postinst() { - einfo - einfo "Documentation is sparse at the moment. Use pydoc," - einfo "or read the HTML documentation at the dnspython's home page." - einfo + elog "Documentation is sparse at the moment. Use pydoc," + elog "or read the HTML documentation at the dnspython's home page." } src_test() { diff --git a/dev-python/dnspython/dnspython-1.3.5.ebuild b/dev-python/dnspython/dnspython-1.3.5.ebuild index 2756940b2bed..9b03e139e015 100644 --- a/dev-python/dnspython/dnspython-1.3.5.ebuild +++ b/dev-python/dnspython/dnspython-1.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/dnspython/dnspython-1.3.5.ebuild,v 1.8 2006/09/30 18:55:19 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/dnspython-1.3.5.ebuild,v 1.9 2007/03/04 10:42:46 lucass Exp $ inherit distutils @@ -25,10 +25,8 @@ src_install() { } pkg_postinst() { - einfo - einfo "Documentation is sparse at the moment. Use pydoc," - einfo "or read the HTML documentation at the dnspython's home page." - einfo + elog "Documentation is sparse at the moment. Use pydoc," + elog "or read the HTML documentation at the dnspython's home page." } src_test() { diff --git a/dev-python/dnspython/dnspython-1.5.0.ebuild b/dev-python/dnspython/dnspython-1.5.0.ebuild index ed34cbfb335f..5ad3a9eb4417 100644 --- a/dev-python/dnspython/dnspython-1.5.0.ebuild +++ b/dev-python/dnspython/dnspython-1.5.0.ebuild @@ -1,6 +1,8 @@ -# 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/dnspython/dnspython-1.5.0.ebuild,v 1.1 2006/12/27 00:37:20 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/dnspython-1.5.0.ebuild,v 1.2 2007/03/04 10:42:46 lucass Exp $ + +NEED_PYTHON=2.2 inherit distutils @@ -11,32 +13,29 @@ SRC_URI="http://www.dnspython.org/kits/stable/${P}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="" - -DEPEND="" -RDEPEND="" +IUSE="examples" DOCS="TODO" src_install() { distutils_src_install - insinto /usr/share/doc/${PF} - doins -r examples + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi insinto /usr/share/${PN} doins -r tests } -pkg_postinst() { - einfo - einfo "Documentation is sparse at the moment. Use pydoc," - einfo "or read the HTML documentation at the dnspython's home page." - einfo -} - src_test() { export PYTHONPATH="${S}/build/lib:${PYTHONPATH}" cd tests emake || die "Unit tests failed!" } + +pkg_postinst() { + elog "Documentation is sparse at the moment. Use pydoc," + elog "or read the HTML documentation at the dnspython's home page." +} -- 2.26.2