details: https://code.tryton.org/gentoo-overlay/commit/9f6154b0b865
branch: default
user: Cédric Krier <[email protected]>
date: Fri Jan 02 21:04:59 2026 +0100
description:
app-office/trytond: versions bump
diffstat:
app-office/trytond/Manifest | 16 ++--
app-office/trytond/trytond-7.0.42.ebuild | 99 --------------------------------
app-office/trytond/trytond-7.0.43.ebuild | 99 ++++++++++++++++++++++++++++++++
app-office/trytond/trytond-7.4.23.ebuild | 99 --------------------------------
app-office/trytond/trytond-7.4.24.ebuild | 99 ++++++++++++++++++++++++++++++++
app-office/trytond/trytond-7.6.13.ebuild | 98 -------------------------------
app-office/trytond/trytond-7.6.14.ebuild | 98 +++++++++++++++++++++++++++++++
app-office/trytond/trytond-7.8.1.ebuild | 98 -------------------------------
app-office/trytond/trytond-7.8.2.ebuild | 98 +++++++++++++++++++++++++++++++
9 files changed, 402 insertions(+), 402 deletions(-)
diffs (844 lines):
diff -r ea6e77c6d525 -r 9f6154b0b865 app-office/trytond/Manifest
--- a/app-office/trytond/Manifest Mon Dec 22 21:01:40 2025 +0100
+++ b/app-office/trytond/Manifest Fri Jan 02 21:04:59 2026 +0100
@@ -3,12 +3,12 @@
AUX trytond-init.d 538 BLAKE2B
9e1abe67243c8828941f5b981208dc9874d65de52113421b13676026558a3cd95fdfd8f4ad47744c91b8d02c0b25def4bf00334a26f41edbc433fb6c7c9a825f
SHA512
a86febe62bb7921b2808b9896e67c7c9b20c3082ee324f1562146550681c64e443e4548fdae6b782f4b84060181331eebf8165d6ef9f37baca3556c2ee69438d
AUX trytond-init.d-2 799 BLAKE2B
78dcf251feb3e9f04ba5014359c8da069cc54e14a626f6d9e03306008a30e4e412354c409ad7bb8beb47dfa65e1cc9eb12ab9459ea56f47e2994b25f113297c0
SHA512
1c6f1aa4fa8ad1da7e88e2ed5c53646802747c3ea1b4108ec51b400214eb7dd0a586548fa76d864be0087d24c1b9913343cba28339323e7a1a7fa370a8bce1c6
AUX trytond-worker-init.d 827 BLAKE2B
e87b93697abbbf1be85bfce382ffafe67fa951cd60cab530f64854485fa3d729524936356ec9dc9e2844addb3f92e04f73168e1f977003e1ea59e20126706fa1
SHA512
4d49e4b27d089462c86ecad6a7b9ba2143acbdeb60f2287305dedc8c9f8843487a8ab870e9dd9f883f4582949d4672a470d0f2498618aec54feee4db4c4d256b
-DIST trytond-7.0.42.tar.gz 980722 BLAKE2B
a62bb6fa7ad4bcec6ea8599fdebd8d95e512fa103c06fd98e47fb4a8522ab874f5b8cece3c809493967fc3a4f07c65e134e17735800c5f8d27d74a8a3271b157
SHA512
520cf139a552538fdeab84639b575d8534c58b31e93ac968d2356c498e72192c192853d2b112ff7e8f16457a7439f981568c4792232cec746db4ba1c04b1bbb0
-DIST trytond-7.4.23.tar.gz 1035162 BLAKE2B
2728f74c09e8cbb254cb2a7cb40c798c3e3f819b2aff323ad6c69db37344d5f5e981a06629727fa1d804d7071c780e11bbe4ef76127ab4fdbb90a1239a9330c0
SHA512
84ff5b73598d94cb79797f04ca8ab6c32c10aaa78ec7177d0530e66c9d8b4d59a73f677bd96b42fea26d708b4999c9407a67376af8fdd474f883d59464c4db6b
-DIST trytond-7.6.13.tar.gz 1054022 BLAKE2B
bade4c142d388b37754220bfc33c294146a1e3d2e94704017465a1cf91021e2f3c6198ebb9d744b696cc4a56f06dc3b26af12f017cbb25b0071a172c55887321
SHA512
1986838d904964ef98a34b4478f13f57d93c0394f1f8716bafdd8ceafb8c31b2ae068eb0c9d54070fc47069cac393aa930c53fc3e04ec67ecf983079b04ff80f
-DIST trytond-7.8.1.tar.gz 1071307 BLAKE2B
080575f18879d60f598e1e733ae208038b8acdb7e9ec447203606e1f9dd2b16170b1681af383dbfc26bf4b49c638c76c9fd3acc7c196c5b874bb2ba3157e40b5
SHA512
59b9b9290f375a25515b26a6124fb197f2a58633391918abe2e154ad85b6441cf9b0905040cf4557f4ad1f9857ef2860cb61a84c16f5bd418ad715d53e2f2ba4
-EBUILD trytond-7.0.42.ebuild 3258 BLAKE2B
242e6bdc2278680002d7b34646a325c3f69d5596a6dfca64842d5c79165a1b2e28936b024bd78d4560deebf6fc6ab2014efdfaa4fe636f7e17a2c0c917f5fa8f
SHA512
ddf8558b934b23790ab4bd876ebd5d68ffd7cafbb74fa976d379fc4be359102b05530d70e65458ba9927da2eebcdef36b87926a82d59ee5669fe89d0d22c3346
-EBUILD trytond-7.4.23.ebuild 3273 BLAKE2B
61188994b50cc118b9cfc54dc9b513bc367227a58d12163213552e41a1cdce4cf8b5ae6e57d0e29f6cf7a0d47c88cc686054275ab668f4e7dab7e9500db955dc
SHA512
27b64e0d12a35298eb611f7063faa3d02cf4a6867273712a75f2fbc4c97dff226ef3ac59a7af71e9103ed1825b43e7b667f6b49b9a71ba8f085e6c72fc9be80c
-EBUILD trytond-7.6.13.ebuild 3203 BLAKE2B
6e69a6b17214f9d947e3d3acb2ed869d41e26046a86a927cde7b490d3e8be3d06964bc0e2120a9e7e7050c48ef857945691214166596a75411845f911db819a3
SHA512
8195c035b7027c53745476ab3ba0333145ae08aa86fc6467b4ed99678a73f75468fa0fb9155e37db8e0145e805ed4a093eefd9a21d97163e3eee2f90ed6cae29
-EBUILD trytond-7.8.1.ebuild 3203 BLAKE2B
6e69a6b17214f9d947e3d3acb2ed869d41e26046a86a927cde7b490d3e8be3d06964bc0e2120a9e7e7050c48ef857945691214166596a75411845f911db819a3
SHA512
8195c035b7027c53745476ab3ba0333145ae08aa86fc6467b4ed99678a73f75468fa0fb9155e37db8e0145e805ed4a093eefd9a21d97163e3eee2f90ed6cae29
+DIST trytond-7.0.43.tar.gz 980782 BLAKE2B
dc5ffc783c40d152dec3f56aabe012e6733d5228990c3ed90c7224e9544cd2621a5e9b4736176a5d3605fe97e96a786a497eda7680f9861d97cbf0e26121805a
SHA512
67ccde89eef52f85e45f3a3a73c8aeca90a92c0c53c0e316bf3987c07b1957f2162dc5abbc840b23f0390bc16a17060694f1d5a4d867412b4d9b36c67ade58b6
+DIST trytond-7.4.24.tar.gz 1035167 BLAKE2B
be1e160101b762f1ec7b8164693d2241891dde7197e8192a5cba1a8a80b321fc69132983bb6715ba2a3b5d191ce12ea931238d2b4aa52f3f76cd8896efe6f053
SHA512
815349a36bb5842fcc2fd782abf09dde7bfcb88af6e43a86b8068d9035fde20754513766755b23a9f7510f8e4919be74f7e9eb96b0e09a2bc4d0f6c011bfd3db
+DIST trytond-7.6.14.tar.gz 1054197 BLAKE2B
835c81f8c35551c5e1ad5b74287d1479f105e02c88a7756304990a1dc3832a0b97973600bc302833db5c8d3093231e616a27b59ac40c566f22a6686e4f0dae75
SHA512
5d19656602cae4a681810abaed0150b02d324b7ba3083e43f9f0dcf5972f36134327ce19ac0f9daadcaac7f3d71ae61627ea6faf860257ca9661789d74fab9f1
+DIST trytond-7.8.2.tar.gz 1071518 BLAKE2B
d2a8b10383135217a72659953f8cd7013ad6d05b7dbcba64d0e43aaf3a8c358e8747a8125a0419e39516f0eecd758f2fbe5756c37398cb35789cd58af25315f3
SHA512
56f08a375ca550ea302f4bd169dbd2129da0d863c422327ba7cdf4d79f1a2a70c6a7babfaf1b5c0a388608507a5fde55bab676ad9a6b00886d7f0390b1f9a079
+EBUILD trytond-7.0.43.ebuild 3258 BLAKE2B
242e6bdc2278680002d7b34646a325c3f69d5596a6dfca64842d5c79165a1b2e28936b024bd78d4560deebf6fc6ab2014efdfaa4fe636f7e17a2c0c917f5fa8f
SHA512
ddf8558b934b23790ab4bd876ebd5d68ffd7cafbb74fa976d379fc4be359102b05530d70e65458ba9927da2eebcdef36b87926a82d59ee5669fe89d0d22c3346
+EBUILD trytond-7.4.24.ebuild 3273 BLAKE2B
61188994b50cc118b9cfc54dc9b513bc367227a58d12163213552e41a1cdce4cf8b5ae6e57d0e29f6cf7a0d47c88cc686054275ab668f4e7dab7e9500db955dc
SHA512
27b64e0d12a35298eb611f7063faa3d02cf4a6867273712a75f2fbc4c97dff226ef3ac59a7af71e9103ed1825b43e7b667f6b49b9a71ba8f085e6c72fc9be80c
+EBUILD trytond-7.6.14.ebuild 3203 BLAKE2B
6e69a6b17214f9d947e3d3acb2ed869d41e26046a86a927cde7b490d3e8be3d06964bc0e2120a9e7e7050c48ef857945691214166596a75411845f911db819a3
SHA512
8195c035b7027c53745476ab3ba0333145ae08aa86fc6467b4ed99678a73f75468fa0fb9155e37db8e0145e805ed4a093eefd9a21d97163e3eee2f90ed6cae29
+EBUILD trytond-7.8.2.ebuild 3203 BLAKE2B
6e69a6b17214f9d947e3d3acb2ed869d41e26046a86a927cde7b490d3e8be3d06964bc0e2120a9e7e7050c48ef857945691214166596a75411845f911db819a3
SHA512
8195c035b7027c53745476ab3ba0333145ae08aa86fc6467b4ed99678a73f75468fa0fb9155e37db8e0145e805ed4a093eefd9a21d97163e3eee2f90ed6cae29
MISC metadata.xml 890 BLAKE2B
0cdfba62159450bea5d52ac23b0ca1f65466653ef5ebe431df047cdfa15d3136dd4072c152f2bc8267b2e6f975f56f9113cd6df7c549e6d51373de18edfeed94
SHA512
8d86dbd5094f7bbb262d47a3d391ce71513418d85d6335660ad84498d304a09cfc71316b7e1a0e53df7e49d36bca1bbb1f53726d03beee8ef664e429962f1fb3
diff -r ea6e77c6d525 -r 9f6154b0b865 app-office/trytond/trytond-7.0.42.ebuild
--- a/app-office/trytond/trytond-7.0.42.ebuild Mon Dec 22 21:01:40 2025 +0100
+++ /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/passlib-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 ea6e77c6d525 -r 9f6154b0b865 app-office/trytond/trytond-7.0.43.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-7.0.43.ebuild Fri Jan 02 21:04:59 2026 +0100
@@ -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/passlib-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 ea6e77c6d525 -r 9f6154b0b865 app-office/trytond/trytond-7.4.23.ebuild
--- a/app-office/trytond/trytond-7.4.23.ebuild Mon Dec 22 21:01:40 2025 +0100
+++ /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.5[$PYTHON_USEDEP]
- >=dev-python/werkzeug-0.12[$PYTHON_USEDEP]
- >=dev-python/passlib-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:" 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 ea6e77c6d525 -r 9f6154b0b865 app-office/trytond/trytond-7.4.24.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-7.4.24.ebuild Fri Jan 02 21:04:59 2026 +0100
@@ -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.5[$PYTHON_USEDEP]
+ >=dev-python/werkzeug-0.12[$PYTHON_USEDEP]
+ >=dev-python/passlib-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:" 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 ea6e77c6d525 -r 9f6154b0b865 app-office/trytond/trytond-7.6.13.ebuild
--- a/app-office/trytond/trytond-7.6.13.ebuild Mon Dec 22 21:01:40 2025 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,98 +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_{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 ea6e77c6d525 -r 9f6154b0b865 app-office/trytond/trytond-7.6.14.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-7.6.14.ebuild Fri Jan 02 21:04:59 2026 +0100
@@ -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 ea6e77c6d525 -r 9f6154b0b865 app-office/trytond/trytond-7.8.1.ebuild
--- a/app-office/trytond/trytond-7.8.1.ebuild Mon Dec 22 21:01:40 2025 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,98 +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_{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 ea6e77c6d525 -r 9f6154b0b865 app-office/trytond/trytond-7.8.2.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-7.8.2.ebuild Fri Jan 02 21:04:59 2026 +0100
@@ -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
+}