mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 08:33:15 -04:00
dev-python/yams: EAPI 7 -> 8, enable py3.10
Closes: https://bugs.gentoo.org/816426 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>myrvogna@electrosphe.re</email>
|
||||
@@ -7,5 +7,10 @@
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">Berulacks/yams</remote-id>
|
||||
<remote-id type="pypi">YAMScrobbler</remote-id>
|
||||
<maintainer>
|
||||
<name>Derin Yarsuvat</name>
|
||||
<email>derin@ml1.net</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -1,36 +1,31 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1 systemd
|
||||
|
||||
DESCRIPTION="A Last.FM scrobbler for MPD (Yet Another Mpd Scrobbler)"
|
||||
DESCRIPTION="Yet Another MPD Scrobbler (for Last.FM)"
|
||||
HOMEPAGE="https://github.com/Berulacks/yams"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/Berulacks/yams.git"
|
||||
EGIT_REPO_URI="https://github.com/Berulacks/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/Berulacks/yams/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/Berulacks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="
|
||||
RDEPEND="
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/python-mpd[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
media-sound/mpd
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
|
||||
@@ -1,36 +1,31 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1 systemd
|
||||
|
||||
DESCRIPTION="A Last.FM scrobbler for MPD (Yet Another Mpd Scrobbler)"
|
||||
DESCRIPTION="Yet Another MPD Scrobbler (for Last.FM)"
|
||||
HOMEPAGE="https://github.com/Berulacks/yams"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/Berulacks/yams.git"
|
||||
EGIT_REPO_URI="https://github.com/Berulacks/${PN}.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/Berulacks/yams/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/Berulacks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="
|
||||
RDEPEND="
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/python-mpd[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
media-sound/mpd
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
|
||||
Reference in New Issue
Block a user