summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-06-02 23:42:18 +0200
committerMichał Górny <mgorny@gentoo.org>2018-06-03 00:45:08 +0200
commitdd009ff247db86da123861fac63bb5ddf4915e4d (patch)
tree644a5866979af5df6feff18759ab20b73a9d9402 /dev-python/PyGithub/PyGithub-1.39.ebuild
parentdev-python/PyGithub: Adopt (diff)
downloadgentoo-dd009ff247db86da123861fac63bb5ddf4915e4d.tar.gz
gentoo-dd009ff247db86da123861fac63bb5ddf4915e4d.tar.bz2
gentoo-dd009ff247db86da123861fac63bb5ddf4915e4d.zip
dev-python/PyGithub: Bump to 1.39
Diffstat (limited to 'dev-python/PyGithub/PyGithub-1.39.ebuild')
-rw-r--r--dev-python/PyGithub/PyGithub-1.39.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/PyGithub/PyGithub-1.39.ebuild b/dev-python/PyGithub/PyGithub-1.39.ebuild
new file mode 100644
index 000000000000..eb109f4a9b78
--- /dev/null
+++ b/dev-python/PyGithub/PyGithub-1.39.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python library to access the Github API v3"
+HOMEPAGE="https://github.com/PyGithub/PyGithub/"
+# Use github since pypi is missing test data
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/pyjwt[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+ esetup.py test
+}