From 5d793de1536e4ca598186cf2bbb873738537799e Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Wed, 30 Jun 2010 21:12:58 +0000 Subject: Version Bump (Portage version: 2.2_rc67/cvs/Linux x86_64) --- app-text/bibus/ChangeLog | 7 ++++- app-text/bibus/bibus-1.5.1.ebuild | 66 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 app-text/bibus/bibus-1.5.1.ebuild (limited to 'app-text') diff --git a/app-text/bibus/ChangeLog b/app-text/bibus/ChangeLog index 90d0af10305f..839504c8ec7c 100644 --- a/app-text/bibus/ChangeLog +++ b/app-text/bibus/ChangeLog @@ -1,6 +1,11 @@ # 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.20 2010/06/04 21:12:12 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/bibus/ChangeLog,v 1.21 2010/06/30 21:12:58 jlec Exp $ + +*bibus-1.5.1 (30 Jun 2010) + + 30 Jun 2010; Justin Lecher +bibus-1.5.1.ebuild: + Version Bump 04 Jun 2010; Arfrever Frehtes Taifersar Arahesis bibus-1.5.0.ebuild: diff --git a/app-text/bibus/bibus-1.5.1.ebuild b/app-text/bibus/bibus-1.5.1.ebuild new file mode 100644 index 000000000000..3c77a94c5dfe --- /dev/null +++ b/app-text/bibus/bibus-1.5.1.ebuild @@ -0,0 +1,66 @@ +# 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.1.ebuild,v 1.1 2010/06/30 21:12:58 jlec Exp $ + +EAPI="3" +PYTHON_DEPEND="2" + +inherit multilib eutils python versionator + +DESCRIPTION="Bibliographic and reference management software, integrates with OO.o and MS Word" +HOMEPAGE="http://bibus-biblio.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}-biblio/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="mysql" + +# Most of this mess is designed to give the choice of sqlite or mysql +# but prefer sqlite. We also need to default to sqlite if neither is requested. +RDEPEND="virtual/ooo + =dev-python/wxpython-2.8* + dev-python/pysqlite + dev-db/sqliteodbc + mysql? ( + dev-python/mysql-python + dev-db/myodbc + ) + dev-db/unixODBC" +DEPEND="${RDEPEND}" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.5.0-install.patch + epatch "${FILESDIR}"/${PN}-1.5.0-pysqlite.patch + 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" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + oopath="/usr/$(get_libdir)/openoffice/program" \ + prefix='$(DESTDIR)/usr' \ + sysconfdir='$(DESTDIR)/etc' \ + install || die "emake install failed" + emake \ + DESTDIR="${D}" \ + oopath="/usr/$(get_libdir)/openoffice/program" \ + prefix='$(DESTDIR)/usr' \ + sysconfdir='$(DESTDIR)/etc' \ + install-doc-en || die "emake install failed" +} + +pkg_postinst() { + python_mod_optimize bibus +} + +pkg_postrm() { + python_mod_cleanup bibus +} -- cgit v1.2.3-65-gdbad