diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2021-10-16 16:46:33 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2021-10-16 16:47:47 +0300 |
commit | 0bd6d1d7e2074768c0b208cb46f28878991654e9 (patch) | |
tree | ef1ec5edb239e8dbf05c7f2642c2e9168d06242d /dev-python/github3 | |
parent | dev-python/betamax-matchers: enable tests, enable py3.10 (diff) | |
download | gentoo-0bd6d1d7e2074768c0b208cb46f28878991654e9.tar.gz gentoo-0bd6d1d7e2074768c0b208cb46f28878991654e9.tar.bz2 gentoo-0bd6d1d7e2074768c0b208cb46f28878991654e9.zip |
dev-python/github3: add 2.0.0, enable py3.10, EAPI=8
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/github3')
-rw-r--r-- | dev-python/github3/Manifest | 1 | ||||
-rw-r--r-- | dev-python/github3/github3-2.0.0.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/github3/Manifest b/dev-python/github3/Manifest index 94e50de93cb8..9c0b8ccbb109 100644 --- a/dev-python/github3/Manifest +++ b/dev-python/github3/Manifest @@ -1 +1,2 @@ DIST github3-1.3.0.tar.gz 35345711 BLAKE2B 37d5b574c228b9e3c7ddd60931140679dcfa2a410964d25cfa51d621a0bc72cf4c5340ae3565c0112a3f5373aa064bdc4663dc2d3c4fdf3d0008239bd3498362 SHA512 0568d9730764fb81975da2ba336f1cdb2196de687fe6e68cb3dc2ac432bbcb201f1d78647ac2606a105ea00e6b244cb79b7222f88ebf305a9b7783c2b21e5a1b +DIST github3-2.0.0.gh.tar.gz 35361555 BLAKE2B eafbabeb1557e55c27b268feaee4a0b49428ede7a419cb36163dc0437baa53a952b026971f07b30be2c33ed63d4c0b855369ee5260d4a3425e86dea101deea8c SHA512 92b044d0f0362c45773f8982043ab4e31cf180a955351fb9b035a8b2ed884330201d0cbb0e5f8f877c30cf6512f2e3864646a1bb1fe47e258a696720172d64b0 diff --git a/dev-python/github3/github3-2.0.0.ebuild b/dev-python/github3/github3-2.0.0.ebuild new file mode 100644 index 000000000000..e782c17ddde1 --- /dev/null +++ b/dev-python/github3/github3-2.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 |