app-office/jal: new package

This commit is contained in:
Alexander Miroshnichenko 2024-08-10 12:13:45 +03:00
parent 91f1536304
commit ded98ace60
Signed by: alex
GPG Key ID: E93720C6C73A77F4
2 changed files with 48 additions and 0 deletions

2
app-office/jal/Manifest Normal file
View File

@ -0,0 +1,2 @@
DIST jal-2024.7.1.tar.gz 3513811 BLAKE2B 9a5d18c88efc90da661a45720b60a18e716a381c8e848f500f2a6beabbe27276cc12b8cae8f165edd5ca0768b0f9c34331385d1c0fc5b3c0b3aa978e95f8589c SHA512 7975af5878213aa3caf581107465b08da5f2ecaf9c1b0f74be2184bfd26ced03073f3f064f6ff23a869e2821f20d7a60446c1640c82e7e1b1d49401027b3ce71
EBUILD jal-2024.7.1.ebuild 1438 BLAKE2B f6012940fef95fb4b7bbbae6159b26c883f99b76394c49703347192ac67ae05edce57974d698cf2c041770eb21baa4d01eb5635195d6e5482f5526f81a0b049d SHA512 ca27fa34a832b177bb540a0e840df1066617531a4e1a48da3af12b208d07731f97191bb0547e0da79658dcbd228f238df9756eb205222a27d84e95d7ee132dd5

View File

@ -0,0 +1,46 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..13} )
inherit distutils-r1
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"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=">=dev-lang/python-3.8.1
>=dev-python/lxml-4.5.0[${PYTHON_USEDEP}]
>=dev-python/pandas-1.1.1[${PYTHON_USEDEP}]
>=dev-python/pyside6-6.5.1[${PYTHON_USEDEP}]
>=dev-python/requests-2.24.0[${PYTHON_USEDEP}]
>=dev-python/xlsxwriter-1.3.3[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}]
dev-python/sqlparse[${PYTHON_USEDEP}]
dev-python/oauthlib[${PYTHON_USEDEP}]
dev-python/requests-oauthlib[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
#python_prepare_all() {
# distutils-r1_python_prepare_all
#
# rm -rf tests || die
#}
python_install_all() {
distutils-r1_python_install_all
# Remove this duplicate that is installed directly to /usr/
# These files are also correctly installed to the python site-packages dir
find "${WORKDIR}/${P}-python*" -type d -name tests -exec rm -rf "{}" \; || die
}