summaryrefslogtreecommitdiff
path: root/dev-python/discogs-client
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/discogs-client')
-rw-r--r--dev-python/discogs-client/Manifest6
-rw-r--r--dev-python/discogs-client/discogs-client-2.3.13.ebuild32
-rw-r--r--dev-python/discogs-client/discogs-client-9999.ebuild15
-rw-r--r--dev-python/discogs-client/metadata.xml33
4 files changed, 60 insertions, 26 deletions
diff --git a/dev-python/discogs-client/Manifest b/dev-python/discogs-client/Manifest
index 9997d6c61b99..0ec4e5304616 100644
--- a/dev-python/discogs-client/Manifest
+++ b/dev-python/discogs-client/Manifest
@@ -1,4 +1,6 @@
DIST discogs-client-2.3.12.tar.gz 32604 BLAKE2B 6c7960263d0158fc796edd76f6ccc549d582cbd96666cbf3ae10a3215eee6464c857e1b46c8e76ad2a48308ae9353c347a421189b3c754bd23a0f2ec455d9cfa SHA512 c14ea953e92f2d77909a7af8f840ee5a1df2416e16f6de0b7f0e988f6ef56a07fc04c75b247508dc0d1b5f7033faf6cce80196b610d1169a23350d3e816e2925
+DIST python3-discogs-client-2.3.13.tar.gz 34228 BLAKE2B 621e181bc07c48ca387638fd49bf1b92fc06e1f3b57428a13bdf93c634ceadb8c128dc9c48bebed4d2ef774d301ab70d43935efa903365a1df5ccb6991b689b3 SHA512 7fd3f98c1374173c54d3f4731fcb093548b85ca7c0d5d3396e40733e64306eb29e14b5de0d30269ad92cb0a0b8bbbfeb8b739454e251638472b8c7ffaff4d27e
EBUILD discogs-client-2.3.12-r1.ebuild 831 BLAKE2B a2b7f9fa3faeafbfb0fe3c49f3835de84c2a62d3284a898231a041aa817f4bd500fae58addddc1030ce966613efaa64523777da9950e4af7f6667c552ccde607 SHA512 9b084c7869772ec6f24767fc1a4bf75f1f0f4ca8b5b0a90a167b52dfc529c29f00bfc8404c04a0e5e3af582d24fcf780f4249ddf0bdcb1909a35290934959c60
-EBUILD discogs-client-9999.ebuild 831 BLAKE2B a2b7f9fa3faeafbfb0fe3c49f3835de84c2a62d3284a898231a041aa817f4bd500fae58addddc1030ce966613efaa64523777da9950e4af7f6667c552ccde607 SHA512 9b084c7869772ec6f24767fc1a4bf75f1f0f4ca8b5b0a90a167b52dfc529c29f00bfc8404c04a0e5e3af582d24fcf780f4249ddf0bdcb1909a35290934959c60
-MISC metadata.xml 674 BLAKE2B f650b55cf747e0de8b27fa7d81425d38ef4affc8fe66bdc8576c465dd439a42b9d4a77877b537bd613a9ef763e6b8c7a964aa8cbb4f95cf7d56f83f44f28a1dc SHA512 7cebef696c544522fffd5733334b48a018fec3305c679cde653eb7155ff1a48087126c0511399810ed4f33c9d3953fd7b372197bae737f9d0df0db8a22f12a0a
+EBUILD discogs-client-2.3.13.ebuild 804 BLAKE2B f5811b7fdf77bfb8413b91b961e7f2353209483482da500ceab2f58cc98d5a10d5d07d290ac78629cded94ebcbea4c4a9b3d8a90b81c108d210f8a6a2537d1af SHA512 d5951e8fcee30ea6d9d670e814d4fb866821a9fbcba9a3c5ba9e9964a9baf4f19ace5f5a21847df207abcf6c322852d24592bec0d05e7242446a560a38830989
+EBUILD discogs-client-9999.ebuild 804 BLAKE2B f5811b7fdf77bfb8413b91b961e7f2353209483482da500ceab2f58cc98d5a10d5d07d290ac78629cded94ebcbea4c4a9b3d8a90b81c108d210f8a6a2537d1af SHA512 d5951e8fcee30ea6d9d670e814d4fb866821a9fbcba9a3c5ba9e9964a9baf4f19ace5f5a21847df207abcf6c322852d24592bec0d05e7242446a560a38830989
+MISC metadata.xml 674 BLAKE2B 5c0dd431ad4633cbc7ddaa97e54e9f5b3eb67ed28e07ac313f218fd055e0042365c270e83153627decd196aca49db12304da87f2c74f20bc454fd8e5b4b8fb46 SHA512 ad582419be3887c5fa3c0d630ad32575f378453dd4f7a8c33df91db31b495caa88707214f7e456d69027532540a474c41ad8336b40e90229f1f31cd3193d7f82
diff --git a/dev-python/discogs-client/discogs-client-2.3.13.ebuild b/dev-python/discogs-client/discogs-client-2.3.13.ebuild
new file mode 100644
index 000000000000..2ca0f4090ab6
--- /dev/null
+++ b/dev-python/discogs-client/discogs-client-2.3.13.ebuild
@@ -0,0 +1,32 @@
+# 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
+
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/joalla/discogs_client.git"
+ inherit git-r3
+else
+ SRC_URI="mirror://pypi/p/python3-${PN}/python3-${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/python3-${P}"
+fi
+
+DESCRIPTION="Continuation of the official Python API client for Discogs"
+HOMEPAGE="https://github.com/joalla/discogs_client
+ https://pypi.org/project/python3-discogs-client/"
+
+LICENSE="BSD-2"
+SLOT="0"
+
+RDEPEND="
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/oauthlib[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest
diff --git a/dev-python/discogs-client/discogs-client-9999.ebuild b/dev-python/discogs-client/discogs-client-9999.ebuild
index 36b9175dec97..2ca0f4090ab6 100644
--- a/dev-python/discogs-client/discogs-client-9999.ebuild
+++ b/dev-python/discogs-client/discogs-client-9999.ebuild
@@ -1,25 +1,24 @@
-# Copyright 1999-2021 Gentoo Authors
+# 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
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/joalla/discogs_client.git"
inherit git-r3
else
- MY_PN='python3-discogs-client'
- MY_P=${MY_PN}-${PV}
- SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="mirror://pypi/p/python3-${PN}/python3-${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}/${MY_P}"
+ S="${WORKDIR}/python3-${P}"
fi
DESCRIPTION="Continuation of the official Python API client for Discogs"
-HOMEPAGE="https://github.com/joalla/discogs_client https://pypi.org/project/python3-discogs-client/"
+HOMEPAGE="https://github.com/joalla/discogs_client
+ https://pypi.org/project/python3-discogs-client/"
LICENSE="BSD-2"
SLOT="0"
@@ -30,4 +29,4 @@ RDEPEND="
dev-python/python-dateutil[${PYTHON_USEDEP}]
"
-distutils_enable_tests nose
+distutils_enable_tests unittest
diff --git a/dev-python/discogs-client/metadata.xml b/dev-python/discogs-client/metadata.xml
index ca3a0b5ac6ae..d0e42c50c28e 100644
--- a/dev-python/discogs-client/metadata.xml
+++ b/dev-python/discogs-client/metadata.xml
@@ -1,20 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
- <maintainer type="person" proxied="yes">
- <email>guillaumeseren@gmail.com</email>
- <name>Guillaume Seren</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <upstream>
- <remote-id type="pypi">python3-discogs-client</remote-id>
- <remote-id type="github">joalla/discogs_client</remote-id>
- </upstream>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>guillaumeseren@gmail.com</email>
+ <name>Guillaume Seren</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">python3-discogs-client</remote-id>
+ <remote-id type="github">joalla/discogs_client</remote-id>
+ </upstream>
</pkgmetadata>