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>
This commit is contained in:
William Pettersson
2020-04-23 23:40:47 +01:00
committed by Michał Górny
parent 323443b766
commit c2cb13af1a
3 changed files with 30 additions and 4 deletions

View File

@@ -1 +1 @@
DIST logfury-0.1.2.tar.gz 17222 BLAKE2B b304ae68b345a5a262243063823354b00c72ac4301dcb34ceb56c44c0a0bc8f37ae447fb024e7d4b86469cf5412630c3b0d37370d492f7aab207f947b89d1577 SHA512 72e3e41047d3617420ece1a76a859635af42eb17d77cac0331d65144f750b5a5b8eff119a28fdda543b75cb75a2c8078492f2164dccb8c2dc9ba354e80a249ca
DIST logfury-0.1.2.gh.tar.gz 15854 BLAKE2B 68fdc692b552c42f509760ba3b6b30d6bdb0066b1179851d9a47e6f8d7b651e3518348ae60cd0726d867d015448253ac058f083c2798b3e5cf7e2e7d86db3929 SHA512 626965bbb8bdebcd7f71fa141de24c7f725933a32f0a00c8799d9778fb41913666c2ef0c71660bf6d00b160b9e34baff682520f4c3570fb0e347f070f010172c

View File

@@ -0,0 +1,17 @@
diff --git a/requirements-test.txt b/requirements-test.txt
index b454361..726c861 100644
--- a/requirements-test.txt
+++ b/requirements-test.txt
@@ -1,5 +1 @@
-check-manifest
-pyflakes
-readme_renderer
testfixtures
-yapf
diff --git a/requirements.txt b/requirements.txt
index 86e41d1..bb77dce 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,2 +1 @@
six>=1.10
-funcsigs

View File

@@ -3,19 +3,28 @@
EAPI=6
PYTHON_COMPAT=( python3_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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
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}
dev-python/setuptools[${PYTHON_USEDEP}]"
test? (
dev-python/testfixtures[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
)"
distutils_enable_tests setup.py