diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2008-02-24 14:54:42 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2008-02-24 14:54:42 +0000 |
commit | c0e36a81dff74859a4ce75be38c20f4ac5381bb1 (patch) | |
tree | 3cbbb413bb8cb8ab541cf890448f5c521daaa8bf /dev-python/notify-python | |
parent | bump to 2.3.0, change RDEPEND to DEPEND and vice-versa. Add libnotify USE flag (diff) | |
download | historical-c0e36a81dff74859a4ce75be38c20f4ac5381bb1.tar.gz historical-c0e36a81dff74859a4ce75be38c20f4ac5381bb1.tar.bz2 historical-c0e36a81dff74859a4ce75be38c20f4ac5381bb1.zip |
fix python eclass use, bug #207667
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-python/notify-python')
-rw-r--r-- | dev-python/notify-python/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/notify-python/Manifest | 14 | ||||
-rw-r--r-- | dev-python/notify-python/notify-python-0.1.1.ebuild | 23 |
3 files changed, 39 insertions, 6 deletions
diff --git a/dev-python/notify-python/ChangeLog b/dev-python/notify-python/ChangeLog index 8d9f9ea6a8f8..1396833ff026 100644 --- a/dev-python/notify-python/ChangeLog +++ b/dev-python/notify-python/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/notify-python -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/ChangeLog,v 1.6 2007/12/22 14:00:16 dertobi123 Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/ChangeLog,v 1.7 2008/02/24 14:54:42 eva Exp $ + + 24 Feb 2008; Gilles Dartiguelongue <eva@gentoo.org> + notify-python-0.1.1.ebuild: + fix python eclass use, bug #207667 22 Dec 2007; Tobias Scherbaum <dertobi123@gentoo.org> notify-python-0.1.1.ebuild: diff --git a/dev-python/notify-python/Manifest b/dev-python/notify-python/Manifest index 21d421db4afc..722d063206b0 100644 --- a/dev-python/notify-python/Manifest +++ b/dev-python/notify-python/Manifest @@ -1,4 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST notify-python-0.1.1.tar.bz2 214514 RMD160 52f5b5cc7c01be32525db7a2edc0f3dee41911ef SHA1 490693cf601793f50cef1a3c82ba75025497fc00 SHA256 7d3bbb7c3d8f56c922cc31d02ef9057a4f06998cc2fd4f3119a576fcf8d504ce -EBUILD notify-python-0.1.1.ebuild 738 RMD160 774c477179d18020797c7087a893b3c50e6a6022 SHA1 62d500772c0d0d8518d20e062725f3d81c6a2a3d SHA256 915a7c3756a27a5274257ad122bac01c0ba6d7d87ac6acadc42c8c1983c5f206 -MISC ChangeLog 915 RMD160 86d246509388555bfe917cb7c795925f87156e4f SHA1 fdb120e022d0c897ec58ee0cebb21855995736d3 SHA256 090085eacbd783821b1abac38c5d0fd20d75e57d50d5663d57c48f075ba11131 +EBUILD notify-python-0.1.1.ebuild 1105 RMD160 c342699f8a37741ce27460d9ad478f34777cfd5f SHA1 428b5f5ad340b89430eb19dbd1d02cbf0fbf1840 SHA256 f47669ab6d8c4fe0a62774df72e501b6b506774097cf6af754832d5869773dd5 +MISC ChangeLog 1030 RMD160 468e70d5ed83c1183efe06cbc8cde2e8ba1f5ed0 SHA1 3d591b8bb12220fdff25bb58fa569ce3037da9d0 SHA256 c9f3815a8fad1a7b15b228866ff918a0544a4b3d0e2a4d820ae4ffdbdecd84d9 MISC metadata.xml 264 RMD160 c3b7bdba75dde01f64441fef0610d90adca367ab SHA1 8d03c6a88770023bb63aa9b6be20b5efd3e7e70b SHA256 99d84181942576a6dccd9991e6aacb76319789bba3bf11595d51abf58488e5c0 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD4DBQFHwYU61fmVwcYIWAYRAmP8AJj7y6XJTIJv7asYMvrEHcvxaII3AKDFRrAU +7JxMz1nhV+8XLZHleRFHgA== +=aIga +-----END PGP SIGNATURE----- diff --git a/dev-python/notify-python/notify-python-0.1.1.ebuild b/dev-python/notify-python/notify-python-0.1.1.ebuild index 13794fc2645b..5818f3f18cc8 100644 --- a/dev-python/notify-python/notify-python-0.1.1.ebuild +++ b/dev-python/notify-python/notify-python-0.1.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/notify-python-0.1.1.ebuild,v 1.6 2007/12/22 14:00:16 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/notify-python-0.1.1.ebuild,v 1.7 2008/02/24 14:54:42 eva Exp $ NEED_PYTHON=2.3.5 @@ -20,7 +20,26 @@ RDEPEND=">=dev-python/pygtk-2.4.0 DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.9" +src_unpack() { + unpack ${A} + cd "${S}" + + # disable pyc compiling + mv py-compile py-compile.orig + ln -s $(type -P true) py-compile +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog NEWS README } + +pkg_postinst() { + python_version + python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0/pynotify +} + +pkg_postrm() { + python_version + python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0/pynotify +} |