dev-python/PyGithub: Bump to 1.40a4
authorMichał Górny <mgorny@gentoo.org>
Sat, 2 Jun 2018 21:54:51 +0000 (23:54 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 2 Jun 2018 22:45:10 +0000 (00:45 +0200)
dev-python/PyGithub/Manifest
dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild [new file with mode: 0644]

index c5bcd4a36c5685700ec22dc113d2988848a9b99f..8560ea327dd96f5f56ef9ffd54549e5b4d68071b 100644 (file)
@@ -1,3 +1,4 @@
 DIST PyGithub-1.28.tar.gz 2662625 BLAKE2B 86d972c51be81bd1f52ea18d89d22c207b0327ad9c4cc39da3aa8996ec280a164f270256c87718676d8ed2501c9ff7819a59df1ec9c7ddb5db794d141f0ed103 SHA512 e1d9f6f473d757074220f4ec6a96f0e0a6de89af6436b8f0ab30ed22eb24b0955f0b64e6b25eae36bfe19bce580677552aedc82a7749520c5b1baac03428db7d
 DIST PyGithub-1.35.tar.gz 2677633 BLAKE2B c034ba44e203bf15c47f54087294295f302ea5deaabcaf09f8420a9b0a7fb51bfd6b2f7b64cf2c25004e146d8208cd0d90d2cb8baf2776de25f23ed15a2e7887 SHA512 d852f459e5514310ac7bbb3cd9742a7269f9ea5c3e0fdfb0f385616fa31d35b72b19f63b650c60241c5e2f29860ddc35caa907a623c661bc77a29dfe4da3613b
 DIST PyGithub-1.39.tar.gz 2662602 BLAKE2B 5e3e4ca2483e7ade968f170e7615258b4bcca0f1c6741146c38b3c7405fb1fb66351fa5686863892a6751bc4cb6ea39b6cf4ec0d8e6cc878b302c87512c9d159 SHA512 5fa6e5a1b8e7cbe2be13e7f866ce8586f6ba37bfc8f3bfb5a52497a9edc267c14512e4572f56e898c61b8c84dfc8aa8f325c5eb2563e68450b8a3b2acf8308d4
+DIST PyGithub-1.40a4.tar.gz 2668409 BLAKE2B 5638f228620fc5c6741f79e3272ba374a71b1a0a9fe3d6f0edd45a7b0468fd4ed1a6fe967d37e6169a4cfc90a3f084c948f0d72592cd225569275a3d8ae3546a SHA512 6d832e2a101a80e2b0aec45a99ec2f28d9d64d130bf23f291a643bc8450a86c4ed9296a005de000c975e28d91d52e648937abb09399554b9d17988fd58f280e7
diff --git a/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild b/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild
new file mode 100644 (file)
index 0000000..de37d55
--- /dev/null
@@ -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
+}