diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-01-20 10:38:37 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-01-20 11:41:50 +0100 |
commit | 3cd5165d0e39a997188cb128c634beed3e531df7 (patch) | |
tree | 548dbb82e85740227e16646cbdc95ed18c1c2d56 /dev-python | |
parent | dev-python/cython: Bump to 0.29.3 (diff) | |
download | gentoo-3cd5165d0e39a997188cb128c634beed3e531df7.tar.gz gentoo-3cd5165d0e39a997188cb128c634beed3e531df7.tar.bz2 gentoo-3cd5165d0e39a997188cb128c634beed3e531df7.zip |
dev-python/pygit2: Bump to 0.27.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pygit2/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pygit2/pygit2-0.27.4.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/pygit2/Manifest b/dev-python/pygit2/Manifest index 4f8e64c62738..46b5b890864f 100644 --- a/dev-python/pygit2/Manifest +++ b/dev-python/pygit2/Manifest @@ -1,2 +1,3 @@ DIST pygit2-0.26.4.tar.gz 477318 BLAKE2B d17ef799ff3eab3629194fe0fe90dcc335e40509c13f53bc8f8e0b01e93dc838ca474a5e4ef44c9be2eac7d08e98c735820e936cbbcb7f398f76f9732954bc69 SHA512 e459e47bfa8137421625633a731d49882d95a52d4f2d672f2c8efe7cd6cca4b33335ee77777a353b309df4917d9b29b30c1f9a96b7e226e3e7fe0cd34bbefce6 DIST pygit2-0.27.2.tar.gz 477237 BLAKE2B 68fc1e9d9456e4a9d6eaaf00963d02704282de2a9deb1af946ee0c7c69be22fc904b8e80fe243987a3dddb9a0e5365fdf5e336b9dca829dcd9843c2035db42c9 SHA512 f6578a3694babe7837a5ccc4c99e2fa1827b5f67815f2cac6f3b3d0498d94a0ffeb55d3c6e9c9417d47ecbf0ad9a10302e3b59ea0d2e9eec6d9da8426b10175b +DIST pygit2-0.27.4.tar.gz 479157 BLAKE2B 5b650c7916127219ba18212f035793bb805adda570dd4a89cc7fcda8af581c7aa3916d2851117a5efe7b434dbe2e9ff103e37e69de5d158d0a58162b15f1e18b SHA512 046e8830d403d869418a8cf7f22549293e336fa1b8fc108489c3c2299316838724d1eebc8747005d594e1c6c3596aafa5192dd64a1f34e0a2d080c83214324da diff --git a/dev-python/pygit2/pygit2-0.27.4.ebuild b/dev-python/pygit2/pygit2-0.27.4.ebuild new file mode 100644 index 000000000000..bc0bb7e5f0aa --- /dev/null +++ b/dev-python/pygit2/pygit2-0.27.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) + +inherit distutils-r1 eapi7-ver + +DESCRIPTION="Python bindings for libgit2" +HOMEPAGE="https://github.com/libgit2/pygit2 https://pypi.org/project/pygit2/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2-with-linking-exception" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + =dev-libs/libgit2-$(ver_cut 1-2)* + >=dev-python/cffi-1.0:=[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}]" + +python_prepare_all() { + sed -i -e '/pycparser/s:<2.18::' setup.py || die + distutils-r1_python_prepare_all +} + +python_test() { + pytest -vv --import-mode=append test || die +} |