diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-02-24 19:01:47 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-02-24 19:58:19 +0200 |
commit | 47d95c85886031ee416a28709fa7516953468bdc (patch) | |
tree | 717f37c4a0ee71a2448d712cb3660081f189337a /dev-python/github3 | |
parent | dev-python/xxhash: add 3.0.0 (diff) | |
download | gentoo-47d95c85886031ee416a28709fa7516953468bdc.tar.gz gentoo-47d95c85886031ee416a28709fa7516953468bdc.tar.bz2 gentoo-47d95c85886031ee416a28709fa7516953468bdc.zip |
dev-python/github3: add 3.1.2
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-3.1.2.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/github3/Manifest b/dev-python/github3/Manifest index 26e235570bfd..d2ae5c9a0e90 100644 --- a/dev-python/github3/Manifest +++ b/dev-python/github3/Manifest @@ -1,3 +1,4 @@ DIST github3-3.0.0.gh.tar.gz 35410027 BLAKE2B d5da6c7a4612879646af7bfe82ac899c3894c0ecba9d6bf2d467ff497431ddabbbb342a5895d55bee56a03a6ea4b12bb989a903bdef31998da4382619810a9bd SHA512 67b8d30ec44a38344117a2d28f4eed1d86ddc4ffda68e36da9d6540ef4fe57a544e9d793d278a289f61e8874271b3ee21da0d742d9a7463cceccd4f1384669d5 DIST github3-3.1.0.gh.tar.gz 35518951 BLAKE2B f5e804f2e475cda88423a5ffaa36c1a1d92501dae9a7746f7cb1ef252b3a035db36f84929bfb9ea368a008aad8f5c08e70df9a63bc5e6b543d31ddd0e8549632 SHA512 6410f7e38c23ae654e5e8af3b3f2e4511960d19ce37f170283878e1f71349d0affb094b18b869cba79868666dc10e18a00d9182e2990f943c64814fbd3eea82c DIST github3-3.1.1.gh.tar.gz 35520342 BLAKE2B d06a5121bb034c9ac18c88e3affb9414d6802aba8dd69339c7c17ffb0897e18beac7a004dd3f328c7b4f4bfc91b9bf4e23c8cb33d145a2adbc961896659c8e27 SHA512 45c775c6070088a0e73ba353d6fc4d8c7f5e709884caf9116a10faa3de21d1e4e184d5563a741b2f8f60d16ac72304441d7004a5c81680b7ea2660d26fc3758d +DIST github3-3.1.2.gh.tar.gz 35519407 BLAKE2B 392f34a6f74c6536113a8eb9511d38e40ce9c45ba078322d61fe8bdf9555ab5c440bccd6776c695d68034743d02eb0b80f3d84347c50b4753c7e50f982d08666 SHA512 ebb65229e82b3f3874fc556b2e323add81def711810725fd7e0ad991578de1ce1a0e38fee2bab54073079abae3ed666bbed5408ae26e9ca788a99704df4ab0af diff --git a/dev-python/github3/github3-3.1.2.ebuild b/dev-python/github3/github3-3.1.2.ebuild new file mode 100644 index 000000000000..3619477f0fdb --- /dev/null +++ b/dev-python/github3/github3-3.1.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +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/pyjwt-2.3.0[${PYTHON_USEDEP}] +" +# via PyJWT[crypto] +RDEPEND+=" + >=dev-python/cryptography-3.3.1[${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 + +src_prepare() { + sed -i -e '/addopts/d' tox.ini || die + distutils-r1_src_prepare +} |