Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/pybliographer: metadata.xml ChangeLog pybliographer-1.2.14.ebuild
Date: Fri, 29 Jul 2011 22:06:05
Message-Id: 20110729220554.E520E2004B@flycatcher.gentoo.org
1 bicatali 11/07/29 22:05:54
2
3 Modified: metadata.xml ChangeLog
4 Added: pybliographer-1.2.14.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.10.7/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.3 app-office/pybliographer/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/metadata.xml?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/metadata.xml?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/metadata.xml?r1=1.2&r2=1.3
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/pybliographer/metadata.xml,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- metadata.xml 12 Mar 2007 23:40:38 -0000 1.2
24 +++ metadata.xml 29 Jul 2011 22:05:54 -0000 1.3
25 @@ -3,4 +3,13 @@
26 <pkgmetadata>
27 <herd>tex</herd>
28 <herd>python</herd>
29 +<longdescription lang='en'>
30 + Pybliographer is a tool for managing bibliographic databases, with
31 + the following features:
32 + * a user-friendly Gnome interface for editing, searching, inserting
33 + your citations in LyX, Kile and OpenOffice.org, searching external
34 + databases like PubMed, Web of Science, Citeseer, and more.
35 + * powerful APIs to integrate these features into your own custom
36 + application, with your own specific database schema.
37 +</longdescription>
38 </pkgmetadata>
39
40
41
42 1.24 app-office/pybliographer/ChangeLog
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/ChangeLog?rev=1.24&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/ChangeLog?rev=1.24&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/ChangeLog?r1=1.23&r2=1.24
47
48 Index: ChangeLog
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/app-office/pybliographer/ChangeLog,v
51 retrieving revision 1.23
52 retrieving revision 1.24
53 diff -u -r1.23 -r1.24
54 --- ChangeLog 27 Jan 2011 15:11:22 -0000 1.23
55 +++ ChangeLog 29 Jul 2011 22:05:54 -0000 1.24
56 @@ -1,6 +1,12 @@
57 # ChangeLog for app-office/pybliographer
58 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
59 -# $Header: /var/cvsroot/gentoo-x86/app-office/pybliographer/ChangeLog,v 1.23 2011/01/27 15:11:22 arfrever Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/app-office/pybliographer/ChangeLog,v 1.24 2011/07/29 22:05:54 bicatali Exp $
61 +
62 +*pybliographer-1.2.14 (29 Jul 2011)
63 +
64 + 29 Jul 2011; Sébastien Fabbro <bicatali@g.o>
65 + +pybliographer-1.2.14.ebuild, metadata.xml:
66 + Version bump
67
68 27 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
69 pybliographer-1.2.12-r1.ebuild:
70
71
72
73 1.1 app-office/pybliographer/pybliographer-1.2.14.ebuild
74
75 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/pybliographer-1.2.14.ebuild?rev=1.1&view=markup
76 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/pybliographer-1.2.14.ebuild?rev=1.1&content-type=text/plain
77
78 Index: pybliographer-1.2.14.ebuild
79 ===================================================================
80 # Copyright 1999-2011 Gentoo Foundation
81 # Distributed under the terms of the GNU General Public License v2
82 # $Header: /var/cvsroot/gentoo-x86/app-office/pybliographer/pybliographer-1.2.14.ebuild,v 1.1 2011/07/29 22:05:54 bicatali Exp $
83
84 EAPI="3"
85 PYTHON_DEPEND="2:2.6"
86
87 inherit autotools gnome2 python
88
89 DESCRIPTION="Pybliographer is a tool for working with bibliographic databases"
90 HOMEPAGE="http://pybliographer.org/"
91 SRC_URI="mirror://sourceforge/pybliographer/${P}.tar.gz"
92
93 LICENSE="GPL-2"
94 SLOT="0"
95 KEYWORDS="~amd64 ~ppc ~x86"
96 IUSE=""
97
98 DOCS="AUTHORS ChangeLog* NEWS TODO README"
99
100 DEPEND=">=app-text/recode-3.6-r1
101 app-text/scrollkeeper
102 dev-libs/glib:2
103 dev-python/gconf-python:2
104 dev-python/gnome-vfs-python:2
105 dev-python/libgnome-python:2
106 dev-python/pygobject:2
107 dev-python/pygtk:2
108 >=dev-python/python-bibtex-1.2.5"
109 RDEPEND="${DEPEND}"
110
111 pkg_setup() {
112 python_set_active_version 2
113 python_pkg_setup
114 }
115
116 src_prepare() {
117 gnome2_src_prepare
118
119 # Disable byte-compilation of Python modules.
120 sed -i \
121 -e "/import compileall/d" \
122 Makefile.am || die "sed failed"
123
124 # Install Python modules into site-packages directories.
125 find -name Makefile.am | xargs sed -i \
126 -e "/^pybdir[[:space:]]*=[[:space:]]*/s:\$(datadir):$(python_get_sitedir):" || die "sed failed"
127 sed -i \
128 -e "s:\${datadir}/@PACKAGE@:$(python_get_sitedir)/@PACKAGE@:" \
129 etc/installer.in || die "sed failed"
130 sed -i \
131 -e "s:gladedir = \$(datadir):gladedir = $(python_get_sitedir):" \
132 Pyblio/GnomeUI/glade/Makefile.am || die "sed failed"
133 eautoreconf
134 }
135
136 src_configure() {
137 gnome2_src_configure --disable-depchecks
138 }
139
140 src_install() {
141 gnome2_src_install
142 python_convert_shebangs -r 2 "${ED}usr/bin"
143 }
144
145 pkg_postinst() {
146 gnome2_pkg_postinst
147 python_mod_optimize pybliographer
148 }
149
150 pkg_postrm() {
151 gnome2_pkg_postrm
152 python_mod_cleanup pybliographer
153 }