details: https://code.tryton.org/gentoo-overlay/commit/0c9764f224d5
branch: default
user: Cédric Krier <[email protected]>
date: Thu Jul 16 20:51:07 2026 +0200
description:
app-office/trytond: version bumps
diffstat:
app-office/trytond/Manifest | 10 +-
app-office/trytond/trytond-7.0.53.ebuild | 99 -----------------------------
app-office/trytond/trytond-7.0.54.ebuild | 99 +++++++++++++++++++++++++++++
app-office/trytond/trytond-7.8.13.ebuild | 98 +++++++++++++++++++++++++++++
app-office/trytond/trytond-8.0.6.ebuild | 103 -------------------------------
app-office/trytond/trytond-8.0.7.ebuild | 103 +++++++++++++++++++++++++++++++
6 files changed, 306 insertions(+), 206 deletions(-)
diffs (544 lines):
diff -r 16186964819b -r 0c9764f224d5 app-office/trytond/Manifest
--- a/app-office/trytond/Manifest Thu Jul 16 18:39:31 2026 +0200
+++ b/app-office/trytond/Manifest Thu Jul 16 20:51:07 2026 +0200
@@ -2,12 +2,14 @@
AUX trytond-cron-init.d-2 899 BLAKE2B
2a52c2144df192c9be4296a37e5a89fb66e78fa1b21164b91bb0f067724972d89de9d3295bb12154eeb0d1999ee22ca287132e8f82f507c00292103f72474318
SHA512
ed11eeb680eecd0906866490a4250e9245abb6fa4954487a536467bebf718c3d811e31419e5f211109c3034b5660b1d3cf3397908f524d4c9c3a0e1351e106cd
AUX trytond-init.d-2 799 BLAKE2B
78dcf251feb3e9f04ba5014359c8da069cc54e14a626f6d9e03306008a30e4e412354c409ad7bb8beb47dfa65e1cc9eb12ab9459ea56f47e2994b25f113297c0
SHA512
1c6f1aa4fa8ad1da7e88e2ed5c53646802747c3ea1b4108ec51b400214eb7dd0a586548fa76d864be0087d24c1b9913343cba28339323e7a1a7fa370a8bce1c6
AUX trytond-worker-init.d 909 BLAKE2B
8f2a7afcef8c44270737581f36aade8195267b22fadb30c528549b32447cd982192c97c79d03f344e59451932e4c824b77ba6856e0b56e11c2503121b02f2181
SHA512
907d040f70fba324c35513e6795007bd3f55786b3541716f4c18920db39e88f3bc53451b63c50e56fe2c9366d2831aa602b83a58bb37dcc9b7780082304d279c
-DIST trytond-7.0.53.tar.gz 984329 BLAKE2B
7256360f70a09860bb082bc5b5fbaf73a233adf1cccd2e8c7c3b72c357d4447b66e7175e1fc4a5658c66596a003e5dcc4e841c455df126ca66f6d1eb86fa9776
SHA512
8283d8e0e10fad5de4ed3fea1de8ae1fadc34c99b753908d3e7c6d31136d67f57b7a9f9bcaadf2a9837ae27589ddd9e236394fc6f6641797350bbb4a08639b40
+DIST trytond-7.0.54.tar.gz 984380 BLAKE2B
0afca90cb998fa7546a6de2ec0db5e5a04acc6d49d8f57eec0fc602a54ce30c90caad9dc833c81c97d2c2fe1a9536bdde193f3f32855725f9fd950205b97c86b
SHA512
af07c005e1d9d550fe6539d220dbdbdea90fa023cf838473a5fefb430ab568137ecba44a4bc7f912eef904c88efd79ae9c78be58e11512f21fd4d84fec6d6aa2
DIST trytond-7.6.20.tar.gz 1055211 BLAKE2B
4fa37f58312eb18ed91fc1c30b4744312a5dabe2a0d9291a0a6571f6d7a0a340427a895bfdda80cecfdf31a35f84349eabc3228b95e4a5b04dcac2565b7fb23a
SHA512
f37dd9e7441607cff6d29b1ee86d483fbc5e9cc9c75a34f588999a8d89b0a4f9314c01a96906fa0c49e7c23cadf6ea41c4f2eb9c9f409cbb6a88031abcb39c72
DIST trytond-7.8.12.tar.gz 1076019 BLAKE2B
924f2d1c4f5b6771314c81e2dd968c78f1674fbe5530c46c783b879c85b2050bbbc4a149ec628cbb88ffbb49fc524111d5910bd27fcdfe7e6ebffc9e888861d1
SHA512
4464e3e7fba9c73637acbe4ff895702811c9b017967f3a5ff6415f37614733d22426509d83210f7db8eacaa4911e98db4010cc6bbb67d5df40cede03a8f6e84a
-DIST trytond-8.0.6.tar.gz 958343 BLAKE2B
0f15027a6ab9e88f694604888e521ea2b3801d79bcec21036609ddf847d60ee74129d7344bfdfbc586f609aac9140fd2b8950a2c460ae060466f723d1232d8ea
SHA512
27634c733b3c40aa7a65ae6c3aa7b33ee99e8f20901200f82da5c67657c49a34ca0d4182005add3f712c560d1610185e5c4306aa3e5f2856f5734222774c2b0e
-EBUILD trytond-7.0.53.ebuild 3258 BLAKE2B
0f2e34ae025dddba3a5fcf4d646d3ecff0906e9e7bb81f863c721d5fe0150c4a8446ee3ac462eef07915d7fae8e120d4219a9641de3fbb30f3b702177dc227fb
SHA512
07c98513f2421aebc5819ee2e139aa6f90b7c948648d5ba491bb861c4bc8de909bc9b7ce91b5e95848fd088127d63cd38a9d4ec73e40f5991ac6051b0bbca0a3
+DIST trytond-7.8.13.tar.gz 1076134 BLAKE2B
fc33c968ec229f26371e5d3bc03ca1d0637c71832d8a7a1c6ffc8f362ffc18e9c01cb15ac1be2846ff2516862a92ba0545eec2a4a2d95308a5e549b737e9a258
SHA512
0b55ab9134bb6ae85539df4e34bcc4c33a415f0cf73b081ec5904f04f9a95bc919e5f8b9dd41e9050517b942ea384fd36de54c227de92ae425b68fc4981692e7
+DIST trytond-8.0.7.tar.gz 958577 BLAKE2B
ded6884264c1078aae7d63d486c331eac6cbbdc9224b03b28f2a509009f15d19e1010d095d6960525a670ba142a38f06d1a5b7c7f25aef98b2215ff3814123dd
SHA512
cecc78fa8c0af87c8dc7ab1584fa81961d5fba34b9627d923e8f5648b6d37ac4e10694ac02af914a5d0e3d0de699efe3ac84d6770e7e32e2e876bbefbbad0447
+EBUILD trytond-7.0.54.ebuild 3258 BLAKE2B
0f2e34ae025dddba3a5fcf4d646d3ecff0906e9e7bb81f863c721d5fe0150c4a8446ee3ac462eef07915d7fae8e120d4219a9641de3fbb30f3b702177dc227fb
SHA512
07c98513f2421aebc5819ee2e139aa6f90b7c948648d5ba491bb861c4bc8de909bc9b7ce91b5e95848fd088127d63cd38a9d4ec73e40f5991ac6051b0bbca0a3
EBUILD trytond-7.6.20.ebuild 3203 BLAKE2B
6e69a6b17214f9d947e3d3acb2ed869d41e26046a86a927cde7b490d3e8be3d06964bc0e2120a9e7e7050c48ef857945691214166596a75411845f911db819a3
SHA512
8195c035b7027c53745476ab3ba0333145ae08aa86fc6467b4ed99678a73f75468fa0fb9155e37db8e0145e805ed4a093eefd9a21d97163e3eee2f90ed6cae29
EBUILD trytond-7.8.12.ebuild 3203 BLAKE2B
6e69a6b17214f9d947e3d3acb2ed869d41e26046a86a927cde7b490d3e8be3d06964bc0e2120a9e7e7050c48ef857945691214166596a75411845f911db819a3
SHA512
8195c035b7027c53745476ab3ba0333145ae08aa86fc6467b4ed99678a73f75468fa0fb9155e37db8e0145e805ed4a093eefd9a21d97163e3eee2f90ed6cae29
-EBUILD trytond-8.0.6.ebuild 3206 BLAKE2B
c6a39eb28ea536bafa4b9494960d5a9bd0deb3f491e8eac639aeed64658a89e7d1a74599b43821d3df2cebc2e10eead80cdc0eb02d0da07fcf55eaa251269b49
SHA512
20fd457fd62e0d47be4aa35698ba3d60b34494ad9c3f6be582a0b7d591be3e1a4fadee3bf76949963e99a2903809d81bf3a973e9a77010bd4347057c582a5e58
+EBUILD trytond-7.8.13.ebuild 3203 BLAKE2B
6e69a6b17214f9d947e3d3acb2ed869d41e26046a86a927cde7b490d3e8be3d06964bc0e2120a9e7e7050c48ef857945691214166596a75411845f911db819a3
SHA512
8195c035b7027c53745476ab3ba0333145ae08aa86fc6467b4ed99678a73f75468fa0fb9155e37db8e0145e805ed4a093eefd9a21d97163e3eee2f90ed6cae29
+EBUILD trytond-8.0.7.ebuild 3206 BLAKE2B
c6a39eb28ea536bafa4b9494960d5a9bd0deb3f491e8eac639aeed64658a89e7d1a74599b43821d3df2cebc2e10eead80cdc0eb02d0da07fcf55eaa251269b49
SHA512
20fd457fd62e0d47be4aa35698ba3d60b34494ad9c3f6be582a0b7d591be3e1a4fadee3bf76949963e99a2903809d81bf3a973e9a77010bd4347057c582a5e58
MISC metadata.xml 890 BLAKE2B
0cdfba62159450bea5d52ac23b0ca1f65466653ef5ebe431df047cdfa15d3136dd4072c152f2bc8267b2e6f975f56f9113cd6df7c549e6d51373de18edfeed94
SHA512
8d86dbd5094f7bbb262d47a3d391ce71513418d85d6335660ad84498d304a09cfc71316b7e1a0e53df7e49d36bca1bbb1f53726d03beee8ef664e429962f1fb3
diff -r 16186964819b -r 0c9764f224d5 app-office/trytond/trytond-7.0.53.ebuild
--- a/app-office/trytond/trytond-7.0.53.ebuild Thu Jul 16 18:39:31 2026 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,99 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="A three-tiers high-level general purpose business application
framework"
-HOMEPAGE="http://www.tryton.org/"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="graphviz +postgres sqlite levenshtein bcrypt argon2 html2text weasyprint
image barcode qrcode bash-completion email-validation test"
-
-RDEPEND="acct-group/trytond
- acct-user/trytond
- postgres? ( >=dev-python/psycopg-2.7.0:2[$PYTHON_USEDEP] )
- sqlite? ( dev-lang/python:*[sqlite] )
- dev-python/defusedxml[$PYTHON_USEDEP]
- >=dev-python/lxml-2.0[$PYTHON_USEDEP]
- >=dev-python/relatorio-0.7[fodt,$PYTHON_USEDEP]
- dev-python/genshi[$PYTHON_USEDEP]
- dev-python/python-dateutil[$PYTHON_USEDEP]
- dev-python/polib[$PYTHON_USEDEP]
- >=dev-python/python-sql-1.3[$PYTHON_USEDEP]
- >=dev-python/werkzeug-0.12[$PYTHON_USEDEP]
- >=dev-python/libpass-1.7.0[$PYTHON_USEDEP]
- $(python_gen_cond_dep 'dev-python/pytz[${PYTHON_USEDEP}]'
python3_{8..9})
- $(python_gen_cond_dep 'dev-python/backports-entry-points-selectable'
python3_{8..9})
- graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
- levenshtein? ( dev-python/levenshtein[$PYTHON_USEDEP] )
- bcrypt? ( dev-python/bcrypt[$PYTHON_USEDEP] )
- argon2? ( dev-python/argon2-cffi[$PYTHON_USEDEP] )
- html2text? ( dev-python/html2text[$PYTHON_USEDEP] )
- weasyprint? ( dev-python/weasyprint[$PYTHON_USEDEP] )
- image? ( dev-python/pillow[truetype,$PYTHON_USEDEP] )
- barcode? ( dev-python/python-barcode[image,$PYTHON_USEDEP] )
- qrcode? (
- dev-python/qrcode[$PYTHON_USEDEP]
- dev-python/webcolors[$PYTHON_USEDEP]
- )
- bash-completion? ( dev-python/argcomplete[$PYTHON_USEDEP] )
- email-validation? ( dev-python/email-validator[$PYTHON_USEDEP] )"
-DEPEND="${RDEPEND}
- test? (
- $(python_gen_impl_dep sqlite)
- dev-python/pillow[truetype,$PYTHON_USEDEP]
- )"
-RESTRICT="!test? ( test )"
-DOCS="CHANGELOG COPYRIGHT README.rst doc/*.rst"
-
-distutils_enable_tests unittest
-
-src_install() {
- distutils-r1_src_install
-
- newinitd "${FILESDIR}"/trytond-init.d-2 trytond
- newinitd "${FILESDIR}"/trytond-cron-init.d-2 trytond-cron
- newinitd "${FILESDIR}"/trytond-worker-init.d trytond-worker
- newconfd "${FILESDIR}"/trytond-conf.d-2 trytond
- newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-cron
- newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-worker
- keepdir /var/log/trytond
- keepdir /var/lib/trytond
- fperms 770 /var/lib/trytond
-}
-
-python_test() {
- DB_NAME=":memory:" eunittest -s trytond.tests
-}
-
-pkg_preinst() {
- fowners trytond:trytond /var/log/trytond
- fowners trytond:trytond /var/lib/trytond
-}
-
-pkg_postinst() {
- if use postgres; then
- elog "In order to setup the initial database, run:"
- elog " emerge --config =${CATEGORY}/${PF}"
- elog "Be sure the database is started before"
- fi
-}
-
-pquery() {
- psql -q -At -U postgres -d template1 -c "$@"
-}
-
-pkg_config() {
- einfo "In the following, the 'postgres' user will be used."
- if ! pquery "SELECT usename FROM pg_user WHERE usename = 'trytond'" |
grep -q trytond; then
- ebegin "Creating database user trytond"
- createuser --username=postgres --createdb trytond
- eend $? || die "Failed to create database user"
- fi
-}
diff -r 16186964819b -r 0c9764f224d5 app-office/trytond/trytond-7.0.54.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-7.0.54.ebuild Thu Jul 16 20:51:07 2026 +0200
@@ -0,0 +1,99 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A three-tiers high-level general purpose business application
framework"
+HOMEPAGE="http://www.tryton.org/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="graphviz +postgres sqlite levenshtein bcrypt argon2 html2text weasyprint
image barcode qrcode bash-completion email-validation test"
+
+RDEPEND="acct-group/trytond
+ acct-user/trytond
+ postgres? ( >=dev-python/psycopg-2.7.0:2[$PYTHON_USEDEP] )
+ sqlite? ( dev-lang/python:*[sqlite] )
+ dev-python/defusedxml[$PYTHON_USEDEP]
+ >=dev-python/lxml-2.0[$PYTHON_USEDEP]
+ >=dev-python/relatorio-0.7[fodt,$PYTHON_USEDEP]
+ dev-python/genshi[$PYTHON_USEDEP]
+ dev-python/python-dateutil[$PYTHON_USEDEP]
+ dev-python/polib[$PYTHON_USEDEP]
+ >=dev-python/python-sql-1.3[$PYTHON_USEDEP]
+ >=dev-python/werkzeug-0.12[$PYTHON_USEDEP]
+ >=dev-python/libpass-1.7.0[$PYTHON_USEDEP]
+ $(python_gen_cond_dep 'dev-python/pytz[${PYTHON_USEDEP}]'
python3_{8..9})
+ $(python_gen_cond_dep 'dev-python/backports-entry-points-selectable'
python3_{8..9})
+ graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
+ levenshtein? ( dev-python/levenshtein[$PYTHON_USEDEP] )
+ bcrypt? ( dev-python/bcrypt[$PYTHON_USEDEP] )
+ argon2? ( dev-python/argon2-cffi[$PYTHON_USEDEP] )
+ html2text? ( dev-python/html2text[$PYTHON_USEDEP] )
+ weasyprint? ( dev-python/weasyprint[$PYTHON_USEDEP] )
+ image? ( dev-python/pillow[truetype,$PYTHON_USEDEP] )
+ barcode? ( dev-python/python-barcode[image,$PYTHON_USEDEP] )
+ qrcode? (
+ dev-python/qrcode[$PYTHON_USEDEP]
+ dev-python/webcolors[$PYTHON_USEDEP]
+ )
+ bash-completion? ( dev-python/argcomplete[$PYTHON_USEDEP] )
+ email-validation? ( dev-python/email-validator[$PYTHON_USEDEP] )"
+DEPEND="${RDEPEND}
+ test? (
+ $(python_gen_impl_dep sqlite)
+ dev-python/pillow[truetype,$PYTHON_USEDEP]
+ )"
+RESTRICT="!test? ( test )"
+DOCS="CHANGELOG COPYRIGHT README.rst doc/*.rst"
+
+distutils_enable_tests unittest
+
+src_install() {
+ distutils-r1_src_install
+
+ newinitd "${FILESDIR}"/trytond-init.d-2 trytond
+ newinitd "${FILESDIR}"/trytond-cron-init.d-2 trytond-cron
+ newinitd "${FILESDIR}"/trytond-worker-init.d trytond-worker
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-cron
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-worker
+ keepdir /var/log/trytond
+ keepdir /var/lib/trytond
+ fperms 770 /var/lib/trytond
+}
+
+python_test() {
+ DB_NAME=":memory:" eunittest -s trytond.tests
+}
+
+pkg_preinst() {
+ fowners trytond:trytond /var/log/trytond
+ fowners trytond:trytond /var/lib/trytond
+}
+
+pkg_postinst() {
+ if use postgres; then
+ elog "In order to setup the initial database, run:"
+ elog " emerge --config =${CATEGORY}/${PF}"
+ elog "Be sure the database is started before"
+ fi
+}
+
+pquery() {
+ psql -q -At -U postgres -d template1 -c "$@"
+}
+
+pkg_config() {
+ einfo "In the following, the 'postgres' user will be used."
+ if ! pquery "SELECT usename FROM pg_user WHERE usename = 'trytond'" |
grep -q trytond; then
+ ebegin "Creating database user trytond"
+ createuser --username=postgres --createdb trytond
+ eend $? || die "Failed to create database user"
+ fi
+}
diff -r 16186964819b -r 0c9764f224d5 app-office/trytond/trytond-7.8.13.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-7.8.13.ebuild Thu Jul 16 20:51:07 2026 +0200
@@ -0,0 +1,98 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A three-tiers high-level general purpose business application
framework"
+HOMEPAGE="http://www.tryton.org/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="graphviz +postgres sqlite levenshtein html2text weasyprint image barcode
qrcode bash-completion email-validation test"
+
+RDEPEND="acct-group/trytond
+ acct-user/trytond
+ postgres? ( >=dev-python/psycopg-2.7.0:2[$PYTHON_USEDEP] )
+ sqlite? ( dev-lang/python:*[sqlite] )
+ dev-python/defusedxml[$PYTHON_USEDEP]
+ >=dev-python/lxml-2.0[$PYTHON_USEDEP]
+ >=dev-python/relatorio-0.7[fodt,$PYTHON_USEDEP]
+ dev-python/genshi[$PYTHON_USEDEP]
+ dev-python/python-dateutil[$PYTHON_USEDEP]
+ dev-python/polib[$PYTHON_USEDEP]
+ >=dev-python/python-sql-1.5[$PYTHON_USEDEP]
+ dev-python/simpleeval[$PYTHON_USEDEP]
+ >=dev-python/werkzeug-0.12[$PYTHON_USEDEP]
+ >=dev-python/pwdlib-0.2[argon2,$PYTHON_USEDEP]
+ $(python_gen_cond_dep 'dev-python/pytz[${PYTHON_USEDEP}]'
python3_{8..9})
+ $(python_gen_cond_dep 'dev-python/backports-entry-points-selectable'
python3_{8..9})
+ graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
+ levenshtein? ( dev-python/levenshtein[$PYTHON_USEDEP] )
+ html2text? ( dev-python/html2text[$PYTHON_USEDEP] )
+ weasyprint? ( dev-python/weasyprint[$PYTHON_USEDEP] )
+ image? ( dev-python/pillow[truetype,$PYTHON_USEDEP] )
+ barcode? ( dev-python/python-barcode[image,$PYTHON_USEDEP] )
+ qrcode? (
+ dev-python/qrcode[$PYTHON_USEDEP]
+ dev-python/webcolors[$PYTHON_USEDEP]
+ )
+ bash-completion? ( dev-python/argcomplete[$PYTHON_USEDEP] )
+ email-validation? ( dev-python/email-validator[$PYTHON_USEDEP] )"
+DEPEND="${RDEPEND}
+ test? (
+ $(python_gen_impl_dep sqlite)
+ dev-python/pillow[truetype,$PYTHON_USEDEP]
+ )"
+RESTRICT="!test? ( test )"
+DOCS="CHANGELOG COPYRIGHT README.rst doc/*.rst"
+
+distutils_enable_tests unittest
+
+src_install() {
+ distutils-r1_src_install
+
+ newinitd "${FILESDIR}"/trytond-init.d-2 trytond
+ newinitd "${FILESDIR}"/trytond-cron-init.d-2 trytond-cron
+ newinitd "${FILESDIR}"/trytond-worker-init.d trytond-worker
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-cron
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-worker
+ keepdir /var/log/trytond
+ keepdir /var/lib/trytond
+ fperms 770 /var/lib/trytond
+}
+
+python_test() {
+ DB_NAME=":memory:" TEST_NETWORK=0 eunittest -s trytond.tests
+}
+
+pkg_preinst() {
+ fowners trytond:trytond /var/log/trytond
+ fowners trytond:trytond /var/lib/trytond
+}
+
+pkg_postinst() {
+ if use postgres; then
+ elog "In order to setup the initial database, run:"
+ elog " emerge --config =${CATEGORY}/${PF}"
+ elog "Be sure the database is started before"
+ fi
+}
+
+pquery() {
+ psql -q -At -U postgres -d template1 -c "$@"
+}
+
+pkg_config() {
+ einfo "In the following, the 'postgres' user will be used."
+ if ! pquery "SELECT usename FROM pg_user WHERE usename = 'trytond'" |
grep -q trytond; then
+ ebegin "Creating database user trytond"
+ createuser --username=postgres --createdb trytond
+ eend $? || die "Failed to create database user"
+ fi
+}
diff -r 16186964819b -r 0c9764f224d5 app-office/trytond/trytond-8.0.6.ebuild
--- a/app-office/trytond/trytond-8.0.6.ebuild Thu Jul 16 18:39:31 2026 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,103 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( python3_{10..14} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="A three-tiers high-level general purpose business application
framework"
-HOMEPAGE="http://www.tryton.org/"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="levenshtein +postgres sqlite barcode bash-completion email-validation
graphviz html2text image qrcode test weasyprint"
-
-RDEPEND="acct-group/trytond
- acct-user/trytond
- dev-python/genshi[$PYTHON_USEDEP]
- dev-python/defusedxml[$PYTHON_USEDEP]
- >=dev-python/lxml-2.0[$PYTHON_USEDEP]
- dev-python/polib[$PYTHON_USEDEP]
- >=dev-python/pwdlib-0.2[argon2,$PYTHON_USEDEP]
- dev-python/python-dateutil[$PYTHON_USEDEP]
- >=dev-python/python-sql-1.5[$PYTHON_USEDEP]
- >=dev-python/relatorio-0.7[fodt,$PYTHON_USEDEP]
- dev-python/simpleeval[$PYTHON_USEDEP]
- >=dev-python/werkzeug-0.12[$PYTHON_USEDEP]
- levenshtein? ( dev-python/levenshtein[$PYTHON_USEDEP] )
- postgres? (
- >=dev-python/psycopg-3[$PYTHON_USEDEP]
- >=dev-python/psycopg-pool-3[$PYTHON_USEDEP]
- )
- sqlite? ( dev-lang/python:*[sqlite] )
- barcode? ( dev-python/python-barcode[image,$PYTHON_USEDEP] )
- bash-completion? ( dev-python/argcomplete[$PYTHON_USEDEP] )
- email-validation? ( dev-python/email-validator[$PYTHON_USEDEP] )
- graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
- html2text? ( dev-python/html2text[$PYTHON_USEDEP] )
- image? ( dev-python/pillow[truetype,$PYTHON_USEDEP] )
- qrcode? (
- dev-python/qrcode[$PYTHON_USEDEP]
- dev-python/webcolors[$PYTHON_USEDEP]
- )
- weasyprint? ( dev-python/weasyprint[$PYTHON_USEDEP] )"
-DEPEND="${RDEPEND}
- test? (
- $(python_gen_impl_dep sqlite)
- dev-python/html2text[$PYTHON_USEDEP]
- dev-python/pillow[truetype,$PYTHON_USEDEP]
- dev-python/pydot[$PYTHON_USEDEP]
- )"
-BDEPEND="dev-python/hatch-tryton[$PYTHON_USEDEP]
- app-text/rnc2rng"
-RESTRICT="!test? ( test )"
-DOCS=( LICENSE COPYRIGHT )
-
-distutils_enable_tests unittest
-
-src_install() {
- distutils-r1_src_install
-
- newinitd "${FILESDIR}"/trytond-init.d-2 trytond
- newinitd "${FILESDIR}"/trytond-cron-init.d-2 trytond-cron
- newinitd "${FILESDIR}"/trytond-worker-init.d trytond-worker
- newconfd "${FILESDIR}"/trytond-conf.d-2 trytond
- newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-cron
- newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-worker
- keepdir /var/log/trytond
- keepdir /var/lib/trytond
- fperms 770 /var/lib/trytond
-}
-
-python_test() {
- DB_NAME=":memory:" TEST_NETWORK=0 eunittest -s trytond.tests
-}
-
-pkg_preinst() {
- fowners trytond:trytond /var/log/trytond
- fowners trytond:trytond /var/lib/trytond
-}
-
-pkg_postinst() {
- if use postgres; then
- elog "In order to setup the initial database, run:"
- elog " emerge --config =${CATEGORY}/${PF}"
- elog "Be sure the database is started before"
- fi
-}
-
-pquery() {
- psql -q -At -U postgres -d template1 -c "$@"
-}
-
-pkg_config() {
- einfo "In the following, the 'postgres' user will be used."
- if ! pquery "SELECT usename FROM pg_user WHERE usename = 'trytond'" |
grep -q trytond; then
- ebegin "Creating database user trytond"
- createuser --username=postgres --createdb trytond
- eend $? || die "Failed to create database user"
- fi
-}
diff -r 16186964819b -r 0c9764f224d5 app-office/trytond/trytond-8.0.7.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-8.0.7.ebuild Thu Jul 16 20:51:07 2026 +0200
@@ -0,0 +1,103 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A three-tiers high-level general purpose business application
framework"
+HOMEPAGE="http://www.tryton.org/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="levenshtein +postgres sqlite barcode bash-completion email-validation
graphviz html2text image qrcode test weasyprint"
+
+RDEPEND="acct-group/trytond
+ acct-user/trytond
+ dev-python/genshi[$PYTHON_USEDEP]
+ dev-python/defusedxml[$PYTHON_USEDEP]
+ >=dev-python/lxml-2.0[$PYTHON_USEDEP]
+ dev-python/polib[$PYTHON_USEDEP]
+ >=dev-python/pwdlib-0.2[argon2,$PYTHON_USEDEP]
+ dev-python/python-dateutil[$PYTHON_USEDEP]
+ >=dev-python/python-sql-1.5[$PYTHON_USEDEP]
+ >=dev-python/relatorio-0.7[fodt,$PYTHON_USEDEP]
+ dev-python/simpleeval[$PYTHON_USEDEP]
+ >=dev-python/werkzeug-0.12[$PYTHON_USEDEP]
+ levenshtein? ( dev-python/levenshtein[$PYTHON_USEDEP] )
+ postgres? (
+ >=dev-python/psycopg-3[$PYTHON_USEDEP]
+ >=dev-python/psycopg-pool-3[$PYTHON_USEDEP]
+ )
+ sqlite? ( dev-lang/python:*[sqlite] )
+ barcode? ( dev-python/python-barcode[image,$PYTHON_USEDEP] )
+ bash-completion? ( dev-python/argcomplete[$PYTHON_USEDEP] )
+ email-validation? ( dev-python/email-validator[$PYTHON_USEDEP] )
+ graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
+ html2text? ( dev-python/html2text[$PYTHON_USEDEP] )
+ image? ( dev-python/pillow[truetype,$PYTHON_USEDEP] )
+ qrcode? (
+ dev-python/qrcode[$PYTHON_USEDEP]
+ dev-python/webcolors[$PYTHON_USEDEP]
+ )
+ weasyprint? ( dev-python/weasyprint[$PYTHON_USEDEP] )"
+DEPEND="${RDEPEND}
+ test? (
+ $(python_gen_impl_dep sqlite)
+ dev-python/html2text[$PYTHON_USEDEP]
+ dev-python/pillow[truetype,$PYTHON_USEDEP]
+ dev-python/pydot[$PYTHON_USEDEP]
+ )"
+BDEPEND="dev-python/hatch-tryton[$PYTHON_USEDEP]
+ app-text/rnc2rng"
+RESTRICT="!test? ( test )"
+DOCS=( LICENSE COPYRIGHT )
+
+distutils_enable_tests unittest
+
+src_install() {
+ distutils-r1_src_install
+
+ newinitd "${FILESDIR}"/trytond-init.d-2 trytond
+ newinitd "${FILESDIR}"/trytond-cron-init.d-2 trytond-cron
+ newinitd "${FILESDIR}"/trytond-worker-init.d trytond-worker
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-cron
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-worker
+ keepdir /var/log/trytond
+ keepdir /var/lib/trytond
+ fperms 770 /var/lib/trytond
+}
+
+python_test() {
+ DB_NAME=":memory:" TEST_NETWORK=0 eunittest -s trytond.tests
+}
+
+pkg_preinst() {
+ fowners trytond:trytond /var/log/trytond
+ fowners trytond:trytond /var/lib/trytond
+}
+
+pkg_postinst() {
+ if use postgres; then
+ elog "In order to setup the initial database, run:"
+ elog " emerge --config =${CATEGORY}/${PF}"
+ elog "Be sure the database is started before"
+ fi
+}
+
+pquery() {
+ psql -q -At -U postgres -d template1 -c "$@"
+}
+
+pkg_config() {
+ einfo "In the following, the 'postgres' user will be used."
+ if ! pquery "SELECT usename FROM pg_user WHERE usename = 'trytond'" |
grep -q trytond; then
+ ebegin "Creating database user trytond"
+ createuser --username=postgres --createdb trytond
+ eend $? || die "Failed to create database user"
+ fi
+}