Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-bibtex/
Date: Fri, 01 Mar 2019 00:26:51
Message-Id: 1551399993.3d35fc08e14449266e25bbb11de8db6e9de8951e.bman@gentoo
1 commit: 3d35fc08e14449266e25bbb11de8db6e9de8951e
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Wed Jan 30 16:49:25 2019 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 1 00:26:33 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d35fc08
7
8 dev-python/python-bibtex: use HTTPS, EAPI7, add missing die
9
10 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
11 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
12
13 dev-python/python-bibtex/python-bibtex-1.2.7-r1.ebuild | 4 ++--
14 ...ex-1.2.7-r1.ebuild => python-bibtex-1.2.7-r2.ebuild} | 17 ++++++++---------
15 2 files changed, 10 insertions(+), 11 deletions(-)
16
17 diff --git a/dev-python/python-bibtex/python-bibtex-1.2.7-r1.ebuild b/dev-python/python-bibtex/python-bibtex-1.2.7-r1.ebuild
18 index 6b44d83e324..d318ec5b963 100644
19 --- a/dev-python/python-bibtex/python-bibtex-1.2.7-r1.ebuild
20 +++ b/dev-python/python-bibtex/python-bibtex-1.2.7-r1.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2015 Gentoo Foundation
23 +# Copyright 1999-2019 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=5
27 @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
28 inherit distutils-r1 eutils
29
30 DESCRIPTION="A Python extension to parse BibTeX files"
31 -HOMEPAGE="http://pybliographer.org/"
32 +HOMEPAGE="https://pybliographer.org/"
33 SRC_URI="mirror://sourceforge/pybliographer/${P}.tar.gz"
34
35 LICENSE="GPL-2"
36
37 diff --git a/dev-python/python-bibtex/python-bibtex-1.2.7-r1.ebuild b/dev-python/python-bibtex/python-bibtex-1.2.7-r2.ebuild
38 similarity index 64%
39 copy from dev-python/python-bibtex/python-bibtex-1.2.7-r1.ebuild
40 copy to dev-python/python-bibtex/python-bibtex-1.2.7-r2.ebuild
41 index 6b44d83e324..d514f638cca 100644
42 --- a/dev-python/python-bibtex/python-bibtex-1.2.7-r1.ebuild
43 +++ b/dev-python/python-bibtex/python-bibtex-1.2.7-r2.ebuild
44 @@ -1,30 +1,29 @@
45 -# Copyright 1999-2015 Gentoo Foundation
46 +# Copyright 1999-2019 Gentoo Authors
47 # Distributed under the terms of the GNU General Public License v2
48
49 -EAPI=5
50 +EAPI=7
51
52 PYTHON_COMPAT=( python2_7 )
53
54 -inherit distutils-r1 eutils
55 +inherit distutils-r1
56
57 DESCRIPTION="A Python extension to parse BibTeX files"
58 -HOMEPAGE="http://pybliographer.org/"
59 +HOMEPAGE="https://pybliographer.org/"
60 SRC_URI="mirror://sourceforge/pybliographer/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 -KEYWORDS="amd64 ppc x86"
65 -IUSE=""
66 +KEYWORDS="~amd64 ~ppc ~x86"
67
68 RDEPEND="
69 dev-libs/glib:2
70 >=app-text/recode-3.6-r1"
71 -DEPEND="${RDEPEND}
72 - virtual/pkgconfig"
73 +DEPEND="${RDEPEND}"
74 +BDEPEND="virtual/pkgconfig"
75
76 python_prepare_all() {
77 # Disable tests during installation.
78 - sed -e "/self.run_command ('check')/d" -i setup.py
79 + sed -e "/self.run_command ('check')/d" -i setup.py || die
80
81 distutils-r1_python_prepare_all
82 }