commit:     a846265b5ade723282f2c362140207d578fb55b4
Author:     Guillaume Seren <guillaumeseren <AT> gmail <DOT> com>
AuthorDate: Wed May 26 10:46:29 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun  1 00:27:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a846265b

dev-python/discogs-client: Add live-ebuild

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Closes: https://bugs.gentoo.org/790215
Signed-off-by: Guillaume Seren <guillaumeseren <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../discogs-client/discogs-client-9999.ebuild      | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/dev-python/discogs-client/discogs-client-9999.ebuild 
b/dev-python/discogs-client/discogs-client-9999.ebuild
new file mode 100644
index 00000000000..e9fcd94f285
--- /dev/null
+++ b/dev-python/discogs-client/discogs-client-9999.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+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"
+       KEYWORDS="~amd64 ~x86"
+       S="${WORKDIR}/${MY_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/oauth2[${PYTHON_USEDEP}]
+       dev-python/oauthlib[${PYTHON_USEDEP}]
+       "
+BDEPEND="
+       dev-python/oauthlib[${PYTHON_USEDEP}]
+       dev-python/pyyaml[${PYTHON_USEDEP}]
+       dev-python/sh[${PYTHON_USEDEP}]
+       dev-python/python-dateutil[${PYTHON_USEDEP}]
+       "
+
+distutils_enable_tests nose

Reply via email to