mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-python/python-mpd: Bump to 3.0.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST python-mpd-1.1.0.tar.gz 61104 BLAKE2B 274a829a3fc1404a4e3beb4df3eb563c1f781325590702761d3b3b5bc42e3cd9f63809aab14bb98e4879c10ccd55bb9d7306485ec22d37538cc2e36006a3039a SHA512 65b17ae34b2c731b7d45801211e49eacfc18239d5575075be0c11ace350da19b82dd151fefc42077454a988d3deb1b489471f739ddea2d915cb3c241669dbe32
|
||||
DIST python-mpd2-3.0.4.tar.gz 66173 BLAKE2B f92a97512f19ac5f71846d3997240e5a37a4fd9bc353e131c582547ddc6e9520d2d09a02b4de62168707ba4a2cbfc28a019cba7e0a113242ecc38ecdc86c19a9 SHA512 7adf0daf64c6132dcd4d347f0772e9cbef903f9f5fba5315b745708dd2179090f53c5303b7ce905c685076861d21f7a14951e598c88eb65be423dea627dbb26a
|
||||
|
||||
46
dev-python/python-mpd/python-mpd-3.0.4.ebuild
Normal file
46
dev-python/python-mpd/python-mpd-3.0.4.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# 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
|
||||
|
||||
MY_P=python-mpd2-${PV}
|
||||
DESCRIPTION="Python MPD client library"
|
||||
HOMEPAGE="
|
||||
https://github.com/Mic92/python-mpd2/
|
||||
https://pypi.org/project/python-mpd2/"
|
||||
SRC_URI="
|
||||
https://github.com/Mic92/python-mpd2/archive/v${PV}.tar.gz
|
||||
-> ${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="examples +twisted"
|
||||
|
||||
RDEPEND="twisted? ( dev-python/twisted[${PYTHON_USEDEP}] )"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/twisted[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( README.rst doc/{changes.rst,commands_header.txt} doc/topics/. )
|
||||
|
||||
distutils_enable_sphinx doc --no-autodoc
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
epytest mpd/tests.py
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
use examples && dodoc -r examples/.
|
||||
}
|
||||
Reference in New Issue
Block a user