Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/pybliographer/
Date: Sat, 23 Feb 2019 10:17:34
Message-Id: 1550917037.81aa8616ab10a97c3325461d17c934e5877359be.pacho@gentoo
1 commit: 81aa8616ab10a97c3325461d17c934e5877359be
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 23 10:10:33 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 23 10:17:17 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81aa8616
7
8 app-office/pybliographer: Version bump to 1.4.0
9
10 Closes: https://bugs.gentoo.org/667816
11 Package-Manager: Portage-2.3.62, Repoman-2.3.12
12 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
13
14 app-office/pybliographer/Manifest | 1 +
15 .../pybliographer/pybliographer-1.4.0.ebuild | 62 ++++++++++++++++++++++
16 2 files changed, 63 insertions(+)
17
18 diff --git a/app-office/pybliographer/Manifest b/app-office/pybliographer/Manifest
19 index 56bd7dd5a30..d4c413a7bf3 100644
20 --- a/app-office/pybliographer/Manifest
21 +++ b/app-office/pybliographer/Manifest
22 @@ -1,2 +1,3 @@
23 DIST pybliographer-1.2.15.tar.gz 1859977 BLAKE2B e658f76e7f766beec598d0397f10e7613b8a529d7f1eeccda6364bc93bfb33bb5b9e121b9edcd4bc62dd414bca0ffb4684792baf36228522c9d509c59b0f8833 SHA512 f4b3478f60f042ebc7538f044a8c4014fda5202576e3f894b31c79430400e834c59f859f895efa187a89016f4e2625ee6be20751f31843e179fbdfb54ba65330
24 DIST pybliographer-1.2.18.tar.gz 2174899 BLAKE2B 4723a01d386a1da6f1de6b730e4e38ef1dedfeb7a72310f40fd7475710fd92236bdb484e102bf93340c8b826ddda0353e143cc741cd6b57acbedd82e40e4181b SHA512 b4a97d7e0aec3b4d7c68169d4d8799911b4da0591e819a67429c45d2b451be6be129214631770cf26f2083a935b55575d35c4f3b11ea74a9b39e55feea376204
25 +DIST pybliographer-1.4.0.tar.xz 1834356 BLAKE2B ba4892f707c2da3f007cb916b158258a59a41cc631e49deacdd784213d506d8e4286c463afb4148c7cb30ed7084ae1a60eee0e62d1bfe13a26bd9fd70a9e60f8 SHA512 aef50e9815b9ff28618ca72c0b50033a24a1bcaa91c9fdbf3014371bb9b4bcaf8fcdffb0fa38e59d37ccfdb4c1383cd601c73aa2e34f4078c514ae9de7341f2a
26
27 diff --git a/app-office/pybliographer/pybliographer-1.4.0.ebuild b/app-office/pybliographer/pybliographer-1.4.0.ebuild
28 new file mode 100644
29 index 00000000000..7d98069e9ff
30 --- /dev/null
31 +++ b/app-office/pybliographer/pybliographer-1.4.0.ebuild
32 @@ -0,0 +1,62 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +GNOME2_EAUTORECONF="yes"
38 +PYTHON_COMPAT=( python2_7 )
39 +
40 +inherit gnome2 python-single-r1
41 +
42 +DESCRIPTION="Pybliographer is a tool for working with bibliographic databases"
43 +HOMEPAGE="https://pybliographer.org"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~ppc ~x86"
48 +
49 +IUSE=""
50 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
51 +
52 +RDEPEND="${PYTHON_DEPS}
53 + >=app-text/recode-3.6-r1
54 + app-text/rarian
55 + dev-libs/glib:2
56 + dev-python/pygobject:2[${PYTHON_USEDEP}]
57 + >=dev-python/pygtk-2.24.0:2[${PYTHON_USEDEP}]
58 + >=dev-python/python-bibtex-1.2.5[${PYTHON_USEDEP}]
59 +"
60 +DEPEND="${RDEPEND}
61 + app-text/yelp-tools
62 + >=sys-devel/gettext-0.19.8
63 +"
64 +
65 +# Tests broken for a long time, they rely on non-standard PATH for python
66 +# modules, bug #678444
67 +RESTRICT="test"
68 +
69 +src_prepare() {
70 + # Workaround for bug 487204.
71 + sed -i \
72 + -e 's:\$(srcdir)/::g' \
73 + tests/Makefile.am || die "sed failed"
74 +
75 + # Install Python modules into site-packages directories.
76 + find -name Makefile.am | xargs sed -i \
77 + -e "/^pybdir[[:space:]]*=[[:space:]]*/s:\$(datadir):$(python_get_sitedir):" || die "sed failed"
78 + sed -i -e "s:\@datapyb@:$(python_get_sitedir)/${PN}:" pybliographer.in || die
79 + sed -i \
80 + -e "s:gladedir = \$(datadir):gladedir = $(python_get_sitedir):" \
81 + Pyblio/GnomeUI/glade/Makefile.am || die "sed failed"
82 +
83 + gnome2_src_prepare
84 +}
85 +
86 +src_configure() {
87 + gnome2_src_configure \
88 + --disable-depchecks
89 +}
90 +
91 +src_install() {
92 + gnome2_src_install
93 + python_fix_shebang "${D}"
94 +}