app-office/jal: update ebuild
This commit is contained in:
parent
33cbf1043e
commit
433e300f09
|
@ -1,3 +1,3 @@
|
|||
AUX jal-dbfilepath.patch 779 BLAKE2B 57be678fc71555953f9585ba1de523e0d4c91115ce870837933ba7f8794456e4733b9228b55cbd686120338eabfc87cca7840f9434f198690df87be7bcea186b SHA512 62f51e70877a800c4dea9ad831973b9106424bb18ff4fc09547a1a305085d4eb36b7c9e335e74204953c5a604799404efeef588bae568e4c14b2d43d458fbcd6
|
||||
DIST jal-2024.7.1.tar.gz 3513811 BLAKE2B 9a5d18c88efc90da661a45720b60a18e716a381c8e848f500f2a6beabbe27276cc12b8cae8f165edd5ca0768b0f9c34331385d1c0fc5b3c0b3aa978e95f8589c SHA512 7975af5878213aa3caf581107465b08da5f2ecaf9c1b0f74be2184bfd26ced03073f3f064f6ff23a869e2821f20d7a60446c1640c82e7e1b1d49401027b3ce71
|
||||
EBUILD jal-2024.7.1.ebuild 1186 BLAKE2B 60392f0a7b1f3c1041fd0b284daa40232dac721248cded19a1ca01084d0c106a40e85b0b7fcf510c80499fc5017ab3a19d259b6c37b868048e00d28acaf23bc3 SHA512 306448471b82a8231711ee22023ae413d19ada4578a7976d3c2ac90172f7c4efeaab9f3332e0c79dea21fcdb274a77109237e1d941bde38b19fd6958b333601d
|
||||
DIST jal-2024.7.1.tar.gz 413975 BLAKE2B 4b9f7dad2e1872a6991d7188b88bc7db291ac774b3e24f014439b5d5a8a62a2c6626de84500bb4ce06aae64f2d1373d185f5d39004adf94d534ed84c65ddc0fc SHA512 4bbb9dda706bf8f45da1cd0d4b23f507c1e2b303b0b7726acc20d2f2da1cb8c17fa94949bf1835e9a52e8f8652b42d80de42034334831a8eca32129f8c243e39
|
||||
EBUILD jal-2024.7.1.ebuild 1579 BLAKE2B 3d9b0f9ea914780b653fa7f1a59d7229d3a3ea204667459429db476f63561fc5b554c10d2876c2208137561a9f7cf8fabbe5c12593eae47d4983bedb374082bb SHA512 98babfe4e100f24568acf6bec140184c59e1f1148c81cdcc9c751f9738327157a99ee8e474b985b4fc6a6797a88730f32b4672da8533f409412e57f16c0f2dee
|
||||
|
|
|
@ -6,11 +6,13 @@ EAPI=8
|
|||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 pypi xdg-utils desktop
|
||||
|
||||
DESCRIPTION="Just Another Ledger - project to track personal financial records"
|
||||
HOMEPAGE="https://github.com/titov-vv/jal"
|
||||
SRC_URI="https://github.com/titov-vv/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
HOMEPAGE="
|
||||
https://github.com/titov-vv/jal
|
||||
https://pypi.org/project/jal
|
||||
"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
@ -34,9 +36,24 @@ PATCHES=(
|
|||
"${FILESDIR}/${PN}-dbfilepath.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
distutils_enable_tests pytest
|
||||
|
||||
rm -rf tests || die
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
# Prepare the icons
|
||||
newicon "${PN}"/img/ui_jal.png "${PN}.png"
|
||||
|
||||
# Create a desktop entry
|
||||
make_desktop_entry "${PN}" "JAL (Just Another Ledger)" "${PN}" "" "Comment[ru]=Контроль и учёт личных финансов;"
|
||||
}
|
||||
|
||||
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