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

        (Portage version: 3.0.28/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-6.0.12.ebuild |  104 -------------------------------
 app-office/trytond/trytond-6.0.13.ebuild |  104 +++++++++++++++++++++++++++++++
 app-office/trytond/trytond-6.2.2.ebuild  |  104 -------------------------------
 app-office/trytond/trytond-6.2.3.ebuild  |  104 +++++++++++++++++++++++++++++++
 5 files changed, 220 insertions(+), 220 deletions(-)

diffs (471 lines):

diff -r bb5751faea73 -r b03c8b6f5f07 app-office/trytond/Manifest
--- a/app-office/trytond/Manifest       Sun Jan 02 01:53:42 2022 +0100
+++ b/app-office/trytond/Manifest       Sun Jan 02 01:54:36 2022 +0100
@@ -8,23 +8,23 @@
 AUX trytond-worker-init.d 827 BLAKE2B 
e87b93697abbbf1be85bfce382ffafe67fa951cd60cab530f64854485fa3d729524936356ec9dc9e2844addb3f92e04f73168e1f977003e1ea59e20126706fa1
 SHA512 
4d49e4b27d089462c86ecad6a7b9ba2143acbdeb60f2287305dedc8c9f8843487a8ab870e9dd9f883f4582949d4672a470d0f2498618aec54feee4db4c4d256b
 DIST trytond-5.6.17.tar.gz 729994 BLAKE2B 
9702b7c2532873d4ed68aa10e278e110244bee3e18fafe41bedc436461c67e1928e8d37a60b4685d766c7116945fc76b834cc5c123aef7ae32eaced3ff7b4a14
 SHA512 
d8efba744f23f97c11b705d70eedff6a9c2802c0da7b626932e1fbec8adc7ebfa3052eee97857bd90b9f6e97d6a163b73db808c51e77f9f7a40d5bd80c7a6af9
 DIST trytond-5.8.16.tar.gz 761551 BLAKE2B 
b0a5e070a050a7cb684212654d45d77eaf316d5b0f5e76e084120923500d5825642c28bf890d8cb4b93e2461b638b96552d0885ece59a0a20addc59aff5677f0
 SHA512 
8360a66e0b0767e73a9e08f1f49aa9a17018984839cf211a4105454495c03b6fa9615dd4ca321e7f05bea79311e71e09e8f361b62bf5677600cf458e6247000a
-DIST trytond-6.0.12.tar.gz 852068 BLAKE2B 
dd839d409acca4b03d1c9113e199c885e5cf5ce54bb1d8204582e9fe6e99b005d858953f4c82d1b782cb24b030bcf53dd79a13e032927d864c0755c34291f7f9
 SHA512 
dcff55bb65084ba87063451746f171ea4f89210278067374a88613a15e7c119883503eb01c4c2285a920ad2b9bdf75fa788713519c583d6c9ec3cfb783c3f7a5
-DIST trytond-6.2.2.tar.gz 876457 BLAKE2B 
c74387cf457a1a07fa6eff850cbe62601a13327bc6fe28e898d41e825ee76cbcdd2dfc472318934d914e8ee6ec41198cfe87e5ee1b251eeee2564a459ed61965
 SHA512 
d0f1efe26f587d7fff6b3c49a52e5c56bc62fb60d906d7b44b7518d503a495ec08e5fe7cacd34f0926eeb0a28203788de5cd669e8b10baa2384f712dbf9c4d39
+DIST trytond-6.0.13.tar.gz 852174 BLAKE2B 
0bb36e63fe1eae6c0e0dd566fbeb2552b0686454d5545c0df587219a38b6046129627f672894a3ecec30a335e2c35dc92090684cd1316af8d649282b150c3b47
 SHA512 
047cf00d70aebbf4b56d6dda185c4d1c2ffde4ba43507f94dff4506feab64e0aa07c0db358838d4c0c2dc3d3631bbae59976966f89879c810395fbf391502a6f
+DIST trytond-6.2.3.tar.gz 876511 BLAKE2B 
08a97dfde4362249a65074dddcb9d055d2b4599073902388cf78db4d57f3ca581900309ec8e92aa53c80a997c8f48c7333e1744a6035b5b0abb8a3f84b04e22e
 SHA512 
dfbad590fb8be53dc302346db287344ef3db26ec5e30c5ab72bfab2ebaba065fa8a5ccb64a5d036fcf4174f7338978a953582d26803625d804963d6cac58fcb3
 EBUILD trytond-5.6.17.ebuild 2939 BLAKE2B 
e7a8da1b238015ac3b2a9f252ff1fddc7ffab335c87966a44fea98fc75e8d642aaf664f612278666ce9598da59ac89a163cc286ba0552bd6673e96bb9fec9d6a
 SHA512 
3ed8073a0f25eafc72d4dc26a0f9bddc79092ac79429cad759925a94f3c646e62046e0bd071c917bb01e6f67ac17ddb6e1bf0ed47f2c8ef0de41bb8b60eb3047
 EBUILD trytond-5.8.16.ebuild 2939 BLAKE2B 
2eb33e66c9e7084f7172cfb5b76814b8ab4e0bce598c6d3a3e63c608a30d21e6a6e9fc0a5138e351f6b2e3c4d5a5f35d78eb70c05ec327cfb43dce5212c7f5e4
 SHA512 
e4c462e06e9a9623f299a03411a4cd1d0f2dc473f55f20887db2a6a10fa5b747e2330916435f5e5c53b38c46ec95530aa8a0655e9d8ab9d3d4af9495b2419f85
-EBUILD trytond-6.0.12.ebuild 3045 BLAKE2B 
bc6f2700a1d7c66bebc5755f9bf93552737d3b59266e5526f69bbf43dc321815895f8003ce0c236067cb6506008c7fc2e861843e87659a4606a86e1c6cb23f59
 SHA512 
11eee76975a76838f6c7e9dab17cbbf76dc1d7555da4ab659a6295a9146b36e626257eaffbe798db69cf7b10c13e97109be13f4d0c587270c3f5fe3dc3a1965c
-EBUILD trytond-6.2.2.ebuild 3044 BLAKE2B 
c1deb0faa23b665f24f9d881a7abdbce3cd92b37eec7bdd16812edea3caddbc448fa67f1778004547d2caa9200ecc5658355ebbe45ce870b4ecc6a3ecdf432e8
 SHA512 
55c54c149d47f457f9b6d3f49ab49ff29abe341ac97c99b841735edc36a3f78592b1154b9f7baa7a03ca12c5c17bd221f6ff3624231527bfcfce9ea707ec4d29
+EBUILD trytond-6.0.13.ebuild 3045 BLAKE2B 
651eccd2eb96e5f00770ae7d7f3d17181f862cba2c262768fe72a21430e58d5ea0e07d3ba312b1125d0afed344995a3383c8e26ac9adb6917c21b2e2652bbbd2
 SHA512 
121e625fe3ad0aae27fd58adafba492f5abca9196c38ce86dbd0157a266b4562b57bcc858723b2cd3d6c6f40bb86340691113e7319955f48b406785bfb9a9896
+EBUILD trytond-6.2.3.ebuild 3044 BLAKE2B 
8aac0e240b5b670acfa5a178f02805bc57eea7a87929742f98dc6055f3438f2daa7c40e601e1e9a5e63340a77ddabda79178ea2a81a72ee5bfca4a099e959ab3
 SHA512 
33573d265fc7bbe1e6e0582e8253969a148573aa98eb3ca8a26302b1c2d335ed33a506b6dd1b0dfeca3ddb2c9d14c271d0fcd6ef19a41da35e56e473a2995576
 MISC ChangeLog 22532 BLAKE2B 
391afdd0a9c008f8d3ab552eec64ffcd171c4df73dd3aefbc4b7834bb2f6ea3edab7821405435f2a9e416563fad3e0a3d75f653872f7244b4768537a544611b4
 SHA512 
f7edb623ed4a20b48ba8e81ee6f0c14942da036b9d37ab5be85ee1aac64e2968f65b4cc1d1c4c9a9c1219ddb020d53ef5ef115cc6acc32fce7ab26ab8a4efb4d
 MISC metadata.xml 669 BLAKE2B 
3409b4a9eecca9be78e9c0064ba8172a737b6dabcc75b4888ac8a12c0d239535299769802f1c5a4a96fc63fd346d015536020aa8798c4faf5e5ba565a614e8d5
 SHA512 
226319315274dedf45092e9923a652f9c31a0c8fe96fc800278d2cac57aed1101bc56d8f7ca959c7d098074f22926cb52035685182fff2aca33de3d8b7e2c50e
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2
 
-iQEzBAEBCAAdFiEEdP/VdIYNMe45RAljV09u/05HdRcFAmGtN1kACgkQV09u/05H
-dRe47Af+NyBoRDSPxltzKC/DagS/Z1+vz0Y/Zqhdmh10HIY2bKHA9HhHPWJETlx1
-ItKPpwTqyixMEZdAVZjH1ujeqkHUgD5S5wlny7N3evLGhyp+uUHJ2hkIqvyaDhix
-F19gkoUoBlb2PTVN1IlohUC0pEbCiiQ7WUGZmwsM7zoP3y0tRt9V6A0yUmo26gfl
-/FFun8DeD7mx2ybsEVgYo0HulKUNEKrfg1SizddNVYXDC3yZ2RuIjvz0acdHfFm/
-VPifr24RagTx0/WSg+mmtU0uIcPKqlfm5puKwAfYuJ8hsAj8OgBNitAqK3lc6Ub7
-fNTY9/ARVn+62TlyW67aAUs8nuoE1Q==
-=6/vm
+iQEzBAEBCAAdFiEEdP/VdIYNMe45RAljV09u/05HdRcFAmHQ98sACgkQV09u/05H
+dRcCsAf+Kl3fyNrruOTUCKQ7JwTGB4p5dMG5hh+A07qNv6inafreI6/jdDpoYHNw
+jLHJKnYKPBB2Z0pSjfNiac35pZIB1U5OFpi00RahMwWK646TxqkvdgkfMM01500O
+Crf0o/sS5a6E5R8Qx3u0nrCUBEHMMt+rfZ/dQFw3Ej9l0c8LD9K5vhotXCnEAZDr
+4PotAp+NpUS4T3dmLx0+oSEumrODz4JyyqGSDOBKFlhr32FvlAhCniim1PepVYDS
+LE3tSpJmVL9+Ai0OGPO1wsNsiz5G0bRp7RZIeuuxgYW8vs7iY93HHYogHMEBhDay
+fmBhXBL5jU+xtqcisqIU70zNwXdWkg==
+=CRTL
 -----END PGP SIGNATURE-----
diff -r bb5751faea73 -r b03c8b6f5f07 app-office/trytond/trytond-6.0.12.ebuild
--- a/app-office/trytond/trytond-6.0.12.ebuild  Sun Jan 02 01:53:42 2022 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,104 +0,0 @@
-# Copyright 1999-2021 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[$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/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]
-               )"
-
-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 bb5751faea73 -r b03c8b6f5f07 app-office/trytond/trytond-6.0.13.ebuild
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-6.0.13.ebuild  Sun Jan 02 01:54:36 2022 +0100
@@ -0,0 +1,104 @@
+# 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[$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/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]
+               )"
+
+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 bb5751faea73 -r b03c8b6f5f07 app-office/trytond/trytond-6.2.2.ebuild
--- a/app-office/trytond/trytond-6.2.2.ebuild   Sun Jan 02 01:53:42 2022 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,104 +0,0 @@
-# Copyright 1999-2021 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[$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[$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]
-               )"
-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 bb5751faea73 -r b03c8b6f5f07 app-office/trytond/trytond-6.2.3.ebuild
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-6.2.3.ebuild   Sun Jan 02 01:54:36 2022 +0100
@@ -0,0 +1,104 @@
+# 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[$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[$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]
+               )"
+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
+}

Reply via email to