Files
gentoo/dev-python/logfury/logfury-0.1.2-r1.ebuild
William Pettersson c2cb13af1a dev-python/logfury: Fix testing, support python 3.{7,8}
Testing requires the Github packaging, hence the change to SRC_URI
Removed old dependency on funcsigs, no longer needed
Removed code-linting, and coverage requirements from test suite

Signed-off-by: William Pettersson <william@ewpettersson.se>
Closes: https://bugs.gentoo.org/719090
Package-Manager: Portage-2.3.89, Repoman-2.3.21
Closes: https://github.com/gentoo/gentoo/pull/15493
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2020-04-28 18:01:24 +02:00

31 lines
719 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
inherit distutils-r1
DESCRIPTION="Boilerplate library for logging method calls"
HOMEPAGE="https://github.com/ppolewicz/logfury https://pypi.org/project/logfury/"
SRC_URI="https://github.com/ppolewicz/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
PATCHES=(
"${FILESDIR}/${P}-fix-requirements-remove-dev-tests.patch"
)
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? (
dev-python/testfixtures[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
)"
distutils_enable_tests setup.py