dev-python/prometheus_client: keep old dep for net-im/matrix-synapse

This commit is contained in:
nemunaire 2019-02-01 03:27:59 +01:00
parent 7dfca96424
commit b1699d446e
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST prometheus_client-0.3.1.tar.gz 43185 BLAKE2B 07c69ca13f45c502870dd1eb5934413d71b5e53a5fde7c565414b570a20de183ae1bdda11a34e1c84b874cb5b8491128ff47046632913aaae1c865b0868142aa SHA512 939a985bcf6b377d353871333634ab1641f50288c531ab70b3e5e5466362c02012ae6cf0adf889dac96a89fc5ce29462aa62e651ce21c15d40647d6465baab1a
EBUILD prometheus_client-0.3.1.ebuild 728 BLAKE2B 649159476744cb1d435a816301fd430ae7cb5d4264b5ca19510f9b1c91c260fed55fe53dba4e77b529ceedad6450cb94ef878ffecd474759f3ecb8d3eb2c6e9f SHA512 6364a9e014f377d895cbbbf32abf01eead9657f93ca128bb457d55d4cc3f853924891ba27f48c31fbe328254cb6ba678b3ae28b5ed573cad439d3dba74e2c20a

View File

@ -0,0 +1,27 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} )
inherit distutils-r1
DESCRIPTION="Python client for the Prometheus monitoring system"
HOMEPAGE="https://pypi.org/project/prometheus_client/"
SRC_URI="https://github.com/prometheus/client_python/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
IUSE="test"
S=${WORKDIR}/client_python-${PV}
RDEPEND="|| ( dev-python/twisted[${PYTHON_USEDEP}] dev-python/twisted-web[${PYTHON_USEDEP}] )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( ${RDEPEND}
dev-python/pytest[${PYTHON_USEDEP}] )"
python_test() {
pytest -v || die
}