commit:     c7fce02d099dfaaab711687196abe5c103e658de
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 12 18:19:37 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun 12 18:28:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7fce02d

dev-python/jikanpy: Use PEP517 build

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/jikanpy/Manifest                |  1 +
 dev-python/jikanpy/jikanpy-4.3.2-r1.ebuild | 39 ++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-python/jikanpy/Manifest b/dev-python/jikanpy/Manifest
index fbc8a9e4677d..4e4aea45b962 100644
--- a/dev-python/jikanpy/Manifest
+++ b/dev-python/jikanpy/Manifest
@@ -1 +1,2 @@
+DIST jikanpy-4.3.2.gh.tar.gz 726102 BLAKE2B 
754a174a5c67852701e94d817ab84462cbd1aff9f18737cdf5c7a1e20c91ca325d7c34dfd9467ff337d24fd7d3896880137f0695afeff5a436b0d40a96d4c89d
 SHA512 
48dcf154f5b438b9381eb7d37a5a603d77793c2e2a7f17b4315e3f44a735c83bec076ee44969002a5ad2cbdd6b5cf83287b961f5d96603ddbd6c534db78ee3a1
 DIST jikanpy-4.3.2.tar.gz 726102 BLAKE2B 
754a174a5c67852701e94d817ab84462cbd1aff9f18737cdf5c7a1e20c91ca325d7c34dfd9467ff337d24fd7d3896880137f0695afeff5a436b0d40a96d4c89d
 SHA512 
48dcf154f5b438b9381eb7d37a5a603d77793c2e2a7f17b4315e3f44a735c83bec076ee44969002a5ad2cbdd6b5cf83287b961f5d96603ddbd6c534db78ee3a1

diff --git a/dev-python/jikanpy/jikanpy-4.3.2-r1.ebuild 
b/dev-python/jikanpy/jikanpy-4.3.2-r1.ebuild
new file mode 100644
index 000000000000..086cd6ff1d64
--- /dev/null
+++ b/dev-python/jikanpy/jikanpy-4.3.2-r1.ebuild
@@ -0,0 +1,39 @@
+# 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="Python wrapper for jikan.moe API"
+HOMEPAGE="
+       https://github.com/abhinavk99/jikanpy/
+       https://pypi.org/project/jikanpy/
+"
+SRC_URI="
+       https://github.com/abhinavk99/jikanpy/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       dev-python/aiohttp[${PYTHON_USEDEP}]
+       dev-python/requests[${PYTHON_USEDEP}]
+       dev-python/simplejson[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+               dev-python/vcrpy[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+       dev-python/alabaster

Reply via email to