summaryrefslogtreecommitdiff
path: root/dev-python/pychm
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-03-09 13:43:24 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-03-09 13:43:24 +0000
commit1555ff27017e77bffca3b0241af4100ed20e2782 (patch)
treeec23c53e5f5fc9706bfeea06acbbf697c806f490 /dev-python/pychm
parent22ba87fcdc64dfb9b5cda0c3b2f63761d3fabb7b (diff)
downloadbaldeagleos-repo-1555ff27017e77bffca3b0241af4100ed20e2782.tar.gz
baldeagleos-repo-1555ff27017e77bffca3b0241af4100ed20e2782.tar.xz
baldeagleos-repo-1555ff27017e77bffca3b0241af4100ed20e2782.zip
Adding metadata
Diffstat (limited to 'dev-python/pychm')
-rw-r--r--dev-python/pychm/pychm-0.8.6.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-python/pychm/pychm-0.8.6.ebuild b/dev-python/pychm/pychm-0.8.6.ebuild
index 9d91a76599f4..4044f79c172f 100644
--- a/dev-python/pychm/pychm-0.8.6.ebuild
+++ b/dev-python/pychm/pychm-0.8.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -19,3 +19,11 @@ RDEPEND="dev-libs/chmlib"
DEPEND="${RDEPEND}"
distutils_enable_tests pytest
+
+src_test() {
+ # need to avoid relative import of 'chm' directory but tests rely
+ # on locating files relatively via tests/...
+ mv tests .. || die
+ cd .. || die
+ distutils-r1_src_test
+}