From: MichaƂ Bartoszkiewicz Date: Wed, 19 May 2021 15:29:15 +0000 (+0200) Subject: www-apps/bzium-lister: bump to 0.2.0 X-Git-Url: https://git.bzium.org/embe/overlay.git/commitdiff_plain/a085f6e43202892bd7a29df4c0e37296ee65f0a0?ds=sidebyside www-apps/bzium-lister: bump to 0.2.0 --- diff --git a/www-apps/bzium-lister/Manifest b/www-apps/bzium-lister/Manifest index 4397c77..a04938d 100644 --- a/www-apps/bzium-lister/Manifest +++ b/www-apps/bzium-lister/Manifest @@ -1 +1,2 @@ DIST bzium.lister-0.1.0.tar.gz 224636 BLAKE2B 4908dcf154fcb6aa6eb92c1489aee99f1155010d64fe98f624d5b3efea240e0ba82671bd8aeb023357602e381fd2d23120b6152e249bcec061a9fa397ca14a24 SHA512 22d758e894afea6488346f571ce99cfef6835e82572c2e6b430a0732951848df3272b57a302bb13a89ae3942fcf42296e213ab1a561d018dedd112088dc2a531 +DIST bzium.lister-0.2.0.tar.gz 224756 BLAKE2B 3f4bf037b780b1436fdf46e7b42c7f8e7421d980573928c69ed2b8e404560ec4399c4964261cdd2b07a6e1a3ef01a548a13066da8c72e9260af0cddb1de95072 SHA512 2c1a11d9bc419c6d822395e9ccfe83711814f7b23aa789a63c541cd3ea2e9926845a843ba35ccaf8014940dda31d51d88c7ba01421ad65f9c922c9b967a93485 diff --git a/www-apps/bzium-lister/bzium-lister-0.2.0.ebuild b/www-apps/bzium-lister/bzium-lister-0.2.0.ebuild new file mode 100644 index 0000000..351c03e --- /dev/null +++ b/www-apps/bzium-lister/bzium-lister-0.2.0.ebuild @@ -0,0 +1,49 @@ +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9} ) +inherit distutils-r1 + +MY_PN="${PN/-/.}" +MY_P="${MY_PN}-${PV}" +S="${WORKDIR}/${MY_P}" + +MY_PN_PATH="${PN/-//}" + +DESCRIPTION="Directory lister" +HOMEPAGE="https://embe.bzium.org/lister/" +SRC_URI="https://embe.bzium.org/lister/${MY_P}.tar.gz" + +LICENSE="MIT OFL-1.1" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/flask[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/pyicu[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/backports-zoneinfo[${PYTHON_USEDEP}]' python3_8) +" + +python_prepare_all() +{ + distutils-r1_python_prepare_all + + sed -i -r -e "s@'(static|templates)/\*'(, *)?@@g" setup.py || die +} + +python_install() +{ + distutils-r1_python_install + + ln -s "${EPREFIX}/usr/share/${PN}/"{static,templates} "${ED}/$(python_get_sitedir)/${MY_PN_PATH}"/ +} + +python_install_all() +{ + distutils-r1_python_install_all + + insinto "${EPREFIX}/usr/share/${PN}" + doins -r "${MY_PN_PATH}"/{static,templates} +}