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

        (Portage version: 3.0.30/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.16.ebuild |  105 -------------------------------
 app-office/trytond/trytond-6.0.17.ebuild |  105 +++++++++++++++++++++++++++++++
 app-office/trytond/trytond-6.2.6.ebuild  |  105 -------------------------------
 app-office/trytond/trytond-6.2.7.ebuild  |  105 +++++++++++++++++++++++++++++++
 5 files changed, 222 insertions(+), 222 deletions(-)

diffs (475 lines):

diff -r 91bd785df5e9 -r e7bdfab9ddf5 app-office/trytond/Manifest
--- a/app-office/trytond/Manifest       Sat Apr 16 00:43:57 2022 +0200
+++ b/app-office/trytond/Manifest       Sat Apr 16 00:45:11 2022 +0200
@@ -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.16.tar.gz 852998 BLAKE2B 
d21bb3db55dd597cf8507bd218cf0589d77f4e56930d360b8c298a054d56f062ab811fc11f70a2dcf10569ef557e53e179bccc9299c8d0978feeaac87d3c76cb
 SHA512 
d88eb17a304ce4fc40fe0283485cad5aa19c6a93a3174e6e32ea49173f57c59a23b54e31f3c7dee8319d1438b4cf127dfad32ecfee25ade662e1d34ecc39bb68
-DIST trytond-6.2.6.tar.gz 877323 BLAKE2B 
8eec8508900b2d588d7c9cd67a825f0e6fe2f84b04ec0371a583da7a5f1ca772e2cc7cfc692d4d6887c230802daf92a63a1246674dc0e8646d954ce014c47d6d
 SHA512 
54cacb604e270837bbb376fc43071d0660f9c0cd3f71b032f86463562d357f98ea9ce54204c1ebeb276ac3af939bbac89a1e788f763e016fbb92c3071dfe8612
+DIST trytond-6.0.17.tar.gz 852503 BLAKE2B 
a87807c28b0e41f4351ce721fe2126207568a7a5277270dc25ceadeb40dcf5c13f049b98f3b9b39f2dd46112612bd62976ab0d2661c94665f534a807b1861a42
 SHA512 
9676c92fe32f1c96172b7f627bec4f967bcef1e26d4ec4bfd7d463506662f78a9607eb01bc54c50af674a0c2b872b25c303ab193dd905f8dd69b8d2d1093804a
+DIST trytond-6.2.7.tar.gz 877547 BLAKE2B 
007846cae9d39122dfefec1a1ec3aa94131c92c453e080e413bf42653b56c52ddffe595dc8b321419053c15272b3c55e505d67c80c895dba685655325d5f87a3
 SHA512 
4bf6319ab97e7e11ae9871a0e13b0bfd0a13f821ec9e1a29f236c0a0e77d15c082f62c3dc3f0f86b9e171a292364964c21d1c8255af02f3c49d20631f4e7d73c
 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.16.ebuild 3084 BLAKE2B 
4c87cf473793025ddcfcac071ab191e1295420a1a6376e4c2012618d8d9efe7dad58745b4f91f83f01979e9267452a6f2f5bac109ad302b201b8e4d2ae90739d
 SHA512 
1e67ecdfb9bc37269ae326ea3065b93dab6954b7ff7a2a6ac3d626632b68d05f2c2db1738a58d92f7549abf40872f20bd9b4d2312307e36db823f4295cb27266
-EBUILD trytond-6.2.6.ebuild 3083 BLAKE2B 
425594061409dedff817390344e6a23c1da36c9258ff8098c01769b8593fdab710a0dfe83bfe365a4f7cc95fe69982e20cf1adbe26847e7b01a8c315d14dbe7f
 SHA512 
3e023a690b65b4cdaf91d7eb5e29774097dae78d402499aa00a3bbbfac745bf6b206fe98a79a767e7b763502a4ab3a020b4a035de110cdcaa26a8fda0daed4f8
+EBUILD trytond-6.0.17.ebuild 3081 BLAKE2B 
8779913738e9fdddf2b23651ab821c9ab1e566d2d6de915432b5ed383d93b09ee2d5536a94f638fbe8af7a5dffdd1a48edbf84898b0614a87cb7a3a7ee66e399
 SHA512 
fc25633d681124e2b5e7c481959484e7ad61b68f09018645524794b19dc23cdca36dda71bf09cfea53d25c1783e2f4f43dd6a96eaf45184afbb3a6a468b82ef8
+EBUILD trytond-6.2.7.ebuild 3083 BLAKE2B 
425594061409dedff817390344e6a23c1da36c9258ff8098c01769b8593fdab710a0dfe83bfe365a4f7cc95fe69982e20cf1adbe26847e7b01a8c315d14dbe7f
 SHA512 
3e023a690b65b4cdaf91d7eb5e29774097dae78d402499aa00a3bbbfac745bf6b206fe98a79a767e7b763502a4ab3a020b4a035de110cdcaa26a8fda0daed4f8
 MISC ChangeLog 22532 BLAKE2B 
391afdd0a9c008f8d3ab552eec64ffcd171c4df73dd3aefbc4b7834bb2f6ea3edab7821405435f2a9e416563fad3e0a3d75f653872f7244b4768537a544611b4
 SHA512 
f7edb623ed4a20b48ba8e81ee6f0c14942da036b9d37ab5be85ee1aac64e2968f65b4cc1d1c4c9a9c1219ddb020d53ef5ef115cc6acc32fce7ab26ab8a4efb4d
 MISC metadata.xml 669 BLAKE2B 
3409b4a9eecca9be78e9c0064ba8172a737b6dabcc75b4888ac8a12c0d239535299769802f1c5a4a96fc63fd346d015536020aa8798c4faf5e5ba565a614e8d5
 SHA512 
226319315274dedf45092e9923a652f9c31a0c8fe96fc800278d2cac57aed1101bc56d8f7ca959c7d098074f22926cb52035685182fff2aca33de3d8b7e2c50e
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2
 
-iQEzBAEBCAAdFiEEdP/VdIYNMe45RAljV09u/05HdRcFAmIfQpgACgkQV09u/05H
-dRfr7QgAsgYllFLz6T06P1iH8Bbt2T1Y0qvwKV3LDMCBJQg2/GaKejC6gLD14L/s
-OHNOkaXhGgd4uQdQ/dTr4D+zZpJtE13Q+w8xjTlTSaNT5yRBUWK3pfnpjorhMujd
-W9lrjdZVKQ8So9wEqXFiGnV+wNM+J3V+7K3QtBMJCk2EsZWYzW8x16j45Fyz9H7K
-WT+LDz4dn6VbHc4GXeTOPqwfuBtPxdIEbhMEG5BMX4HTKGt5YzEQmpx3StaXLXCm
-HqpCIw5yy6SusFsaO+tbZY+eZFZlLqQ73Sb+xG9LvxDHW+ZJ2Q90pgYA54gGVio/
-LSm/kK3L7i4zQKa2SDeLchMdidDRGQ==
-=1oBT
+iQEzBAEBCAAdFiEEdP/VdIYNMe45RAljV09u/05HdRcFAmJZ9XcACgkQV09u/05H
+dRdmjQf8CaClP9cQLu2SvhM2bJRZIbr/BsMqFq4eaKH68wI7ZdvPbxaKdXxEl4Ia
+dhX0kW8yQWJTbDCRJoRYuF8/UumIzTcrb7uQQWP5LGV2ZwkToPVMAQP7XtnfIgUt
+97ELtJOPliGjRb8WTlvnFBjmmA//xVnov5uBU2bTBoksHzN7Q3z1zF+38zaNR7fX
+WjUcDqiTgKcRSIevjSIruJ7ob9Z4wqxxtbxePuFbpM9/Lc3Dd1Prv3G6Wpm9d1UK
+3fz6CqLOWom5Q0/V53z4xX+BdMHkNMDh36ohmvWSPfCpuCT01jmRzyFfvrx0BaB2
+fuHaIWkP4i+04LwHZy6rlG00BrcRhw==
+=46iW
 -----END PGP SIGNATURE-----
diff -r 91bd785df5e9 -r e7bdfab9ddf5 app-office/trytond/trytond-6.0.16.ebuild
--- a/app-office/trytond/trytond-6.0.16.ebuild  Sat Apr 16 00:43:57 2022 +0200
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,105 +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[$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-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 91bd785df5e9 -r e7bdfab9ddf5 app-office/trytond/trytond-6.0.17.ebuild
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-6.0.17.ebuild  Sat Apr 16 00:45:11 2022 +0200
@@ -0,0 +1,105 @@
+# 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/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]
+               )"
+
+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 91bd785df5e9 -r e7bdfab9ddf5 app-office/trytond/trytond-6.2.6.ebuild
--- a/app-office/trytond/trytond-6.2.6.ebuild   Sat Apr 16 00:43:57 2022 +0200
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,105 +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[$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]
-               )"
-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 91bd785df5e9 -r e7bdfab9ddf5 app-office/trytond/trytond-6.2.7.ebuild
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-6.2.7.ebuild   Sat Apr 16 00:45:11 2022 +0200
@@ -0,0 +1,105 @@
+# 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/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]
+               )"
+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