1 |
pacho 14/12/02 22:24:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pybliographer-1.2.15-r1.ebuild |
5 |
Log: |
6 |
Use new python eclasses and make it buildable again (#487204 by Pariksheet Nanda, lumbrius and Joaquim Uchoa) |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.31 app-office/pybliographer/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/ChangeLog?rev=1.31&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/ChangeLog?rev=1.31&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/ChangeLog?r1=1.30&r2=1.31 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-office/pybliographer/ChangeLog,v |
20 |
retrieving revision 1.30 |
21 |
retrieving revision 1.31 |
22 |
diff -u -r1.30 -r1.31 |
23 |
--- ChangeLog 23 Sep 2014 19:03:58 -0000 1.30 |
24 |
+++ ChangeLog 2 Dec 2014 22:24:59 -0000 1.31 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-office/pybliographer |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/pybliographer/ChangeLog,v 1.30 2014/09/23 19:03:58 djc Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/pybliographer/ChangeLog,v 1.31 2014/12/02 22:24:59 pacho Exp $ |
30 |
+ |
31 |
+*pybliographer-1.2.15-r1 (02 Dec 2014) |
32 |
+ |
33 |
+ 02 Dec 2014; Pacho Ramos <pacho@g.o> +pybliographer-1.2.15-r1.ebuild: |
34 |
+ Use new python eclasses and make it buildable again (#487204 by Pariksheet |
35 |
+ Nanda, lumbrius and Joaquim Uchoa) |
36 |
|
37 |
23 Sep 2014; Dirkjan Ochtman <djc@g.o> metadata.xml: |
38 |
Remove python, not a python library |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-office/pybliographer/pybliographer-1.2.15-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/pybliographer-1.2.15-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/pybliographer-1.2.15-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: pybliographer-1.2.15-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-office/pybliographer/pybliographer-1.2.15-r1.ebuild,v 1.1 2014/12/02 22:24:59 pacho Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
PYTHON_COMPAT=( python2_7 ) |
55 |
GCONF_DEBUG="no" |
56 |
|
57 |
inherit autotools gnome2 python-single-r1 |
58 |
|
59 |
DESCRIPTION="Pybliographer is a tool for working with bibliographic databases" |
60 |
HOMEPAGE="http://pybliographer.org/" |
61 |
SRC_URI="mirror://sourceforge/pybliographer/${P}.tar.gz" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~ppc ~x86" |
66 |
|
67 |
IUSE="" |
68 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
69 |
|
70 |
DEPEND="${PYTHON_DEPS} |
71 |
>=app-text/recode-3.6-r1 |
72 |
app-text/scrollkeeper |
73 |
dev-libs/glib:2 |
74 |
dev-python/gconf-python:2[${PYTHON_USEDEP}] |
75 |
dev-python/gnome-vfs-python:2[${PYTHON_USEDEP}] |
76 |
dev-python/libgnome-python:2[${PYTHON_USEDEP}] |
77 |
dev-python/pygobject:2[${PYTHON_USEDEP}] |
78 |
dev-python/pygtk:2[${PYTHON_USEDEP}] |
79 |
>=dev-python/python-bibtex-1.2.5 |
80 |
" |
81 |
RDEPEND="${DEPEND}" |
82 |
|
83 |
src_prepare() { |
84 |
# Workaround for bug 487204. |
85 |
sed -i \ |
86 |
-e 's:\$(srcdir)/::g' \ |
87 |
tests/Makefile.am || die "sed failed" |
88 |
|
89 |
# Install Python modules into site-packages directories. |
90 |
find -name Makefile.am | xargs sed -i \ |
91 |
-e "/^pybdir[[:space:]]*=[[:space:]]*/s:\$(datadir):$(python_get_sitedir):" || die "sed failed" |
92 |
sed -i \ |
93 |
-e "s:\${datadir}/@PACKAGE@:$(python_get_sitedir)/@PACKAGE@:" \ |
94 |
etc/installer.in || die "sed failed" |
95 |
sed -i \ |
96 |
-e "s:gladedir = \$(datadir):gladedir = $(python_get_sitedir):" \ |
97 |
Pyblio/GnomeUI/glade/Makefile.am || die "sed failed" |
98 |
|
99 |
# Fix shebang manually as otherwise python_fix_shebang gets confused |
100 |
sed -i -e 's: @python_path@:/usr/bin/python2:' pybliographer.py || die |
101 |
|
102 |
eautoreconf |
103 |
gnome2_src_prepare |
104 |
} |
105 |
|
106 |
src_configure() { |
107 |
gnome2_src_configure --disable-depchecks |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
gnome2_src_install |
112 |
python_fix_shebang "${D}" |
113 |
} |