From c6b0d05a0d4c90f87661666bab2f2e6ec18c2c2e Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Fri, 16 Apr 2021 15:38:25 +0200 Subject: [PATCH] Added --- dev-python/pylast/Manifest | 1 + dev-python/pylast/pylast-4.2.0.ebuild | 28 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 dev-python/pylast/Manifest create mode 100644 dev-python/pylast/pylast-4.2.0.ebuild diff --git a/dev-python/pylast/Manifest b/dev-python/pylast/Manifest new file mode 100644 index 0000000..3ac0269 --- /dev/null +++ b/dev-python/pylast/Manifest @@ -0,0 +1 @@ +DIST pylast-4.2.0.tar.gz 39761 BLAKE2B 35ab18928b2761255a25e2b8549fe852f28f04057c9fb1075fa223333d079c07340ea17d425695d17c0ec99d67e6e31ed93f6fe60df1121ae7c298cca99b1b03 SHA512 9c8c0eea0d3f54514ba06ad7da0868844f8dc53715717decb3b56772093e637673deb22ee4277e508d7e659b48c79733514c67c9af0283e8aa0032caeae3d44f diff --git a/dev-python/pylast/pylast-4.2.0.ebuild b/dev-python/pylast/pylast-4.2.0.ebuild new file mode 100644 index 0000000..3e88396 --- /dev/null +++ b/dev-python/pylast/pylast-4.2.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python interface to last.fm and other api-compatible websites" +HOMEPAGE="https://github.com/pylast/pylast" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( dev-python/flaky[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests --install pytest + +src_configure() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +}