changeset f1a66f6aed29 in tryton-overlay:default
details: https://hg.tryton.org/tryton-overlay?cmd=changeset&node=f1a66f6aed29
description:
        app-office/trytond: versions bump
diffstat:

 app-office/trytond/Manifest              |   18 ++--
 app-office/trytond/metadata.xml          |    3 +
 app-office/trytond/trytond-6.0.23.ebuild |  106 -----------------------------
 app-office/trytond/trytond-6.0.24.ebuild |  106 +++++++++++++++++++++++++++++
 app-office/trytond/trytond-6.2.13.ebuild |  106 -----------------------------
 app-office/trytond/trytond-6.2.14.ebuild |  106 +++++++++++++++++++++++++++++
 app-office/trytond/trytond-6.4.7.ebuild  |  109 ------------------------------
 app-office/trytond/trytond-6.4.8.ebuild  |  109 ++++++++++++++++++++++++++++++
 app-office/trytond/trytond-6.6.0.ebuild  |  111 -------------------------------
 app-office/trytond/trytond-6.6.1.ebuild  |  111 +++++++++++++++++++++++++++++++
 10 files changed, 444 insertions(+), 441 deletions(-)

diffs (932 lines):

diff -r d0671fc6d6cc -r f1a66f6aed29 app-office/trytond/Manifest
--- a/app-office/trytond/Manifest       Thu Nov 17 22:42:09 2022 +0100
+++ b/app-office/trytond/Manifest       Thu Nov 17 22:44:18 2022 +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-6.0.23.tar.gz 855204 BLAKE2B 
5329d1a19591b6141cf776101e7507a5f4dcf1924ef201da9dc969080393f214a33db5e1c02d9db9a51b601cf0db0be210313192ea98825f3cc66f14733e89c7
 SHA512 
e4afee132edf727c72354e17ad7364d23253aee4c38119da6721d45b22002071e5a75953717fba575ae7282fe35f8fd4c974013a1cfb3647fa659e4cd06e0d4c
-DIST trytond-6.2.13.tar.gz 880562 BLAKE2B 
4f216d2555b35e5b364c3da85db3e87db04353fafaaa1b8730feae4f417df7e94400446211148ee981560fa31638069a9d1cb7bf58fbdb99a485b1b5f9fe941c
 SHA512 
426df8410115c92b18944258533437cf9c91e2332dee23a2f7ad60a780a0385b50fc335550187d4ba0d1a9edcf4f75ae5d806e24f7566a892ee7430bd6487267
-DIST trytond-6.4.7.tar.gz 904274 BLAKE2B 
b579ddd93b776439cb2945abdaaf317fa53e012f59e0cf52d8e4b3a28a5cafe3264f507e00c170d4d19b9084ee6851b1f23f55229af51a52793fd332d6eead78
 SHA512 
6934fd92ed735ef4d36bc6b424652232a65cee7541e61b823f85b267ed3d7ea4623b62424f03d3e748e797d108543c06046e8ce446de10fa22b02bcbbb320dbd
-DIST trytond-6.6.0.tar.gz 942624 BLAKE2B 
28b6325016544dca726b3091eaba1e2d6b6b998c9e3fa98e5c02e65e22bfcdc5b8ec2fd4fcedf5bf3eb5040cf60ff897da9896170f3dbfcc7534124b984bc823
 SHA512 
52f74afad7f07fa9e8ef09dba65c6e9b5b2a387eab2626ecaf8a7e5f5811df3a044e8bf834060ebfa78ee145b3c75e3f02e918aaa883a7b38e36eb28ebf37b16
-EBUILD trytond-6.0.23.ebuild 3110 BLAKE2B 
7ef5d5788c587ac6c5277770d4d3090ec5a566dc90e557557dc9b03ee4971c996d760ccae2a2df62791c7507ee5663afd40aa3e6bd14e7adcb32cfded5f1c530
 SHA512 
0efb466aa23f5851a057531b7fd6210f4157b8cd2f751eb30b4267e76d37a9e4e1771fe8375136817258dca50c66c3a68fafb331779762b02e2c70947c55ebfd
-EBUILD trytond-6.2.13.ebuild 3112 BLAKE2B 
d4a772fec07f3db2ec7c737d19ee5461451bc71cfa1af7ed129ebd5ae2d1994804ef5a0a83a5822312a080b92a398156fab6a493f922119b03d8bf5a9438f2a0
 SHA512 
5fd5ffc1fa50773e61e545d8bf2cc486f0f1d3f0484056536b779a5f731ad56a1e94f64197187349353ca4d0c80c081db450801084d1bf12c9cc3b746092d294
-EBUILD trytond-6.4.7.ebuild 3207 BLAKE2B 
36d00dccd4c2732e21dd7f8a88244dbcee0ea33c486c99241dbbaaabd5abff896af99f84925a6dc744c37e4b7d8e9184cbc33d885c881f4bf7e5190b0b47c99a
 SHA512 
383856af491a060671871999449e1aaaf1cef967663d21424aa42897394a109c96cbb727f18a492d9557c5509b9e7ac836c3bfd352b176822cae4748f907668d
-EBUILD trytond-6.6.0.ebuild 3359 BLAKE2B 
f4bbde1c91aaf3499505d7e3910461b1ebd50fcf7164079aa68798863d942e9b8452afaf31a0990fea7e1ed0b0ece3cabd43e64ebc8915ef804d68c85756a483
 SHA512 
8600fbec762aa32a8ce3ccc29c610da63a191f1470008428b5e4ea64931ac3b131df3ce1eb9593975e4951d8f5e6f92bf88849a38687c98807baef1ba7760738
-MISC metadata.xml 667 BLAKE2B 
b5ae60af5c4c3de03f546274350a65b1c125f7c80c3dc3eb425ad29aa6c98bc1c8e9447b100ee2fa1c971c9bec3fd92f5bbca5259b15b6504f1c8785886ea35a
 SHA512 
798a43bbd7edb8d393fac4f98d13ebf3926f9076459c15768c434ffb6694316224a6133c9b3313aed469adb12dbd1d2d1476a529d218323c3d13afa26d917554
+DIST trytond-6.0.24.tar.gz 855288 BLAKE2B 
021346fdb0850370ae5c9cf362193ad6f70ac59efd80eaa7c95429ba47ec888536deb6987c5144d9b59a170cf0989b542d9377fab5f5c1d2d58fd7de3d624005
 SHA512 
045f2417f119f6032b354ba5bbce28ac9368e3e5160b5c16e8ec261da3bd760958dad74c03252d44f227c1543a1c67093a429fa7778f7cc95db2d7056d2b77de
+DIST trytond-6.2.14.tar.gz 880590 BLAKE2B 
2b68fa285c7181cad3d09ccbfb5505e181f0137f7669a8087f46d0a39d97025ae509083d157385ebb589a5802bb3ecb3343e012c9ba788daad5434a1d8e491f8
 SHA512 
9b2aa458f0bedcc77d794312628bff6cd1c2a76bdb1be379ced8b8e68325cef6a885b1cb52b129e65d69d2d9f11694f30b457d05d6b5ff3f19b2ab0cbb433c17
+DIST trytond-6.4.8.tar.gz 904458 BLAKE2B 
6f35dc3ec68ad1eb534177b145c87727cb129c99128272d9d5a8cafaf4161adb04f42edf87c25156a032b7197293ebcf2c969b677046cb65834d1ee7b262d2c5
 SHA512 
176b98ce5638b5adcea0079d0145a8bdc6d70f97cb8ed327f2ade797f318a5aa48d3af1889b4f83e36d131c67de9c2dec615687317b134d271168ba5ab673cc6
+DIST trytond-6.6.1.tar.gz 937346 BLAKE2B 
3d7f1a211f237bdb84bd5c80986bbd9166d0ca3917ae52e5111c4724f1c4c9252b4eb4803f5d0f296059e8c277e707c76782b9b0701d88558ea2c5c127e50bcc
 SHA512 
f666310a29ff99b71e4fc265a2511b74195199252b9b630041a0e451f1c6bfd12088cf185f9bc867d015698c7614f6091a12f370e6862761a9e6760deefa28a5
+EBUILD trytond-6.0.24.ebuild 3110 BLAKE2B 
7ef5d5788c587ac6c5277770d4d3090ec5a566dc90e557557dc9b03ee4971c996d760ccae2a2df62791c7507ee5663afd40aa3e6bd14e7adcb32cfded5f1c530
 SHA512 
0efb466aa23f5851a057531b7fd6210f4157b8cd2f751eb30b4267e76d37a9e4e1771fe8375136817258dca50c66c3a68fafb331779762b02e2c70947c55ebfd
+EBUILD trytond-6.2.14.ebuild 3112 BLAKE2B 
d4a772fec07f3db2ec7c737d19ee5461451bc71cfa1af7ed129ebd5ae2d1994804ef5a0a83a5822312a080b92a398156fab6a493f922119b03d8bf5a9438f2a0
 SHA512 
5fd5ffc1fa50773e61e545d8bf2cc486f0f1d3f0484056536b779a5f731ad56a1e94f64197187349353ca4d0c80c081db450801084d1bf12c9cc3b746092d294
+EBUILD trytond-6.4.8.ebuild 3207 BLAKE2B 
36d00dccd4c2732e21dd7f8a88244dbcee0ea33c486c99241dbbaaabd5abff896af99f84925a6dc744c37e4b7d8e9184cbc33d885c881f4bf7e5190b0b47c99a
 SHA512 
383856af491a060671871999449e1aaaf1cef967663d21424aa42897394a109c96cbb727f18a492d9557c5509b9e7ac836c3bfd352b176822cae4748f907668d
+EBUILD trytond-6.6.1.ebuild 3359 BLAKE2B 
f4bbde1c91aaf3499505d7e3910461b1ebd50fcf7164079aa68798863d942e9b8452afaf31a0990fea7e1ed0b0ece3cabd43e64ebc8915ef804d68c85756a483
 SHA512 
8600fbec762aa32a8ce3ccc29c610da63a191f1470008428b5e4ea64931ac3b131df3ce1eb9593975e4951d8f5e6f92bf88849a38687c98807baef1ba7760738
+MISC metadata.xml 737 BLAKE2B 
04991d2ae9877b548132ff06f1d655faac5658576967c4e988eeff0b883ce914f4625a183b019b2895f56ebd5441e78f8bd6bd696fcf8257ddcb0c66a4d2f0d0
 SHA512 
3296e7cf983f0ce1d19ce7b84dec2c905084dfefdfe772f3716f923a336ec8e0a2de26da045d9c6589b139488d2f7680d0f6dc2d1717064999561230c2556ff6
diff -r d0671fc6d6cc -r f1a66f6aed29 app-office/trytond/metadata.xml
--- a/app-office/trytond/metadata.xml   Thu Nov 17 22:42:09 2022 +0100
+++ b/app-office/trytond/metadata.xml   Thu Nov 17 22:44:18 2022 +0100
@@ -14,4 +14,7 @@
                <flag name="coroutine">Enable coroutine support</flag>
                <flag name="image">Enable image/avatar support</flag>
        </use>
+       <upstream>
+               <remote-id type="pypi">trytond</remote-id>
+       </upstream>
 </pkgmetadata>
diff -r d0671fc6d6cc -r f1a66f6aed29 app-office/trytond/trytond-6.0.23.ebuild
--- a/app-office/trytond/trytond-6.0.23.ebuild  Thu Nov 17 22:42:09 2022 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,106 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{6..9} )
-
-inherit distutils-r1
-
-DESCRIPTION="A three-tiers high-level general purpose business application 
framework"
-HOMEPAGE="http://www.tryton.org/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc graphviz mysql +postgres sqlite levenshtein bcrypt html2text 
weasyprint coroutine image test"
-
-RDEPEND="acct-group/trytond
-       acct-user/trytond
-       postgres? ( >=dev-python/psycopg-2.5.4: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-0.5[$PYTHON_USEDEP]
-       dev-python/werkzeug[$PYTHON_USEDEP]
-       dev-python/wrapt[$PYTHON_USEDEP]
-       >=dev-python/passlib-1.7.0[$PYTHON_USEDEP]
-       graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
-       levenshtein? ( dev-python/python-levenshtein[$PYTHON_USEDEP] )
-       bcrypt? ( dev-python/bcrypt[$PYTHON_USEDEP] )
-       html2text? ( dev-python/html2text[$PYTHON_USEDEP] )
-       weasyprint? ( dev-python/weasyprint[$PYTHON_USEDEP] )
-       coroutine? ( >=dev-python/gevent-1.1[$PYTHON_USEDEP] )
-       image? ( dev-python/pillow[truetype,$PYTHON_USEDEP] )"
-DEPEND="${RDEPEND}
-       dev-python/setuptools[$PYTHON_USEDEP]
-       doc? ( >=dev-python/sphinx-0.3 )
-       test? (
-               dev-lang/python:*[sqlite]
-               dev-python/pillow[truetype,$PYTHON_USEDEP]
-               )"
-RESTRICT="!test? ( test )"
-
-src_compile() {
-       distutils-r1_src_compile
-
-       if use doc; then
-               pushd doc > /dev/null
-               emake html || die "Generation of HTML documentation failed"
-               popd > /dev/null
-       fi
-}
-
-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
-
-       dodoc CHANGELOG COPYRIGHT README.rst
-       if use doc; then
-               docinto html
-               dodoc -r doc/_build/html/*
-       fi
-}
-
-python_test() {
-       DB_NAME=":memory:" esetup.py test || die
-}
-
-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 --no-adduser trytond
-               eend $? || die "Failed to create database user"
-       fi
-}
diff -r d0671fc6d6cc -r f1a66f6aed29 app-office/trytond/trytond-6.0.24.ebuild
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-6.0.24.ebuild  Thu Nov 17 22:44:18 2022 +0100
@@ -0,0 +1,106 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="A three-tiers high-level general purpose business application 
framework"
+HOMEPAGE="http://www.tryton.org/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc graphviz mysql +postgres sqlite levenshtein bcrypt html2text 
weasyprint coroutine image test"
+
+RDEPEND="acct-group/trytond
+       acct-user/trytond
+       postgres? ( >=dev-python/psycopg-2.5.4: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-0.5[$PYTHON_USEDEP]
+       dev-python/werkzeug[$PYTHON_USEDEP]
+       dev-python/wrapt[$PYTHON_USEDEP]
+       >=dev-python/passlib-1.7.0[$PYTHON_USEDEP]
+       graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
+       levenshtein? ( dev-python/python-levenshtein[$PYTHON_USEDEP] )
+       bcrypt? ( dev-python/bcrypt[$PYTHON_USEDEP] )
+       html2text? ( dev-python/html2text[$PYTHON_USEDEP] )
+       weasyprint? ( dev-python/weasyprint[$PYTHON_USEDEP] )
+       coroutine? ( >=dev-python/gevent-1.1[$PYTHON_USEDEP] )
+       image? ( dev-python/pillow[truetype,$PYTHON_USEDEP] )"
+DEPEND="${RDEPEND}
+       dev-python/setuptools[$PYTHON_USEDEP]
+       doc? ( >=dev-python/sphinx-0.3 )
+       test? (
+               dev-lang/python:*[sqlite]
+               dev-python/pillow[truetype,$PYTHON_USEDEP]
+               )"
+RESTRICT="!test? ( test )"
+
+src_compile() {
+       distutils-r1_src_compile
+
+       if use doc; then
+               pushd doc > /dev/null
+               emake html || die "Generation of HTML documentation failed"
+               popd > /dev/null
+       fi
+}
+
+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
+
+       dodoc CHANGELOG COPYRIGHT README.rst
+       if use doc; then
+               docinto html
+               dodoc -r doc/_build/html/*
+       fi
+}
+
+python_test() {
+       DB_NAME=":memory:" esetup.py test || die
+}
+
+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 --no-adduser trytond
+               eend $? || die "Failed to create database user"
+       fi
+}
diff -r d0671fc6d6cc -r f1a66f6aed29 app-office/trytond/trytond-6.2.13.ebuild
--- a/app-office/trytond/trytond-6.2.13.ebuild  Thu Nov 17 22:42:09 2022 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,106 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{6..9} )
-
-inherit distutils-r1
-
-DESCRIPTION="A three-tiers high-level general purpose business application 
framework"
-HOMEPAGE="http://www.tryton.org/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc graphviz mysql +postgres sqlite levenshtein bcrypt html2text 
weasyprint coroutine image test"
-
-RDEPEND="acct-group/trytond
-       acct-user/trytond
-       postgres? ( >=dev-python/psycopg-2.5.4: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[$PYTHON_USEDEP]
-       dev-python/wrapt[$PYTHON_USEDEP]
-       >=dev-python/passlib-1.7.0[$PYTHON_USEDEP]
-       graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
-       levenshtein? ( dev-python/python-levenshtein[$PYTHON_USEDEP] )
-       bcrypt? ( dev-python/bcrypt[$PYTHON_USEDEP] )
-       html2text? ( dev-python/html2text[$PYTHON_USEDEP] )
-       weasyprint? ( dev-python/weasyprint[$PYTHON_USEDEP] )
-       coroutine? ( >=dev-python/gevent-1.1[$PYTHON_USEDEP] )
-       image? ( dev-python/pillow[truetype,$PYTHON_USEDEP] )"
-DEPEND="${RDEPEND}
-       dev-python/setuptools[$PYTHON_USEDEP]
-       doc? ( >=dev-python/sphinx-0.3 )
-       test? (
-               dev-lang/python:*[sqlite]
-               dev-python/pillow[truetype,$PYTHON_USEDEP]
-               )"
-RESTRICT="!test? ( test )"
-DOCS=( CHANGELOG COPYRIGHT README.rst )
-
-src_compile() {
-       distutils-r1_src_compile
-
-       if use doc; then
-               pushd doc > /dev/null
-               emake html || die "Generation of HTML documentation failed"
-               popd > /dev/null
-       fi
-}
-
-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
-
-       if use doc; then
-               docinto html
-               dodoc -r doc/_build/html/*
-       fi
-}
-
-python_test() {
-       DB_NAME=":memory:" esetup.py test || die
-}
-
-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 --no-adduser trytond
-               eend $? || die "Failed to create database user"
-       fi
-}
diff -r d0671fc6d6cc -r f1a66f6aed29 app-office/trytond/trytond-6.2.14.ebuild
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-6.2.14.ebuild  Thu Nov 17 22:44:18 2022 +0100
@@ -0,0 +1,106 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="A three-tiers high-level general purpose business application 
framework"
+HOMEPAGE="http://www.tryton.org/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc graphviz mysql +postgres sqlite levenshtein bcrypt html2text 
weasyprint coroutine image test"
+
+RDEPEND="acct-group/trytond
+       acct-user/trytond
+       postgres? ( >=dev-python/psycopg-2.5.4: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[$PYTHON_USEDEP]
+       dev-python/wrapt[$PYTHON_USEDEP]
+       >=dev-python/passlib-1.7.0[$PYTHON_USEDEP]
+       graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
+       levenshtein? ( dev-python/python-levenshtein[$PYTHON_USEDEP] )
+       bcrypt? ( dev-python/bcrypt[$PYTHON_USEDEP] )
+       html2text? ( dev-python/html2text[$PYTHON_USEDEP] )
+       weasyprint? ( dev-python/weasyprint[$PYTHON_USEDEP] )
+       coroutine? ( >=dev-python/gevent-1.1[$PYTHON_USEDEP] )
+       image? ( dev-python/pillow[truetype,$PYTHON_USEDEP] )"
+DEPEND="${RDEPEND}
+       dev-python/setuptools[$PYTHON_USEDEP]
+       doc? ( >=dev-python/sphinx-0.3 )
+       test? (
+               dev-lang/python:*[sqlite]
+               dev-python/pillow[truetype,$PYTHON_USEDEP]
+               )"
+RESTRICT="!test? ( test )"
+DOCS=( CHANGELOG COPYRIGHT README.rst )
+
+src_compile() {
+       distutils-r1_src_compile
+
+       if use doc; then
+               pushd doc > /dev/null
+               emake html || die "Generation of HTML documentation failed"
+               popd > /dev/null
+       fi
+}
+
+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
+
+       if use doc; then
+               docinto html
+               dodoc -r doc/_build/html/*
+       fi
+}
+
+python_test() {
+       DB_NAME=":memory:" esetup.py test || die
+}
+
+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 --no-adduser trytond
+               eend $? || die "Failed to create database user"
+       fi
+}
diff -r d0671fc6d6cc -r f1a66f6aed29 app-office/trytond/trytond-6.4.7.ebuild
--- a/app-office/trytond/trytond-6.4.7.ebuild   Thu Nov 17 22:42:09 2022 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,109 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="A three-tiers high-level general purpose business application 
framework"
-HOMEPAGE="http://www.tryton.org/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc graphviz mysql +postgres sqlite levenshtein bcrypt argon2 html2text 
weasyprint coroutine image 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[$PYTHON_USEDEP]
-       dev-python/wrapt[$PYTHON_USEDEP]
-       >=dev-python/passlib-1.7.0[$PYTHON_USEDEP]
-       graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
-       levenshtein? ( dev-python/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] )
-       coroutine? ( >=dev-python/gevent-1.1[$PYTHON_USEDEP] )
-       image? ( dev-python/pillow[truetype,$PYTHON_USEDEP] )"
-DEPEND="${RDEPEND}
-       doc? ( >=dev-python/sphinx-0.3 )
-       test? (
-               $(python_gen_impl_dep sqlite)
-               dev-python/pillow[truetype,$PYTHON_USEDEP]
-               )"
-RESTRICT="!test? ( test )"
-DOCS=( CHANGELOG COPYRIGHT README.rst )
-
-distutils_enable_tests unittest
-
-src_compile() {
-       distutils-r1_src_compile
-
-       if use doc; then
-               pushd doc > /dev/null
-               emake html || die "Generation of HTML documentation failed"
-               popd > /dev/null
-       fi
-}
-
-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
-
-       if use doc; then
-               docinto html
-               dodoc -r doc/_build/html/*
-       fi
-}
-
-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 --no-adduser trytond
-               eend $? || die "Failed to create database user"
-       fi
-}
diff -r d0671fc6d6cc -r f1a66f6aed29 app-office/trytond/trytond-6.4.8.ebuild
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-6.4.8.ebuild   Thu Nov 17 22:44:18 2022 +0100
@@ -0,0 +1,109 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A three-tiers high-level general purpose business application 
framework"
+HOMEPAGE="http://www.tryton.org/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc graphviz mysql +postgres sqlite levenshtein bcrypt argon2 html2text 
weasyprint coroutine image 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[$PYTHON_USEDEP]
+       dev-python/wrapt[$PYTHON_USEDEP]
+       >=dev-python/passlib-1.7.0[$PYTHON_USEDEP]
+       graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
+       levenshtein? ( dev-python/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] )
+       coroutine? ( >=dev-python/gevent-1.1[$PYTHON_USEDEP] )
+       image? ( dev-python/pillow[truetype,$PYTHON_USEDEP] )"
+DEPEND="${RDEPEND}
+       doc? ( >=dev-python/sphinx-0.3 )
+       test? (
+               $(python_gen_impl_dep sqlite)
+               dev-python/pillow[truetype,$PYTHON_USEDEP]
+               )"
+RESTRICT="!test? ( test )"
+DOCS=( CHANGELOG COPYRIGHT README.rst )
+
+distutils_enable_tests unittest
+
+src_compile() {
+       distutils-r1_src_compile
+
+       if use doc; then
+               pushd doc > /dev/null
+               emake html || die "Generation of HTML documentation failed"
+               popd > /dev/null
+       fi
+}
+
+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
+
+       if use doc; then
+               docinto html
+               dodoc -r doc/_build/html/*
+       fi
+}
+
+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 --no-adduser trytond
+               eend $? || die "Failed to create database user"
+       fi
+}
diff -r d0671fc6d6cc -r f1a66f6aed29 app-office/trytond/trytond-6.6.0.ebuild
--- a/app-office/trytond/trytond-6.6.0.ebuild   Thu Nov 17 22:42:09 2022 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,111 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="A three-tiers high-level general purpose business application 
framework"
-HOMEPAGE="http://www.tryton.org/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc graphviz mysql +postgres sqlite levenshtein bcrypt argon2 html2text 
weasyprint coroutine image bash-completion 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[$PYTHON_USEDEP]
-       dev-python/wrapt[$PYTHON_USEDEP]
-       >=dev-python/passlib-1.7.0[$PYTHON_USEDEP]
-       $(python_gen_cond_dep 'dev-python/pytz[${PYTHON_USEDEP}]' 
python3_{7..9})
-       graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
-       levenshtein? ( dev-python/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] )
-       coroutine? ( >=dev-python/gevent-1.1[$PYTHON_USEDEP] )
-       image? ( dev-python/pillow[truetype,$PYTHON_USEDEP] )
-       bash-completion? ( dev-python/argcomplete[$PYTHON_USEDEP] )"
-DEPEND="${RDEPEND}
-       doc? ( >=dev-python/sphinx-0.3 )
-       test? (
-               $(python_gen_impl_dep sqlite)
-               dev-python/pillow[truetype,$PYTHON_USEDEP]
-               )"
-RESTRICT="!test? ( test )"
-DOCS=( CHANGELOG COPYRIGHT README.rst )
-
-distutils_enable_tests unittest
-
-src_compile() {
-       distutils-r1_src_compile
-
-       if use doc; then
-               pushd doc > /dev/null
-               emake html || die "Generation of HTML documentation failed"
-               popd > /dev/null
-       fi
-}
-
-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
-
-       if use doc; then
-               docinto html
-               dodoc -r doc/_build/html/*
-       fi
-}
-
-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 --no-adduser trytond
-               eend $? || die "Failed to create database user"
-       fi
-}
diff -r d0671fc6d6cc -r f1a66f6aed29 app-office/trytond/trytond-6.6.1.ebuild
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-6.6.1.ebuild   Thu Nov 17 22:44:18 2022 +0100
@@ -0,0 +1,111 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A three-tiers high-level general purpose business application 
framework"
+HOMEPAGE="http://www.tryton.org/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc graphviz mysql +postgres sqlite levenshtein bcrypt argon2 html2text 
weasyprint coroutine image bash-completion 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[$PYTHON_USEDEP]
+       dev-python/wrapt[$PYTHON_USEDEP]
+       >=dev-python/passlib-1.7.0[$PYTHON_USEDEP]
+       $(python_gen_cond_dep 'dev-python/pytz[${PYTHON_USEDEP}]' 
python3_{7..9})
+       graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
+       levenshtein? ( dev-python/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] )
+       coroutine? ( >=dev-python/gevent-1.1[$PYTHON_USEDEP] )
+       image? ( dev-python/pillow[truetype,$PYTHON_USEDEP] )
+       bash-completion? ( dev-python/argcomplete[$PYTHON_USEDEP] )"
+DEPEND="${RDEPEND}
+       doc? ( >=dev-python/sphinx-0.3 )
+       test? (
+               $(python_gen_impl_dep sqlite)
+               dev-python/pillow[truetype,$PYTHON_USEDEP]
+               )"
+RESTRICT="!test? ( test )"
+DOCS=( CHANGELOG COPYRIGHT README.rst )
+
+distutils_enable_tests unittest
+
+src_compile() {
+       distutils-r1_src_compile
+
+       if use doc; then
+               pushd doc > /dev/null
+               emake html || die "Generation of HTML documentation failed"
+               popd > /dev/null
+       fi
+}
+
+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
+
+       if use doc; then
+               docinto html
+               dodoc -r doc/_build/html/*
+       fi
+}
+
+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 --no-adduser trytond
+               eend $? || die "Failed to create database user"
+       fi
+}


Reply via email to