# ChangeLog for app-text/bibus
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/bibus/ChangeLog,v 1.18 2010/02/19 04:53:36 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/bibus/ChangeLog,v 1.19 2010/06/04 20:56:53 arfrever Exp $
+
+ 04 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ bibus-1.4.3.2-r1.ebuild, bibus-1.5.0.ebuild:
+ Delete calls to deprecated python_version().
19 Feb 2010; Markus Dittrich <markusle@gentoo.org> bibus-1.5.0.ebuild:
Changed required version of wxPython to >2.8 (fixes bug #304661).
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/bibus/bibus-1.4.3.2-r1.ebuild,v 1.1 2009/09/01 03:16:54 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/bibus/bibus-1.4.3.2-r1.ebuild,v 1.2 2010/06/04 20:56:53 arfrever Exp $
EAPI="2"
S="${WORKDIR}/${PN}-${MY_VERSION}"
src_prepare() {
- python_version
epatch "${FILESDIR}"/${P}-install.1.patch
- sed -e "s:gentoo-python:python${PYVER}:g" \
+ sed -e "s:gentoo-python:python$(python_get_version):g" \
-i Makefile Setup/Makefile Setup/bibus.cfg Setup/bibus.sh \
|| die "Failed to adjust python paths"
}
}
pkg_postinst() {
- python_mod_optimize /usr/lib/python${PYVER}/site-packages/bibus
+ python_mod_optimize $(python_get_sitedir)/bibus
}
pkg_postrm() {
- python_mod_cleanup /usr/lib/python${PYVER}/site-packages/bibus
+ python_mod_cleanup $(python_get_sitedir)/bibus
}
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/bibus/bibus-1.5.0.ebuild,v 1.2 2010/02/19 04:53:36 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/bibus/bibus-1.5.0.ebuild,v 1.3 2010/06/04 20:56:53 arfrever Exp $
EAPI="2"
DEPEND="${RDEPEND}"
src_prepare() {
- python_version
epatch "${FILESDIR}"/${P}-install.patch
epatch "${FILESDIR}"/${P}-pysqlite.patch
- sed -e "s:gentoo-python:python${PYVER}:g" \
+ sed -e "s:gentoo-python:python$(python_get_version):g" \
-i Makefile Setup/Makefile Setup/bibus.cfg Setup/bibus.sh \
|| die "Failed to adjust python paths"
}
}
pkg_postinst() {
- python_mod_optimize /usr/lib/python${PYVER}/site-packages/bibus
+ python_mod_optimize $(python_get_sitedir)/bibus
}
pkg_postrm() {
- python_mod_cleanup /usr/lib/python${PYVER}/site-packages/bibus
+ python_mod_cleanup $(python_get_sitedir)/bibus
}