summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/github3/Manifest1
-rw-r--r--dev-python/github3/github3-3.0.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/github3/Manifest b/dev-python/github3/Manifest
index d32175823fe6..88b6d3e23457 100644
--- a/dev-python/github3/Manifest
+++ b/dev-python/github3/Manifest
@@ -1 +1,2 @@
DIST github3-2.0.0.gh.tar.gz 35361555 BLAKE2B eafbabeb1557e55c27b268feaee4a0b49428ede7a419cb36163dc0437baa53a952b026971f07b30be2c33ed63d4c0b855369ee5260d4a3425e86dea101deea8c SHA512 92b044d0f0362c45773f8982043ab4e31cf180a955351fb9b035a8b2ed884330201d0cbb0e5f8f877c30cf6512f2e3864646a1bb1fe47e258a696720172d64b0
+DIST github3-3.0.0.gh.tar.gz 35410027 BLAKE2B d5da6c7a4612879646af7bfe82ac899c3894c0ecba9d6bf2d467ff497431ddabbbb342a5895d55bee56a03a6ea4b12bb989a903bdef31998da4382619810a9bd SHA512 67b8d30ec44a38344117a2d28f4eed1d86ddc4ffda68e36da9d6540ef4fe57a544e9d793d278a289f61e8874271b3ee21da0d742d9a7463cceccd4f1384669d5
diff --git a/dev-python/github3/github3-3.0.0.ebuild b/dev-python/github3/github3-3.0.0.ebuild
new file mode 100644
index 000000000000..e782c17ddde1
--- /dev/null
+++ b/dev-python/github3/github3-3.0.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="A wrapper for the GitHub API written in python"
+HOMEPAGE="https://github3py.readthedocs.io/en/master/"
+SRC_URI="
+ https://github.com/sigmavirus24/${PN}.py/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+S="${WORKDIR}/${PN}.py-${PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-vcs/git
+ >=dev-python/requests-2.18.0[${PYTHON_USEDEP}]
+ >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
+ >=dev-python/python-dateutil-2.6.0[${PYTHON_USEDEP}]
+ >=dev-python/jwcrypto-0.5.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/betamax-0.8.0[${PYTHON_USEDEP}]
+ >=dev-python/betamax-matchers-0.1.0[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest