diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2023-11-07 15:34:43 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2023-11-07 15:51:25 +0100 |
commit | 602733778586efa7490ecee3542e858e795b01a2 (patch) | |
tree | 0e0948a511604bbdfcdee8b1be36a9832a39f9dc /app-text | |
parent | app-text/openpaperwork-gtk: install l10n (diff) | |
download | gentoo-602733778586efa7490ecee3542e858e795b01a2.tar.gz gentoo-602733778586efa7490ecee3542e858e795b01a2.tar.bz2 gentoo-602733778586efa7490ecee3542e858e795b01a2.zip |
app-text/paperwork-backend: install l10n and AUTHORS
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/paperwork-backend/Manifest | 1 | ||||
-rw-r--r-- | app-text/paperwork-backend/paperwork-backend-2.2.1.ebuild | 18 |
2 files changed, 18 insertions, 1 deletions
diff --git a/app-text/paperwork-backend/Manifest b/app-text/paperwork-backend/Manifest index 1b3fd1654632..21ae5b75780d 100644 --- a/app-text/paperwork-backend/Manifest +++ b/app-text/paperwork-backend/Manifest @@ -1,2 +1,3 @@ DIST paperwork-2.2.1.tar.bz2 2529505 BLAKE2B e5545d3fbb5e41d0ddd21a0358fae496d127b30a3f72e1438eef679c520a3152e4db006d9dc42023431907281452931e90aea187c4928309bde7add2d54b5844 SHA512 f96ddf3efe3b5021e612600fa2e3a9c83db7ec78b9637e434facefcc422700be1b67b74231b4738a7762905ac5267f412839ff9d43cb9dcf7f95a5f3d6f7091f DIST paperwork-backend-2.1.2.tar.gz 1346499 BLAKE2B daf8c6dee97b0bdf814bcf7e9c83a80ab878250994a770f5fa6be4c0b4e23f0def51e22c0a8652a19e9294f3fab0b522b25c2a91c306ad760d568faf76a78610 SHA512 0156baa658a9fe26680bf6d146af3f03b98da307ee1cfaf4803f8b70a2ffdb0010fe23c4d4f9b5a572919c4be94a1aad4fd070220849248cdb18c5b1c4bc478b +DIST paperwork-data-2.2.1.tar.gz 5210355 BLAKE2B 48ee8f9828f7aed9b41c998c2cdc43a2b98c2a2482e388500b8d04867a450bbf3264ef5a87d7f215f1389943e4cbab452d3a7a6235d63cfdb27127ab56ad9c2f SHA512 cf663368f733f45dde8242c3ad9ba405361628bddb7e8aed9dffeb5bb86c1abac7a3485cb7e2042d65006f8f336390fa81ea182dad62f4259b79805ac7a0416b diff --git a/app-text/paperwork-backend/paperwork-backend-2.2.1.ebuild b/app-text/paperwork-backend/paperwork-backend-2.2.1.ebuild index a6242fea4889..7a31ab09d094 100644 --- a/app-text/paperwork-backend/paperwork-backend-2.2.1.ebuild +++ b/app-text/paperwork-backend/paperwork-backend-2.2.1.ebuild @@ -10,7 +10,11 @@ inherit distutils-r1 DESCRIPTION="Backend part of Paperwork (Python API, no UI)" HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork" -SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/archive/${PV}/paperwork-${PV}.tar.bz2" +# Update from release hash at: +# https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/tags +REL_HASH="0bea4054" +SRC_URI="https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/archive/${PV}/paperwork-${PV}.tar.bz2 + https://download.openpaper.work/data/paperwork/master_${REL_HASH}/data.tar.gz -> paperwork-data-${PV}.tar.gz" LICENSE="GPL-3" SLOT="0" @@ -33,6 +37,7 @@ RDEPEND=" BDEPEND=" ${RDEPEND} dev-python/setuptools-scm[${PYTHON_USEDEP}] + sys-devel/gettext test? ( dev-python/libpillowfight[${PYTHON_USEDEP}] media-libs/libinsane @@ -43,3 +48,14 @@ S=${WORKDIR}/paperwork-${PV}/${PN} distutils_enable_tests unittest export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +src_prepare() { + default + cp -a "${WORKDIR}"/${PN} ${WORKDIR}/paperwork-${PV}/ +} + +python_compile() { + emake l10n_compile + + distutils-r1_python_compile +} |