summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-03-10 18:29:41 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-03-10 18:29:41 +0000
commita608cc401be3ae7f7e0191ea098a11bce05ab39a (patch)
treee9b47dff890da1f9fb60cbbaf6762e157ca87db5 /dev-python/notify-python
parentUpdate mask for emacs-vcs live ebuilds. (diff)
downloadhistorical-a608cc401be3ae7f7e0191ea098a11bce05ab39a.tar.gz
historical-a608cc401be3ae7f7e0191ea098a11bce05ab39a.tar.bz2
historical-a608cc401be3ae7f7e0191ea098a11bce05ab39a.zip
Set SUPPORT_PYTHON_ABIS. Delete call to deprecated python_version() (bug #308019).
Package-Manager: portage-15816-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/notify-python')
-rw-r--r--dev-python/notify-python/ChangeLog6
-rw-r--r--dev-python/notify-python/Manifest5
-rw-r--r--dev-python/notify-python/notify-python-0.1.1-r1.ebuild25
3 files changed, 20 insertions, 16 deletions
diff --git a/dev-python/notify-python/ChangeLog b/dev-python/notify-python/ChangeLog
index 0d3fe5c8ee3c..51625536367e 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-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/ChangeLog,v 1.21 2010/03/07 20:35:23 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/ChangeLog,v 1.22 2010/03/10 18:29:41 arfrever Exp $
+
+ 10 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ notify-python-0.1.1-r1.ebuild:
+ Set SUPPORT_PYTHON_ABIS. Delete call to deprecated python_version() (bug #308019).
07 Mar 2010; Raúl Porcel <armin76@gentoo.org> notify-python-0.1.1.ebuild,
notify-python-0.1.1-r1.ebuild:
diff --git a/dev-python/notify-python/Manifest b/dev-python/notify-python/Manifest
index 543223beb506..bb240c052ddf 100644
--- a/dev-python/notify-python/Manifest
+++ b/dev-python/notify-python/Manifest
@@ -1,5 +1,4 @@
DIST notify-python-0.1.1.tar.bz2 214514 RMD160 52f5b5cc7c01be32525db7a2edc0f3dee41911ef SHA1 490693cf601793f50cef1a3c82ba75025497fc00 SHA256 7d3bbb7c3d8f56c922cc31d02ef9057a4f06998cc2fd4f3119a576fcf8d504ce
-EBUILD notify-python-0.1.1-r1.ebuild 1237 RMD160 28c09122f3568dd41b15d3b4bf949ed6f9daaa7f SHA1 eaf29f6da1155fd6ad1f26da1a661da6175b5ba8 SHA256 1484f458d30f169ef4a54cbf15d755602722a9b6ba0166b45015d5b1301a6265
-EBUILD notify-python-0.1.1.ebuild 1154 RMD160 4c67e12eb7d4193e721d8e0ac2b720f9f5206e0f SHA1 466f178cad65bdc2a4782abe2e4717ffc900eba5 SHA256 8560706a8e2592a05b54dd2d22beeee07615adcd439522604a38d8270b0a9543
-MISC ChangeLog 2606 RMD160 e06210880318fb246bdf3bea6e2a3ebecb753990 SHA1 9ab18def5c826e9f9b2e35ef8194a70d4d58cb21 SHA256 debd4dfc37a4b7c4c3919df9d57069f2a67111d8505c982f96c7239e10d07bc9
+EBUILD notify-python-0.1.1-r1.ebuild 1167 RMD160 964dd5c95cd61ac9276086eb320d6629df2bb6cb SHA1 36e785f5ca657f601449d23f919d875ca2c0563c SHA256 5617818803046eee95fd4927291cfcbf593b0823deb86caca903be4402614e12
+MISC ChangeLog 2799 RMD160 849282f6ef0de42048d2d96c38dcc46ce5be5d0e SHA1 c116a9002642f113aeb7620493e8d1873057a0fe SHA256 832115c3f78c4493896b71cadf35843a4c39a4e8cccafcef83629ffadae565a8
MISC metadata.xml 264 RMD160 c3b7bdba75dde01f64441fef0610d90adca367ab SHA1 8d03c6a88770023bb63aa9b6be20b5efd3e7e70b SHA256 99d84181942576a6dccd9991e6aacb76319789bba3bf11595d51abf58488e5c0
diff --git a/dev-python/notify-python/notify-python-0.1.1-r1.ebuild b/dev-python/notify-python/notify-python-0.1.1-r1.ebuild
index 6f85cbac084c..cf0560fc88fd 100644
--- a/dev-python/notify-python/notify-python-0.1.1-r1.ebuild
+++ b/dev-python/notify-python/notify-python-0.1.1-r1.ebuild
@@ -1,8 +1,11 @@
# Copyright 1999-2010 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-r1.ebuild,v 1.12 2010/03/07 20:35:23 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/notify-python/notify-python-0.1.1-r1.ebuild,v 1.13 2010/03/10 18:29:41 arfrever Exp $
-NEED_PYTHON=2.3.5
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+PYTHON_EXPORT_PHASE_FUNCTIONS="1"
inherit python
@@ -19,30 +22,28 @@ RDEPEND=">=dev-python/pygtk-2.4.0
>=x11-libs/libnotify-0.4.3"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.9"
+RESTRICT_PYTHON_ABIS="3.*"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # disable pyc compiling
+src_prepare() {
+ # Disable byte-compilation.
mv py-compile py-compile.orig
ln -s $(type -P true) py-compile
# Remove the old pynotify.c to ensure it's properly regenerated #212128.
rm -f src/pynotify.c
+
+ python_src_prepare
}
src_install() {
- python_need_rebuild
- emake DESTDIR="${D}" install || die "emake install failed"
+ python_src_install
dodoc AUTHORS ChangeLog NEWS README
}
pkg_postinst() {
- python_version
- python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0/pynotify
+ python_mod_optimize gtk-2.0/pynotify
}
pkg_postrm() {
- python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/gtk-2.0/pynotify
+ python_mod_cleanup gtk-2.0/pynotify
}