2023-12-30 19:47:58 -05:00
|
|
|
# Copyright 2021-2023 Gentoo Authors
|
2022-11-22 20:45:26 +05:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
2026-03-09 00:12:27 +01:00
|
|
|
PYTHON_COMPAT=( python3_12 )
|
2022-11-22 20:45:26 +05:00
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
2023-03-17 17:48:47 +05:00
|
|
|
inherit distutils-r1 pypi
|
2022-11-22 20:45:26 +05:00
|
|
|
|
|
|
|
|
DESCRIPTION="Convert HTML to Markdown"
|
|
|
|
|
HOMEPAGE="
|
|
|
|
|
https://pypi.org/project/markdownify/
|
|
|
|
|
https://github.com/matthewwithanm/python-markdownify
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
|
SLOT="0"
|
|
|
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
|
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
|
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
|
|
|
|
dev-python/six[${PYTHON_USEDEP}]
|
2022-11-23 12:10:53 +05:00
|
|
|
!dev-python/django-markdownify
|
2022-11-22 20:45:26 +05:00
|
|
|
"
|
|
|
|
|
|
|
|
|
|
distutils_enable_tests pytest
|
|
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
|
distutils-r1_src_prepare
|
|
|
|
|
mv tests markdownify/tests || die
|
|
|
|
|
}
|