summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Karbowski <slashbeast@gentoo.org>2021-02-28 20:13:09 +0100
committerPiotr Karbowski <slashbeast@gentoo.org>2021-02-28 20:13:54 +0100
commitd16a7010c4aab817ba86f85a8e93f327a40ca902 (patch)
treeacaf49e50223c82482ce11a04952f926da7aa2d4 /dev-python/jikanpy
parentdev-lang/ghc: bump up to 8.10.4 (no keywords yet) (diff)
downloadgentoo-d16a7010c4aab817ba86f85a8e93f327a40ca902.tar.gz
gentoo-d16a7010c4aab817ba86f85a8e93f327a40ca902.tar.bz2
gentoo-d16a7010c4aab817ba86f85a8e93f327a40ca902.zip
dev-python/jikanpy: version bump; py39; drop old; tests.
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'dev-python/jikanpy')
-rw-r--r--dev-python/jikanpy/Manifest3
-rw-r--r--dev-python/jikanpy/jikanpy-4.2.2.ebuild22
-rw-r--r--dev-python/jikanpy/jikanpy-4.3.1.ebuild (renamed from dev-python/jikanpy/jikanpy-4.2.1.ebuild)14
3 files changed, 14 insertions, 25 deletions
diff --git a/dev-python/jikanpy/Manifest b/dev-python/jikanpy/Manifest
index 22105430962c..d58b025c4def 100644
--- a/dev-python/jikanpy/Manifest
+++ b/dev-python/jikanpy/Manifest
@@ -1,2 +1 @@
-DIST jikanpy-4.2.1.tar.gz 536588 BLAKE2B f6bf531cc57814d2740e1d325bc521dc92651a1a467b65277086130d9c00de7b592e81a7f82e12cb35ac8d8c7f1bcc6201f945ab9c49befb8b89093e627eacc1 SHA512 7f690745a790836ddae95aaffdaa59ea60d0c2b2d9c64be7548372719c826239d3d650931652ca75d8e35f1d4354c0b80ebf0d7e80a4fa4b65ec3bbd4bef1cd5
-DIST jikanpy-4.2.2.tar.gz 536658 BLAKE2B b8f34f506aa93c68586d59d0ba37e1731e509f8ce2e0cd4f157b6ea5ae8b333271f528992998c92c19e08358ca14508a2bfae6fa167a750bb732fbcd3ccb13d3 SHA512 117aed3c968214aae659437b795cd4e326e0d94a536005861edad861b6e08d50be346063d1d75c3874ae2d1b3670cfa2ab566e340aa58ff6137a94dbd6369bed
+DIST jikanpy-4.3.1.tar.gz 725938 BLAKE2B 5e011ae4b6d267ad6a6a99b2d28a3f11c4b8949cc1682524d966ac441cce9c527465455573ec873360865f9b913bc14b5c4448ee681540a01bbb95f67c38dec2 SHA512 43170c3512393c50fd859e7481cdd6cce874bd54415959c0660d0804f10546bd22b836bf3c27a86946fc771e92192e28dd8ee02c71796f799b4cf748102d5e3f
diff --git a/dev-python/jikanpy/jikanpy-4.2.2.ebuild b/dev-python/jikanpy/jikanpy-4.2.2.ebuild
deleted file mode 100644
index 0f87ecf04f6a..000000000000
--- a/dev-python/jikanpy/jikanpy-4.2.2.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-inherit distutils-r1
-
-DESCRIPTION="Python wrapper for jikan.moe API."
-HOMEPAGE="https://pypi.org/project/jikanpy/"
-SRC_URI="https://github.com/abhinavk99/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- dev-python/aiohttp[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/simplejson[${PYTHON_USEDEP}]
-"
diff --git a/dev-python/jikanpy/jikanpy-4.2.1.ebuild b/dev-python/jikanpy/jikanpy-4.3.1.ebuild
index 0f87ecf04f6a..8dac8ee8e239 100644
--- a/dev-python/jikanpy/jikanpy-4.2.1.ebuild
+++ b/dev-python/jikanpy/jikanpy-4.3.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
inherit distutils-r1
DESCRIPTION="Python wrapper for jikan.moe API."
@@ -15,8 +15,20 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
+BDEPEND="
+ test? ( dev-python/vcrpy )
+"
+
RDEPEND="
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/simplejson[${PYTHON_USEDEP}]
"
+
+distutils_enable_tests pytest
+
+src_install() {
+ distutils-r1_src_install
+
+ rm "$D"/usr/CHANGELOG.md
+}