3 PYTHON_COMPAT=( python3_{10,11} )
10 MY_PN_PATH="${PN/-//}"
12 DESCRIPTION="Directory lister"
13 HOMEPAGE="https://embe.bzium.org/lister/"
14 SRC_URI="https://embe.bzium.org/lister/${MY_P}.tar.gz"
21 dev-python/flask[${PYTHON_USEDEP}]
22 dev-python/toml[${PYTHON_USEDEP}]
23 dev-python/jinja[${PYTHON_USEDEP}]
24 dev-python/pyicu[${PYTHON_USEDEP}]
25 dev-python/werkzeug[${PYTHON_USEDEP}]
26 $(python_gen_cond_dep 'dev-python/backports-zoneinfo[${PYTHON_USEDEP}]' python3_8)
31 distutils-r1_python_prepare_all
33 sed -i -r -e "s@'(static|templates)/\*'(, *)?@@g" setup.py || die
38 distutils-r1_python_install
40 ln -s "${EPREFIX}/usr/share/${PN}/"{static,templates} "${ED}/$(python_get_sitedir)/${MY_PN_PATH}"/
45 distutils-r1_python_install_all
47 insinto "${EPREFIX}/usr/share/${PN}"
48 doins -r "${MY_PN_PATH}"/{static,templates}