diff options
Diffstat (limited to 'app-text/pelican/pelican-9999.ebuild')
-rw-r--r-- | app-text/pelican/pelican-9999.ebuild | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/app-text/pelican/pelican-9999.ebuild b/app-text/pelican/pelican-9999.ebuild index cda70ce55f5a..5ef3211ca690 100644 --- a/app-text/pelican/pelican-9999.ebuild +++ b/app-text/pelican/pelican-9999.ebuild @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python{3_6,3_7} ) + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 git-r3 @@ -13,12 +15,10 @@ EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" LICENSE="AGPL-3" SLOT="0" -KEYWORDS="" -IUSE="doc examples markdown test" -# Tests fail for this release but are fixed upstream -RESTRICT="test" +IUSE="doc examples markdown" -DEPEND=">=dev-python/feedgenerator-1.6[${PYTHON_USEDEP}] +RESTRICT="test" +RDEPEND=">=dev-python/feedgenerator-1.9[${PYTHON_USEDEP}] >=dev-python/jinja-2.7[${PYTHON_USEDEP}] dev-python/docutils[${PYTHON_USEDEP}] dev-python/pygments[${PYTHON_USEDEP}] @@ -28,15 +28,12 @@ DEPEND=">=dev-python/feedgenerator-1.6[${PYTHON_USEDEP}] >=dev-python/six-1.4[${PYTHON_USEDEP}] dev-python/python-dateutil[${PYTHON_USEDEP}] doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - markdown? ( dev-python/markdown[${PYTHON_USEDEP}] ) - test? ( - dev-python/nose[${PYTHON_USEDEP}] - dev-python/markdown[${PYTHON_USEDEP}] - )" -RDEPEND="" - + markdown? ( dev-python/markdown[${PYTHON_USEDEP}] )" +DEPEND="test? ( dev-python/markdown[${PYTHON_USEDEP}] )" DOCS=( README.rst ) +distutils_enable_tests nose + python_compile_all() { use doc && emake -C docs html } @@ -50,7 +47,3 @@ python_install_all() { fi distutils-r1_python_install_all } - -python_test() { - nosetests || die "Testing failed with ${EPYTHON}" -} |