Skip to content

Commit

Permalink
dev-util/pkgdev: switch to setup.py test runner
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Mar 7, 2021
1 parent 911035f commit 99dfa41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dev-util/pkgdev/pkgdev-0.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ else
"
fi

# Uses pytest but we want to use the setup.py runner to get generated modules
BDEPEND+="test? ( dev-python/pytest )"
RDEPEND+="dev-vcs/git"

distutils_enable_sphinx doc
distutils_enable_tests pytest
distutils_enable_tests setup.py

python_install_all() {
# We'll generate man pages ourselves
Expand Down
4 changes: 3 additions & 1 deletion dev-util/pkgdev/pkgdev-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ else
"
fi

# Uses pytest but we want to use the setup.py runner to get generated modules
BDEPEND+="test? ( dev-python/pytest )"
RDEPEND+="dev-vcs/git"

distutils_enable_sphinx doc
distutils_enable_tests pytest
distutils_enable_tests setup.py

python_install_all() {
# We'll generate man pages ourselves
Expand Down

0 comments on commit 99dfa41

Please sign in to comment.