Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygit2/
Date: Sat, 20 Apr 2019 23:24:46
Message-Id: 1555673640.ddc3f810065c306e24fe559791805a13f27f5ed2.mgorny@gentoo
1 commit: ddc3f810065c306e24fe559791805a13f27f5ed2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 19 11:34:00 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 19 11:34:00 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddc3f810
7
8 dev-python/pygit2: Bump to 0.28.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pygit2/Manifest | 1 +
13 dev-python/pygit2/pygit2-0.28.1.ebuild | 29 +++++++++++++++++++++++++++++
14 2 files changed, 30 insertions(+)
15
16 diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest
17 index 001dd663155..d78ddd69f4c 100644
18 --- a/dev-python/pygit2/Manifest
19 +++ b/dev-python/pygit2/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pygit2-0.26.4.tar.gz 477318 BLAKE2B d17ef799ff3eab3629194fe0fe90dcc335e40509c13f53bc8f8e0b01e93dc838ca474a5e4ef44c9be2eac7d08e98c735820e936cbbcb7f398f76f9732954bc69 SHA512 e459e47bfa8137421625633a731d49882d95a52d4f2d672f2c8efe7cd6cca4b33335ee77777a353b309df4917d9b29b30c1f9a96b7e226e3e7fe0cd34bbefce6
22 DIST pygit2-0.27.4.tar.gz 479157 BLAKE2B 5b650c7916127219ba18212f035793bb805adda570dd4a89cc7fcda8af581c7aa3916d2851117a5efe7b434dbe2e9ff103e37e69de5d158d0a58162b15f1e18b SHA512 046e8830d403d869418a8cf7f22549293e336fa1b8fc108489c3c2299316838724d1eebc8747005d594e1c6c3596aafa5192dd64a1f34e0a2d080c83214324da
23 +DIST pygit2-0.28.1.tar.gz 496243 BLAKE2B cfd9ddc8b1e5665016a2743bb0a2f6f5821e08a5173f7be4d99b11e1bf5bc0ba97a9d9fce7eb560f6394f30f23f7b7ce69abc5968ac2d566565c6b06b06f0f8f SHA512 46bb9d6150b7413311f26ea1aeae15cdcd22a2d5c4cafa17bd8a1c02dbf0c9a630cf89583e77a07be5c74334ac28a672de31290ba986476ded25e8a19abf7f3b
24
25 diff --git a/dev-python/pygit2/pygit2-0.28.1.ebuild b/dev-python/pygit2/pygit2-0.28.1.ebuild
26 new file mode 100644
27 index 00000000000..020409cd616
28 --- /dev/null
29 +++ b/dev-python/pygit2/pygit2-0.28.1.ebuild
30 @@ -0,0 +1,29 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
36 +
37 +inherit distutils-r1 eapi7-ver
38 +
39 +DESCRIPTION="Python bindings for libgit2"
40 +HOMEPAGE="https://github.com/libgit2/pygit2 https://pypi.org/project/pygit2/"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="GPL-2-with-linking-exception"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="test"
47 +RESTRICT="!test? ( test )"
48 +
49 +RDEPEND="
50 + =dev-libs/libgit2-$(ver_cut 1-2)*
51 + >=dev-python/cffi-1.0:=[${PYTHON_USEDEP}]
52 + dev-python/six[${PYTHON_USEDEP}]
53 +"
54 +DEPEND="${RDEPEND}
55 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
56 +
57 +python_test() {
58 + pytest -vv --import-mode=append test || die
59 +}