pacho       14/12/02 22:24:59

  Modified:             ChangeLog
  Added:                pybliographer-1.2.15-r1.ebuild
  Log:
  Use new python eclasses and make it buildable again (#487204 by Pariksheet 
Nanda, lumbrius and Joaquim Uchoa)
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
A188FBD4)

Revision  Changes    Path
1.31                 app-office/pybliographer/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/ChangeLog?rev=1.31&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/ChangeLog?rev=1.31&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/ChangeLog?r1=1.30&r2=1.31

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-office/pybliographer/ChangeLog,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- ChangeLog   23 Sep 2014 19:03:58 -0000      1.30
+++ ChangeLog   2 Dec 2014 22:24:59 -0000       1.31
@@ -1,6 +1,12 @@
 # ChangeLog for app-office/pybliographer
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/pybliographer/ChangeLog,v 1.30 
2014/09/23 19:03:58 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/pybliographer/ChangeLog,v 1.31 
2014/12/02 22:24:59 pacho Exp $
+
+*pybliographer-1.2.15-r1 (02 Dec 2014)
+
+  02 Dec 2014; Pacho Ramos <[email protected]> +pybliographer-1.2.15-r1.ebuild:
+  Use new python eclasses and make it buildable again (#487204 by Pariksheet
+  Nanda, lumbrius and Joaquim Uchoa)
 
   23 Sep 2014; Dirkjan Ochtman <[email protected]> metadata.xml:
   Remove python, not a python library



1.1                  app-office/pybliographer/pybliographer-1.2.15-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/pybliographer/pybliographer-1.2.15-r1.ebuild?rev=1.1&view=markup
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

Index: pybliographer-1.2.15-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $

EAPI=5
PYTHON_COMPAT=( python2_7 )
GCONF_DEBUG="no"

inherit autotools gnome2 python-single-r1

DESCRIPTION="Pybliographer is a tool for working with bibliographic databases"
HOMEPAGE="http://pybliographer.org/";
SRC_URI="mirror://sourceforge/pybliographer/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

DEPEND="${PYTHON_DEPS}
        >=app-text/recode-3.6-r1
        app-text/scrollkeeper
        dev-libs/glib:2
        dev-python/gconf-python:2[${PYTHON_USEDEP}]
        dev-python/gnome-vfs-python:2[${PYTHON_USEDEP}]
        dev-python/libgnome-python:2[${PYTHON_USEDEP}]
        dev-python/pygobject:2[${PYTHON_USEDEP}]
        dev-python/pygtk:2[${PYTHON_USEDEP}]
        >=dev-python/python-bibtex-1.2.5
"
RDEPEND="${DEPEND}"

src_prepare() {
        # Workaround for bug 487204.
        sed -i \
                -e 's:\$(srcdir)/::g' \
                tests/Makefile.am || die "sed failed"

        # Install Python modules into site-packages directories.
        find -name Makefile.am | xargs sed -i \
                -e 
"/^pybdir[[:space:]]*=[[:space:]]*/s:\$(datadir):$(python_get_sitedir):" || die 
"sed failed"
        sed -i \
                -e "s:\${datadir}/@PACKAGE@:$(python_get_sitedir)/@PACKAGE@:" \
                etc/installer.in || die "sed failed"
        sed -i \
                -e "s:gladedir = \$(datadir):gladedir = $(python_get_sitedir):" 
\
                Pyblio/GnomeUI/glade/Makefile.am || die "sed failed"

        # Fix shebang manually as otherwise python_fix_shebang gets confused
        sed -i -e 's: @python_path@:/usr/bin/python2:' pybliographer.py || die

        eautoreconf
        gnome2_src_prepare
}

src_configure() {
        gnome2_src_configure --disable-depchecks
}

src_install() {
        gnome2_src_install
        python_fix_shebang "${D}"
}




Reply via email to