3 PYTHON_COMPAT=( python3_{8,9} )
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 $(python_gen_cond_dep 'dev-python/backports-zoneinfo[${PYTHON_USEDEP}]' python3_8)
30 distutils-r1_python_prepare_all
32 sed -i -r -e "s@'(static|templates)/\*'(, *)?@@g" setup.py || die
37 distutils-r1_python_install
39 ln -s "${EPREFIX}/usr/share/${PN}/"{static,templates} "${ED}/$(python_get_sitedir)/${MY_PN_PATH}"/
44 distutils-r1_python_install_all
46 insinto "${EPREFIX}/usr/share/${PN}"
47 doins -r "${MY_PN_PATH}"/{static,templates}