1 |
commit: a551494af6ad33515709b33b6d0922062f8b83fe |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 17 06:40:29 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 17 06:58:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a551494a |
7 |
|
8 |
dev-python/pygit2: Bump to 0.27.2 |
9 |
|
10 |
dev-python/pygit2/Manifest | 1 + |
11 |
dev-python/pygit2/pygit2-0.27.2.ebuild | 31 +++++++++++++++++++++++++++++++ |
12 |
2 files changed, 32 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest |
15 |
index 0e0c239416e..338e0ea9209 100644 |
16 |
--- a/dev-python/pygit2/Manifest |
17 |
+++ b/dev-python/pygit2/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST pygit2-0.26.4.tar.gz 477318 BLAKE2B d17ef799ff3eab3629194fe0fe90dcc335e40509c13f53bc8f8e0b01e93dc838ca474a5e4ef44c9be2eac7d08e98c735820e936cbbcb7f398f76f9732954bc69 SHA512 e459e47bfa8137421625633a731d49882d95a52d4f2d672f2c8efe7cd6cca4b33335ee77777a353b309df4917d9b29b30c1f9a96b7e226e3e7fe0cd34bbefce6 |
20 |
DIST pygit2-0.27.1.tar.gz 477820 BLAKE2B e4db7bfa484c28130ce48a2b23a0af26a715d15a789998001182f7d5c426a7f0d432d8e6f598346ce417b2c3532eb2a3407ebcfd9d48723a1e6359a30574d46c SHA512 9d889c13ad55e6c65e24b334f114f7d23b90961ae21c5b1f7bd8d85d44686f7ee8e98c13026c612c9a5feb500a54cf77bfa1e2bd165c657b58d879511622e6f7 |
21 |
+DIST pygit2-0.27.2.tar.gz 477237 BLAKE2B 68fc1e9d9456e4a9d6eaaf00963d02704282de2a9deb1af946ee0c7c69be22fc904b8e80fe243987a3dddb9a0e5365fdf5e336b9dca829dcd9843c2035db42c9 SHA512 f6578a3694babe7837a5ccc4c99e2fa1827b5f67815f2cac6f3b3d0498d94a0ffeb55d3c6e9c9417d47ecbf0ad9a10302e3b59ea0d2e9eec6d9da8426b10175b |
22 |
|
23 |
diff --git a/dev-python/pygit2/pygit2-0.27.2.ebuild b/dev-python/pygit2/pygit2-0.27.2.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000000..b4668c6c371 |
26 |
--- /dev/null |
27 |
+++ b/dev-python/pygit2/pygit2-0.27.2.ebuild |
28 |
@@ -0,0 +1,31 @@ |
29 |
+# Copyright 1999-2018 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI=6 |
33 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) |
34 |
+ |
35 |
+inherit distutils-r1 eapi7-ver |
36 |
+ |
37 |
+DESCRIPTION="Python bindings for libgit2" |
38 |
+HOMEPAGE="https://github.com/libgit2/pygit2 https://pypi.org/project/pygit2/" |
39 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="GPL-2-with-linking-exception" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+ |
45 |
+RDEPEND=" |
46 |
+ =dev-libs/libgit2-$(ver_cut 1-2)* |
47 |
+ >=dev-python/cffi-1.0:=[${PYTHON_USEDEP}] |
48 |
+ dev-python/six[${PYTHON_USEDEP}] |
49 |
+" |
50 |
+DEPEND="${RDEPEND}" |
51 |
+ |
52 |
+python_prepare_all() { |
53 |
+ sed -i -e '/pycparser/s:<2.18::' setup.py || die |
54 |
+ distutils-r1_python_prepare_all |
55 |
+} |
56 |
+ |
57 |
+python_test() { |
58 |
+ esetup.py test --args='-v' |
59 |
+} |