mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
dev-python/pypandoc: add 1.7.5, drop 1.7.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
41
dev-python/pypandoc/pypandoc-1.7.5.ebuild
Normal file
41
dev-python/pypandoc/pypandoc-1.7.5.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Pypandoc provides a thin wrapper for pandoc, a universal document converter"
|
||||
HOMEPAGE="
|
||||
https://github.com/bebraw/pypandoc
|
||||
https://pypi.org/project/pypandoc/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
app-text/pandoc
|
||||
dev-haskell/pandoc-citeproc
|
||||
dev-texlive/texlive-latex
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
>=dev-python/wheel-0.25.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-1.7.4-dont-install-examples.patch" )
|
||||
PROPERTIES="test_network"
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" tests.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user