From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 162FC139083 for ; Sat, 16 Dec 2017 15:42:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EBE1CE0E00; Sat, 16 Dec 2017 15:42:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE8F5E0E00 for ; Sat, 16 Dec 2017 15:42:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8127333BF0F for ; Sat, 16 Dec 2017 15:42:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F175AE70 for ; Sat, 16 Dec 2017 15:42:48 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1513438820.5802abee15a257a15ee15ed3083cf6261c98c088.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/pybliographer/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/pybliographer/Manifest app-office/pybliographer/pybliographer-1.2.18.ebuild X-VCS-Directories: app-office/pybliographer/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 5802abee15a257a15ee15ed3083cf6261c98c088 X-VCS-Branch: master Date: Sat, 16 Dec 2017 15:42:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2b34ca2b-7235-4377-a029-69ee539af739 X-Archives-Hash: 4635b32b2e588b9fe670158cc4e9beb8 commit: 5802abee15a257a15ee15ed3083cf6261c98c088 Author: Pacho Ramos gentoo org> AuthorDate: Sat Dec 16 15:16:00 2017 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sat Dec 16 15:40:20 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5802abee app-office/pybliographer: Version bump Package-Manager: Portage-2.3.18, Repoman-2.3.6 app-office/pybliographer/Manifest | 1 + .../pybliographer/pybliographer-1.2.18.ebuild | 67 ++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/app-office/pybliographer/Manifest b/app-office/pybliographer/Manifest index 563b4ba9bc3..56bd7dd5a30 100644 --- a/app-office/pybliographer/Manifest +++ b/app-office/pybliographer/Manifest @@ -1 +1,2 @@ DIST pybliographer-1.2.15.tar.gz 1859977 BLAKE2B e658f76e7f766beec598d0397f10e7613b8a529d7f1eeccda6364bc93bfb33bb5b9e121b9edcd4bc62dd414bca0ffb4684792baf36228522c9d509c59b0f8833 SHA512 f4b3478f60f042ebc7538f044a8c4014fda5202576e3f894b31c79430400e834c59f859f895efa187a89016f4e2625ee6be20751f31843e179fbdfb54ba65330 +DIST pybliographer-1.2.18.tar.gz 2174899 BLAKE2B 4723a01d386a1da6f1de6b730e4e38ef1dedfeb7a72310f40fd7475710fd92236bdb484e102bf93340c8b826ddda0353e143cc741cd6b57acbedd82e40e4181b SHA512 b4a97d7e0aec3b4d7c68169d4d8799911b4da0591e819a67429c45d2b451be6be129214631770cf26f2083a935b55575d35c4f3b11ea74a9b39e55feea376204 diff --git a/app-office/pybliographer/pybliographer-1.2.18.ebuild b/app-office/pybliographer/pybliographer-1.2.18.ebuild new file mode 100644 index 00000000000..75923a1b485 --- /dev/null +++ b/app-office/pybliographer/pybliographer-1.2.18.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_EAUTORECONF="yes" +PYTHON_COMPAT=( python2_7 ) + +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}" + +RDEPEND="${PYTHON_DEPS} + >=app-text/recode-3.6-r1 + app-text/rarian + 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[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + app-text/yelp-tools +" + +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 + + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-depchecks \ + --disable-update-desktop-database +} + +src_install() { + gnome2_src_install + python_fix_shebang "${D}" +}