blob: c8d5116b2572663f0a0283e492e96c73c636cd8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{13..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
MY_PN="python-markdownify"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Convert HTML to Markdown"
HOMEPAGE="
https://pypi.org/project/markdownify/
https://github.com/matthewwithanm/python-markdownify
"
SRC_URI="
https://github.com/matthewwithanm/${MY_PN}/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
S="${WORKDIR}/${MY_P}/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
RDEPEND="
>=dev-python/beautifulsoup4-4.9[${PYTHON_USEDEP}]
>=dev-python/six-1.15[${PYTHON_USEDEP}]
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
|