Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/bibus/
Date: Thu, 02 Nov 2017 11:38:07
Message-Id: 1509622313.988a76235dc5895d061e2dcdb808e777b8a9f691.leio@gentoo
1 commit: 988a76235dc5895d061e2dcdb808e777b8a9f691
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 2 11:31:51 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 2 11:31:53 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=988a7623
7
8 app-text/bibus: remove old
9
10 Acked-by: David Seifert <soap <AT> gentoo.org>
11 Package-Manager: Portage-2.3.8, Repoman-2.3.2
12
13 app-text/bibus/bibus-1.5.2-r2.ebuild | 86 ------------------------------------
14 1 file changed, 86 deletions(-)
15
16 diff --git a/app-text/bibus/bibus-1.5.2-r2.ebuild b/app-text/bibus/bibus-1.5.2-r2.ebuild
17 deleted file mode 100644
18 index fa34f6e11d9..00000000000
19 --- a/app-text/bibus/bibus-1.5.2-r2.ebuild
20 +++ /dev/null
21 @@ -1,86 +0,0 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=5
26 -
27 -PYTHON_COMPAT=( python2_7 )
28 -PYTHON_REQ_USE="sqlite"
29 -
30 -inherit eutils fdo-mime multilib python-r1 versionator
31 -
32 -DESCRIPTION="Bibliographic and reference management software, integrates with LO and MS Word"
33 -HOMEPAGE="http://bibus-biblio.sourceforge.net/"
34 -SRC_URI="
35 - mirror://sourceforge/${PN}-biblio/${PN}_${PV}.orig.tar.gz
36 - https://dev.gentoo.org/~jlec/distfiles/${P}-lo-4.patch.xz
37 - "
38 -
39 -LICENSE="GPL-2"
40 -SLOT="0"
41 -KEYWORDS="amd64 x86"
42 -IUSE="mysql"
43 -
44 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
45 -
46 -# Most of this mess is designed to give the choice of sqlite or mysql
47 -# but prefer sqlite. We also need to default to sqlite if neither is requested.
48 -# Cannot depend on virtual/ooo
49 -# bibus fails to start with app-office/openoffice-bin (bug #288232).
50 -RDEPEND="
51 - ${PYTHON_DEPS}
52 - app-office/libreoffice
53 - dev-python/wxpython:2.8[${PYTHON_USEDEP}]
54 - dev-db/sqliteodbc
55 - dev-db/unixODBC
56 - mysql? (
57 - dev-python/mysql-python[${PYTHON_USEDEP}]
58 - dev-db/myodbc
59 - )"
60 -DEPEND="${RDEPEND}"
61 -
62 -pkg_setup() {
63 - if [[ -d "/usr/$(get_libdir)/openoffice" ]] ; then
64 - OFFICESUITE="/usr/$(get_libdir)/openoffice"
65 - else
66 - OFFICESUITE="/usr/$(get_libdir)/libreoffice"
67 - fi
68 -}
69 -
70 -src_prepare() {
71 - epatch \
72 - "${FILESDIR}"/${P}-install.patch \
73 - "${FILESDIR}"/${P}-bibus.cfg.patch \
74 - "${WORKDIR}"/${P}-lo-4.patch
75 -}
76 -
77 -src_compile() { :; }
78 -
79 -src_install() {
80 - einfo "Installing for ${OFFICESUITE}"
81 - installation() {
82 - emake \
83 - DESTDIR="${D}" \
84 - prefix="${EPREFIX}/usr" \
85 - oopath="${OFFICESUITE}/program" \
86 - ooure="${OFFICESUITE}/ure-link/lib" \
87 - oobasis="${OFFICESUITE}/program" \
88 - sysconfdir="${EPREFIX}/etc" \
89 - pythondir="$(python_get_sitedir)" \
90 - python=${PYTHON} \
91 - install install-doc-en
92 - }
93 - python_foreach_impl installation
94 - python_foreach_impl python_optimize
95 -
96 - python_foreach_impl python_newscript bibusStart.py ${PN}
97 -}
98 -
99 -pkg_postinst() {
100 - fdo-mime_desktop_database_update
101 - fdo-mime_mime_database_update
102 -}
103 -
104 -pkg_postrm() {
105 - fdo-mime_desktop_database_update
106 - fdo-mime_mime_database_update
107 -}