Files
guru/dev-python/markdownify/markdownify-0.11.2.ebuild
T

29 lines
681 B
Bash
Raw Normal View History

2022-06-19 15:03:06 +08:00
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Convert some HTML to Markdown"
HOMEPAGE="https://github.com/matthewwithanm/python-markdownify https://pypi.org/project/markdownify/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
BDEPEND="
dev-python/flake8[${PYTHON_USEDEP}]
"
RDEPEND="
2022-06-19 15:09:27 +08:00
dev-python/six[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
2022-06-19 15:03:06 +08:00
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
python_install() {
2022-06-19 15:09:27 +08:00
rm -r "${BUILD_DIR}"/lib/tests || die
distutils-r1_python_install
2022-06-19 15:03:06 +08:00
}
distutils_enable_tests pytest