Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylast/
Date: Wed, 07 Oct 2020 18:38:00
Message-Id: 1602095866.523a383573c8764fd1693298ebcf1011a67d09c2.mgorny@gentoo
1 commit: 523a383573c8764fd1693298ebcf1011a67d09c2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 7 18:34:16 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 7 18:37:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=523a3835
7
8 dev-python/pylast: Bump to 4.0.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pylast/Manifest | 1 +
13 dev-python/pylast/pylast-4.0.0.ebuild | 33 +++++++++++++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/dev-python/pylast/Manifest b/dev-python/pylast/Manifest
17 index 5f044ed1002..92f5bf29dd8 100644
18 --- a/dev-python/pylast/Manifest
19 +++ b/dev-python/pylast/Manifest
20 @@ -1 +1,2 @@
21 DIST pylast-3.3.0.tar.gz 40209 BLAKE2B 45725d8424a54ac03b53a6c7fe79febb0038c07ee6c2685d7b66f29933f91fb4ea55818be1d02f8fb1126758acd1d9ce3366e8a7d84fe3082b9b3003a9b948b3 SHA512 8b0c089896d7efb37bdf3a701d150b0f94f386715eb73122a4a7618f5b1a514f9f7577e8c7c84eacb36b18e69aa064220403a578d0544344ab11e87e1b46695a
22 +DIST pylast-4.0.0.tar.gz 40044 BLAKE2B 89402027494d608bffc4738857d8a7728175cf29a68af259aec1d6ab3755c5e02268bbacac2ff9bd8d8c6490b86ae200aeed59f34c764a4c2f90ea59cb732070 SHA512 093845c718269ed5a0b5223182e60192a71e2fed9270fec453b96b0b2a5488a0c5a8f6386edb42ed183b97cb7ea00397b4491ff72cbf72f9e7d42dc90fae66e7
23
24 diff --git a/dev-python/pylast/pylast-4.0.0.ebuild b/dev-python/pylast/pylast-4.0.0.ebuild
25 new file mode 100644
26 index 00000000000..8f31add792e
27 --- /dev/null
28 +++ b/dev-python/pylast/pylast-4.0.0.ebuild
29 @@ -0,0 +1,33 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{6..9} pypy3 )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Python interface to last.fm and other api-compatible websites"
40 +HOMEPAGE="https://github.com/pylast/pylast"
41 +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
46 +
47 +RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
48 +BDEPEND="
49 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
50 + test? ( dev-python/flaky[${PYTHON_USEDEP}] )
51 +"
52 +
53 +distutils_enable_tests pytest
54 +
55 +src_configure() {
56 + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
57 +}
58 +
59 +python_test() {
60 + distutils_install_for_testing
61 + pytest -vv || die "tests failed with ${EPYTHON}"
62 +}