summaryrefslogtreecommitdiff
path: root/dev-python/pygit2/pygit2-0.26.1.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-11-21 08:23:12 +0100
committerMichał Górny <mgorny@gentoo.org>2017-11-21 18:47:52 +0100
commit5f724dc180b9228b5903da3f00e91c6e1a6a1fda (patch)
tree49a76713e41bb95100e61a413df7d0a7aebb0e1d /dev-python/pygit2/pygit2-0.26.1.ebuild
parent204e8d83adac6b4fbdb8cc437996eb7316239a2e (diff)
downloadgentoo-5f724dc180b9228b5903da3f00e91c6e1a6a1fda.tar.gz
gentoo-5f724dc180b9228b5903da3f00e91c6e1a6a1fda.tar.bz2
gentoo-5f724dc180b9228b5903da3f00e91c6e1a6a1fda.zip
dev-python/pygit2: Bump to 0.26.1
Diffstat (limited to 'dev-python/pygit2/pygit2-0.26.1.ebuild')
-rw-r--r--dev-python/pygit2/pygit2-0.26.1.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/pygit2/pygit2-0.26.1.ebuild b/dev-python/pygit2/pygit2-0.26.1.ebuild
new file mode 100644
index 0000000000000..d121e89b72192
--- /dev/null
+++ b/dev-python/pygit2/pygit2-0.26.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1 eapi7-ver
+
+DESCRIPTION="Python bindings for libgit2"
+HOMEPAGE="https://github.com/libgit2/pygit2 https://pypi.python.org/pypi/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}"
+
+PATCHES=(
+ "${FILESDIR}"/pygit2-0.26.1-internet-tests.patch
+)
+
+python_test() {
+ esetup.py test --args='-v'
+}