diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-11-22 12:27:48 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-11-22 12:27:48 +0000 |
| commit | f065f4b190dae85d18eb808c985ec5cc57beeb3f (patch) | |
| tree | 60b5a4a50ba0258cef45dbc6cb2753ab3ca1090b /dev-python/python-utils/python-utils-2.3.0.ebuild | |
| parent | c67011c0a97d6697e4b0c823b68cd6e304f029a2 (diff) | |
| download | baldeagleos-repo-f065f4b190dae85d18eb808c985ec5cc57beeb3f.tar.gz baldeagleos-repo-f065f4b190dae85d18eb808c985ec5cc57beeb3f.tar.xz baldeagleos-repo-f065f4b190dae85d18eb808c985ec5cc57beeb3f.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/python-utils/python-utils-2.3.0.ebuild')
| -rw-r--r-- | dev-python/python-utils/python-utils-2.3.0.ebuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/dev-python/python-utils/python-utils-2.3.0.ebuild b/dev-python/python-utils/python-utils-2.3.0.ebuild index e1de4d4a4e1e..a1c956fcfe7a 100644 --- a/dev-python/python-utils/python-utils-2.3.0.ebuild +++ b/dev-python/python-utils/python-utils-2.3.0.ebuild @@ -3,7 +3,6 @@ EAPI=7 PYTHON_COMPAT=( python3_{5,6,7,8,9} pypy3 ) -PATCHES=( "${FILESDIR}"/${P}-pytest-runner.patch ) inherit distutils-r1 @@ -15,17 +14,15 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} - dev-python/pytest-flakes[${PYTHON_USEDEP}]" +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}"/${P}-pytest-runner.patch ) + +distutils_enable_tests pytest python_prepare_all() { find . -name '__pycache__' -prune -exec rm -rf {} \; || die "Cleaning __pycache__ failed" find . -name '*.pyc' -exec rm -f {} \; || die "Cleaning *.pyc failed" + sed -i -e '/--cov/d' -e '/--pep8/d' -e '/--flakes/d' pytest.ini || die distutils-r1_python_prepare_all } - -python_test() { - pytest -v || die -} |
