summaryrefslogtreecommitdiff
path: root/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-06-02 23:54:51 +0200
committerMichał Górny <mgorny@gentoo.org>2018-06-03 00:45:10 +0200
commit8455da2b7f056979d048785a9d07825872925378 (patch)
treea79fa83e6c97ca3055689f1591c4c44e9ce9cc9e /dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild
parentdd009ff247db86da123861fac63bb5ddf4915e4d (diff)
downloadgentoo-8455da2b7f056979d048785a9d07825872925378.tar.gz
gentoo-8455da2b7f056979d048785a9d07825872925378.tar.bz2
gentoo-8455da2b7f056979d048785a9d07825872925378.zip
dev-python/PyGithub: Bump to 1.40a4
Diffstat (limited to 'dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild')
-rw-r--r--dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild b/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild
new file mode 100644
index 000000000000..de37d5592fd4
--- /dev/null
+++ b/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild
@@ -0,0 +1,29 @@
+# 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
+
+MY_PV=${PV/_alpha/a}
+MY_P=${PN}-${MY_PV}
+
+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${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/pyjwt[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${MY_P}
+
+python_test() {
+ esetup.py test
+}