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

        (Portage version: 3.0.18/hg/Linux x86_64, signed Manifest commit with 
key 0x574F6EFF4E477517)
        Signed-off-by: Cédric Krier <[email protected]>
diffstat:

 app-office/trytond/Manifest              |   24 +++---
 app-office/trytond/trytond-5.6.16.ebuild |  102 -------------------------------
 app-office/trytond/trytond-5.6.17.ebuild |  102 +++++++++++++++++++++++++++++++
 app-office/trytond/trytond-5.8.8.ebuild  |  102 -------------------------------
 app-office/trytond/trytond-5.8.9.ebuild  |  102 +++++++++++++++++++++++++++++++
 5 files changed, 216 insertions(+), 216 deletions(-)

diffs (464 lines):

diff -r ff3267f63628 -r 02073bc3f9fa app-office/trytond/Manifest
--- a/app-office/trytond/Manifest       Sun May 16 12:51:18 2021 +0200
+++ b/app-office/trytond/Manifest       Sun May 16 12:52:14 2021 +0200
@@ -7,24 +7,24 @@
 AUX trytond-init.d-2 799 BLAKE2B 
78dcf251feb3e9f04ba5014359c8da069cc54e14a626f6d9e03306008a30e4e412354c409ad7bb8beb47dfa65e1cc9eb12ab9459ea56f47e2994b25f113297c0
 SHA512 
1c6f1aa4fa8ad1da7e88e2ed5c53646802747c3ea1b4108ec51b400214eb7dd0a586548fa76d864be0087d24c1b9913343cba28339323e7a1a7fa370a8bce1c6
 AUX trytond-worker-init.d 827 BLAKE2B 
e87b93697abbbf1be85bfce382ffafe67fa951cd60cab530f64854485fa3d729524936356ec9dc9e2844addb3f92e04f73168e1f977003e1ea59e20126706fa1
 SHA512 
4d49e4b27d089462c86ecad6a7b9ba2143acbdeb60f2287305dedc8c9f8843487a8ab870e9dd9f883f4582949d4672a470d0f2498618aec54feee4db4c4d256b
 DIST trytond-5.4.20.tar.gz 684920 BLAKE2B 
a77299b9df89606f9628acc4f84ec9d0702c50776ad22cea83a4c092adf6e0236ac9cc141d21fb403d7e1833df766f90a29a528f7871b81d961359e0379ad1d3
 SHA512 
1bec3bb5c1654bfc1e2a8ca4a8b167f455f1a036539dd479cc1d4b9a52bdf44f498423d05507114bb343f94624e24bf390f27a9970bc772202328cde1f562bff
-DIST trytond-5.6.16.tar.gz 728929 BLAKE2B 
dac12987f7a4199e365eeaa7a9775f2af65339331e4910fcdbb99776d1f430543b9cdd5e3f712e7c3cdc70780313000e2acf732b3b04b5b03255fad65df2b027
 SHA512 
f0f5634fa78a33a172fa502973d51ac58f75b6473b165605332cb2b0dca43bc91c2e69fbc285ab79ea55e820406ed9ba906cf059ad2acff982a20573d2f9aaba
-DIST trytond-5.8.8.tar.gz 759010 BLAKE2B 
b0024fcf5cca23a410b2595fa1e070bca6aeb2fbf184c65d46f243ef10b00f1b7990caf62dbddeccf099746c286fc75f3d936fdb1227252e6396e31c88457f64
 SHA512 
76f24d40f1359bc2d7c751f5a8ee6b898995f316f52ccd6883f5e615c974338ad0f14ee97de858e200017c68978033403217c4eb3f6590a996ae86f9cb206303
+DIST trytond-5.6.17.tar.gz 729994 BLAKE2B 
9702b7c2532873d4ed68aa10e278e110244bee3e18fafe41bedc436461c67e1928e8d37a60b4685d766c7116945fc76b834cc5c123aef7ae32eaced3ff7b4a14
 SHA512 
d8efba744f23f97c11b705d70eedff6a9c2802c0da7b626932e1fbec8adc7ebfa3052eee97857bd90b9f6e97d6a163b73db808c51e77f9f7a40d5bd80c7a6af9
+DIST trytond-5.8.9.tar.gz 760384 BLAKE2B 
31dddb0f29e4f588b13f9035b154c28a4ab88b3999c2ad0d7deb64bfee37e9ffe4a69c258f5f52bb88db0d43a6540ab3c483ca87f36c8eb4d8d34a3fa6117cd3
 SHA512 
f50ed254080ef0fb521f0cd052e42ce0c5eab122f8e8b86edcbeb021d0ec1d70317abe9a21bd7d6bb4af6a5270a8c2d84fd70c143be33a8eddc1ec24d6db0c4d
 DIST trytond-6.0.2.tar.gz 850071 BLAKE2B 
625f17406928517a030a9a162c1bad950092d222e149353d1e368568aa4e957dc42b36d16a9bca2f185f93b4e820d91a34d70c74694710251bfcbb0021da5d9f
 SHA512 
d2fd4977827b48a0231878c10ba8634a7bd8413f581f4effa10709a7e510468a7473f5266ababb8ed3ee6d119a50462734d995f364a91f600a097e68f721bc98
 EBUILD trytond-5.4.20.ebuild 2886 BLAKE2B 
e88d8c8874c51de24195f20ba977e1e66ee0214a2f193fe42f05e5b5c9c02456e8d07a868a045a8eb5d6719641091842c3e7bc089d870a45f13888243f046546
 SHA512 
052e4046f3e278a0b99145d48c485eedfb8aa06a9acebe96058e016185055461af7363942895b7a1ae8e2327d91564d8d67a0b55275ebe50e84227e2e338f87a
-EBUILD trytond-5.6.16.ebuild 2947 BLAKE2B 
2a87e9647cf44dec001bff3e9d4958dc482386585cad8f6777f4b3c00f2e95c6e9b4516b80b73f978476523ee2a2f1370d41a4799e4a9f19ac8efc34d1837f6f
 SHA512 
da80e55aa1bc4517caa280eff8a149f41c589719e2b989772dae25e606dd40971f0514324eaad78c5d0bf6e71b01fa6633911379a0b253c32d416c5a93eef240
-EBUILD trytond-5.8.8.ebuild 2947 BLAKE2B 
3773608460c387ffa4af0b3fe7c200a3ed6264c5787cc3c7919b001dae7352c6120ec989928e15391fa58803451ca6a08c3338fc94fc0d7fefc494ae70f4b81e
 SHA512 
0e7cb6accf63d559673785e7b80ec54c7c5f175d6c4f2f375a03f8116d578ccf57dfcd1263ae3330c3f2c6745b1d23c2a26e712bca0da0134f4433732c229460
+EBUILD trytond-5.6.17.ebuild 2947 BLAKE2B 
2a87e9647cf44dec001bff3e9d4958dc482386585cad8f6777f4b3c00f2e95c6e9b4516b80b73f978476523ee2a2f1370d41a4799e4a9f19ac8efc34d1837f6f
 SHA512 
da80e55aa1bc4517caa280eff8a149f41c589719e2b989772dae25e606dd40971f0514324eaad78c5d0bf6e71b01fa6633911379a0b253c32d416c5a93eef240
+EBUILD trytond-5.8.9.ebuild 2947 BLAKE2B 
3773608460c387ffa4af0b3fe7c200a3ed6264c5787cc3c7919b001dae7352c6120ec989928e15391fa58803451ca6a08c3338fc94fc0d7fefc494ae70f4b81e
 SHA512 
0e7cb6accf63d559673785e7b80ec54c7c5f175d6c4f2f375a03f8116d578ccf57dfcd1263ae3330c3f2c6745b1d23c2a26e712bca0da0134f4433732c229460
 EBUILD trytond-6.0.2.ebuild 2999 BLAKE2B 
ec2e667e375aafd3622c30826494f1afbde8daa325783d04f219acdab6b9a44511c8f4f3b0920cd20774c72fbf164813d1395c42c656cbb7334b020d9a4b2826
 SHA512 
0b0b4c60f8cdba773b38c06601927f2eab99b76143e2f8088a3059c886eaba946cd02c87e921c1bf2cc018d2f170bcff4bec525a5ba309559870502424a6aa3a
 MISC ChangeLog 22532 BLAKE2B 
391afdd0a9c008f8d3ab552eec64ffcd171c4df73dd3aefbc4b7834bb2f6ea3edab7821405435f2a9e416563fad3e0a3d75f653872f7244b4768537a544611b4
 SHA512 
f7edb623ed4a20b48ba8e81ee6f0c14942da036b9d37ab5be85ee1aac64e2968f65b4cc1d1c4c9a9c1219ddb020d53ef5ef115cc6acc32fce7ab26ab8a4efb4d
 MISC metadata.xml 669 BLAKE2B 
3409b4a9eecca9be78e9c0064ba8172a737b6dabcc75b4888ac8a12c0d239535299769802f1c5a4a96fc63fd346d015536020aa8798c4faf5e5ba565a614e8d5
 SHA512 
226319315274dedf45092e9923a652f9c31a0c8fe96fc800278d2cac57aed1101bc56d8f7ca959c7d098074f22926cb52035685182fff2aca33de3d8b7e2c50e
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2
 
-iQEzBAEBCAAdFiEEdP/VdIYNMe45RAljV09u/05HdRcFAmCg9QQACgkQV09u/05H
-dRfzcgf8CeVuOzFBzRLQ8jl0ppZEboBsVotidWaVYn9Is9z/gjePSdq72pIQQv62
-RkrjNxmpIMPrtMpljxExgOZLMpq/ScjH7OL5hzFaDEDRk9kt9yJMQJQU/khwD5wo
-KO8LrmoFpwmYe69lP7hF3zBgwhzD/vmNXALr6hpv5Y3oZAuMn/33oshQaoy/XhzJ
-9YQb9S2FxdMmM7E3Sfq6Hn/qIqsHEonefjEpYOB7dLzKM8W+ieCwZuNO+/S968Dr
-bC33dvw1vk0gUqrVbtOH+vWciEIRfNNiEvTA5DgqFreRJbRhRd5GFObODeuZUq2C
-SyqErkp+a4Xskup4Blix2yuZqoSm9g==
-=t8aO
+iQEzBAEBCAAdFiEEdP/VdIYNMe45RAljV09u/05HdRcFAmCg+V4ACgkQV09u/05H
+dRedGggAsH1P/iUFCmKwkcePI8tchHW0d0v5N6AcyZiEuyME6jPo9CMHzqBFizxD
+aqWSKZPEgvBj86yAwD6hC4s3qoNcplEoi+FujDeFPkNiPo8uQPb4vTNdIPwDMxv/
+5mawE1EuUp3dk0d2XkVeeiqpx5hjv45xt/OhzrfFmRobdcMmFqwYnmZA55PkfHYL
+gqnYGiBrrsvQ7qJh9ah3RPLX4nq517dKomcRJzV8ZWN/YsBq5ghzNEP61AXhEtlF
+KlXANmy+dDMfgP5sK6G3KhcJVa3X27z3gi0ghdnS47SI7SfGu/3/RCONDY0/YE+v
+6g1067VZMpMR2dh69noiUipGoBrR5w==
+=EyMh
 -----END PGP SIGNATURE-----
diff -r ff3267f63628 -r 02073bc3f9fa app-office/trytond/trytond-5.6.16.ebuild
--- a/app-office/trytond/trytond-5.6.16.ebuild  Sun May 16 12:51:18 2021 +0200
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{5..8} )
-
-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 test"
-
-RDEPEND="acct-group/trytond
-       acct-user/trytond
-       postgres? ( >=dev-python/psycopg-2.5.4[$PYTHON_USEDEP] )
-       sqlite? ( dev-lang/python:*[sqlite] )
-       >=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-2[$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/passlib[bcrypt,$PYTHON_USEDEP] )
-       html2text? ( dev-python/html2text[$PYTHON_USEDEP] )
-       weasyprint? ( dev-python/weasyprint[$PYTHON_USEDEP] )
-       coroutine? ( >=dev-python/gevent-1.1[$PYTHON_USEDEP] )"
-DEPEND="${RDEPEND}
-       dev-python/setuptools[$PYTHON_USEDEP]
-       doc? ( >=dev-python/sphinx-0.3 )
-       test? (
-               dev-lang/python:*[sqlite]
-               )"
-
-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 ff3267f63628 -r 02073bc3f9fa app-office/trytond/trytond-5.6.17.ebuild
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-5.6.17.ebuild  Sun May 16 12:52:14 2021 +0200
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{5..8} )
+
+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 test"
+
+RDEPEND="acct-group/trytond
+       acct-user/trytond
+       postgres? ( >=dev-python/psycopg-2.5.4[$PYTHON_USEDEP] )
+       sqlite? ( dev-lang/python:*[sqlite] )
+       >=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-2[$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/passlib[bcrypt,$PYTHON_USEDEP] )
+       html2text? ( dev-python/html2text[$PYTHON_USEDEP] )
+       weasyprint? ( dev-python/weasyprint[$PYTHON_USEDEP] )
+       coroutine? ( >=dev-python/gevent-1.1[$PYTHON_USEDEP] )"
+DEPEND="${RDEPEND}
+       dev-python/setuptools[$PYTHON_USEDEP]
+       doc? ( >=dev-python/sphinx-0.3 )
+       test? (
+               dev-lang/python:*[sqlite]
+               )"
+
+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 ff3267f63628 -r 02073bc3f9fa app-office/trytond/trytond-5.8.8.ebuild
--- a/app-office/trytond/trytond-5.8.8.ebuild   Sun May 16 12:51:18 2021 +0200
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{6..8} )
-
-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 test"
-
-RDEPEND="acct-group/trytond
-       acct-user/trytond
-       postgres? ( >=dev-python/psycopg-2.5.4[$PYTHON_USEDEP] )
-       sqlite? ( dev-lang/python:*[sqlite] )
-       >=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-2[$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/passlib[bcrypt,$PYTHON_USEDEP] )
-       html2text? ( dev-python/html2text[$PYTHON_USEDEP] )
-       weasyprint? ( dev-python/weasyprint[$PYTHON_USEDEP] )
-       coroutine? ( >=dev-python/gevent-1.1[$PYTHON_USEDEP] )"
-DEPEND="${RDEPEND}
-       dev-python/setuptools[$PYTHON_USEDEP]
-       doc? ( >=dev-python/sphinx-0.3 )
-       test? (
-               dev-lang/python:*[sqlite]
-               )"
-
-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 ff3267f63628 -r 02073bc3f9fa app-office/trytond/trytond-5.8.9.ebuild
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-5.8.9.ebuild   Sun May 16 12:52:14 2021 +0200
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..8} )
+
+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 test"
+
+RDEPEND="acct-group/trytond
+       acct-user/trytond
+       postgres? ( >=dev-python/psycopg-2.5.4[$PYTHON_USEDEP] )
+       sqlite? ( dev-lang/python:*[sqlite] )
+       >=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-2[$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/passlib[bcrypt,$PYTHON_USEDEP] )
+       html2text? ( dev-python/html2text[$PYTHON_USEDEP] )
+       weasyprint? ( dev-python/weasyprint[$PYTHON_USEDEP] )
+       coroutine? ( >=dev-python/gevent-1.1[$PYTHON_USEDEP] )"
+DEPEND="${RDEPEND}
+       dev-python/setuptools[$PYTHON_USEDEP]
+       doc? ( >=dev-python/sphinx-0.3 )
+       test? (
+               dev-lang/python:*[sqlite]
+               )"
+
+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
+}

Reply via email to