Diff python-musicbrainzngs-0.7.1 with a python-musicbrainzngs-0.7.1-r1
/usr/portage/dev-python/python-musicbrainzngs/python-musicbrainzngs-0.7.1-r1.ebuild 2023-10-09 14:52:30.360368372 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 2019-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | ||
6 |
DISTUTILS_USE_PEP517=setuptools |
|
7 |
PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
|
5 | 8 | |
6 |
PYTHON_COMPAT=( python3_{9..10} pypy3 ) |
|
7 | 9 |
inherit distutils-r1 |
8 | 10 | |
9 | 11 |
DESCRIPTION="Python bindings for the MusicBrainz NGS and the Cover Art Archive webservices" |
10 |
HOMEPAGE="https://github.com/alastair/python-musicbrainzngs" |
|
12 |
HOMEPAGE=" |
|
13 |
https://github.com/alastair/python-musicbrainzngs/ |
|
14 |
https://pypi.org/project/musicbrainzngs/ |
|
15 |
" |
|
11 | 16 |
SRC_URI=" |
12 | 17 |
https://github.com/alastair/python-musicbrainzngs/archive/v${PV}.tar.gz |
13 |
-> ${P}.tar.gz" |
|
18 |
-> ${P}.gh.tar.gz |
|
19 |
" |
|
14 | 20 | |
15 | 21 |
LICENSE="BSD-2 ISC" |
16 | 22 |
SLOT="0" |
17 |
KEYWORDS="amd64 x86" |
|
23 |
KEYWORDS="amd64 ~x86" |
|
18 | 24 |
IUSE="examples" |
19 | 25 | |
20 | 26 |
distutils_enable_sphinx docs |
21 |
distutils_enable_tests setup.py |
|
22 | ||
23 |
python_prepare_all() { |
|
24 |
# Prevent un-needed d'loading |
|
25 |
sed -e "s/^ *'sphinx.ext.intersphinx'//" -i docs/conf.py || die |
|
26 |
distutils-r1_python_prepare_all |
|
27 |
} |
|
27 |
distutils_enable_tests unittest |
|
28 | 28 | |
29 | 29 |
python_install_all() { |
30 | 30 |
if use examples; then |