app-text/typstwriter: new package
This commit is contained in:
parent
c4de08d887
commit
09e5a609fa
|
@ -0,0 +1,2 @@
|
||||||
|
DIST typstwriter-0.2.tar.gz 807245 BLAKE2B 413c94a1b693f147c11a451939b29f2a35783bf3ac8b9025d3316c9c8deec413136a3678272eb999dd2b57bd507c5b9f1d283832a0686db82e0a195d2fa3dcab SHA512 e0893181d6bd35a8900b7a478e92fd109c97b738449fc21e3006ea6162809e4430ecd267b8b1c8c0e76e3b4f725cba1dc4db10622ef4b0baa26a1466c0b5554f
|
||||||
|
EBUILD typstwriter-0.2.ebuild 1089 BLAKE2B ddb5110a10e3cc251e47fa0954fc538e45d443807122b94baefd9bb3dc935d936593950a735d7a48b50df339e646c9380ff89dd78b354217d63e4ca0f3d1d427 SHA512 26a84dd214f49f5bf754b9f8256aec08bf8dfcdf9db63e169a3a0d9fed63f489770822e1e42596f392dbbe655954fa53e7444baca25b470a247e8bc423b77e68
|
|
@ -0,0 +1,47 @@
|
||||||
|
# Copyright 2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=flit
|
||||||
|
PYTHON_COMPAT=( python3_{10..13} )
|
||||||
|
|
||||||
|
inherit distutils-r1 pypi xdg-utils desktop
|
||||||
|
|
||||||
|
DESCRIPTION="An integrated editor for the typst typesetting system"
|
||||||
|
HOMEPAGE="https://github.com/Bzero/typstwrite"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
DEPEND=">=dev-lang/python-3.10
|
||||||
|
>=dev-python/pygments-2.18[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyside6-6.4[${PYTHON_USEDEP},positioning,webengine,charts]
|
||||||
|
>=dev-python/QtPy-2.3[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/send2trash-1.8[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
BDEPEND=""
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
distutils-r1_src_install
|
||||||
|
|
||||||
|
# Prepare the icons
|
||||||
|
newicon "${PN}/icons/${PN}.svg" "${PN}.svg"
|
||||||
|
|
||||||
|
# Create a desktop entry
|
||||||
|
make_desktop_entry "${PN}" "" "${PN}" ""
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
Loading…
Reference in New Issue