changeset 43f36103bcef in tryton-overlay:default
details: https://hg.tryton.org/tryton-overlay?cmd=changeset;node=43f36103bcef
description:
        app-office/trytond: Versions bump

        (Portage version: 2.3.79/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.0.15.ebuild |  101 ------------------------------
 app-office/trytond/trytond-5.0.16.ebuild |  101 ++++++++++++++++++++++++++++++
 app-office/trytond/trytond-5.2.8.ebuild  |  102 -------------------------------
 app-office/trytond/trytond-5.2.9.ebuild  |  102 +++++++++++++++++++++++++++++++
 5 files changed, 215 insertions(+), 215 deletions(-)

diffs (468 lines):

diff -r eb26c939af04 -r 43f36103bcef app-office/trytond/Manifest
--- a/app-office/trytond/Manifest       Tue Dec 03 00:04:35 2019 +0100
+++ b/app-office/trytond/Manifest       Tue Dec 03 00:09:49 2019 +0100
@@ -11,30 +11,30 @@
 DIST trytond-4.4.27.tar.gz 603124 BLAKE2B 
ce65cad0fdceb474770bbfda008d0b10c516cb7ad67393a6f0b02a71ead5f1909830c39892641aac9fbe89b699176a01797c0f2d00df6d907ca578e98a66e7ca
 SHA512 
3546f6d1a1acecc438a95456c74a0d81bb1d1b8b9c53ac89a008c5fe2eb1936d7f85c993c048f535a99045817f7eaa8a55ff4defa0b866ea57e6cfd79946a0a7
 DIST trytond-4.6.22.tar.gz 611113 BLAKE2B 
e2046e934116c9f0d08f7f810fc92c0eb5594fbb23300aee0348931ebd16e3dc821861fce1b956eea62a2b52613dba28a597c356be638252bf8f5bd4223b582f
 SHA512 
1c956c66e9971b9aed4c1c18ce3cda0c4a8aeaa9c4d1882634cae4d6ec30ba2211ef584becca47adf33bffe4dc89caf47fe8933341e7aee76131f84792affd68
 DIST trytond-4.8.18.tar.gz 653987 BLAKE2B 
43f726ef02ae348e16425f4499af048b5f4db9392172786eb4e1509abc6e4aae928696ef397c36ecf62bc4ea16ac6332bb88663af2e233e831799179a7884f83
 SHA512 
97f7d392fb6af34ccd2e031d8d06ac65f7d7d30c20f93f457374ec552e8e81b6e92896d7c70ff072274a28e437b01270b6df9a0807d547990abac82bdb08752d
-DIST trytond-5.0.15.tar.gz 648771 BLAKE2B 
029df719d06f00131aa4d6bc7a09eef8f59c376cc81429888f58ca2c2538d4a8fa3d3b7d95827605230767e6bdc9a0927f10c869059876b5e104ddb422c82900
 SHA512 
a98ac1759c74b75068d49be3e965adc3c78167608d761eb39cc70e8a248adc9737a5c8bf6e85528d5a3453f80fd4818708f623b7fb4b0dcdb3bf1686ee1cb917
-DIST trytond-5.2.8.tar.gz 736754 BLAKE2B 
0c0dcf04cf0a60a4c3698681092e0cf2fca590fda9459f20b8f0b79fc8db8c93b822091c479c7c1b2f5dc2666cfd6446d22b00bc6c0818dbd1ccb9c51fca5124
 SHA512 
d91134d58587607cc6e3dfb130b83ad25502ff6905bc472beeac71bc9bfd1c92d6c4c334e6bb5a61493f7c40b94bbb77dfc76482722354a70a1af6e26c3daca4
+DIST trytond-5.0.16.tar.gz 648878 BLAKE2B 
3a93d343aaa1cd414b99891a66780d2f1f17ba352bc3b34888d5b735deab56fb5572bdf2de532f3676af37d14280d9d11937a1bc32952ba70d831f6f952a7bc3
 SHA512 
e8aaf2e026d1889e31b97f072747826399a487e08bcb22c4be7d83af6226a22475294b7fae9a6a034712875edbdabb606479b81f60dd4e82d7d8455d62fc19ee
+DIST trytond-5.2.9.tar.gz 737242 BLAKE2B 
426f6587405a8dc27257565da1b48bc2a04f576af15a074340960509aeec69e1b19b8757a588d0c4f1e098f2c079265a2bbdd1ed317159a44e33e162bbbc7535
 SHA512 
031236542f455dd01a43ffe0ede9f1fcc2ea40ac3b361be061ea8d7e6c7ee5b3c6c81daf9e57ab9f94360b981942e7e27039c9ba93dc7ff4610c0183d870f256
 DIST trytond-5.4.1.tar.gz 686112 BLAKE2B 
3e5f280cd4dad489ed85800c3350b6c33ad5326f567d75b02973bae951db9176d12313c7e6e8f2b497f6f332a5d40588054fe51f898371527858c8d48def2c83
 SHA512 
82a28b27986ce19ecbe6261b9586cca2c1c4a422292de190bbdc6168541788b177def51bebba3a715393677077307ef10508a268289dc85e959c50464e540b1d
 EBUILD trytond-4.0.20.ebuild 2818 BLAKE2B 
6ca6983bf77889af9e1d386159b8fd2536225b2bdce8e83d9b8ceb56ea8406317e784eec2385cc2ed7c92b5c7b238ba78f19857d98da653e367da238fb21b4ef
 SHA512 
3263fac497bb9d3fa10f67d997d368560e27d8bee5c4363a93766d4eec264fddd33cfc299fc6de90de64276d0d7e87082684ecff05d04531cc73006796068f28
 EBUILD trytond-4.2.22.ebuild 2773 BLAKE2B 
ef32ebc72037997440f99cace12f441b078bdd3e477bc65ea8602b4aa5eaa0bfcdc17f2a21572a1690e2d741daad454272db6d6a57f02c0074f8875b2f3bfe46
 SHA512 
bdb2d0725eb0c8d6aac7289f93f6fffcfbb246df6dc88bbad5572d612a7d04536ef8c2ee2acb74417cf36000630180de9ab471707b69df11be153577e7d88da7
 EBUILD trytond-4.4.27.ebuild 2787 BLAKE2B 
d8cb104661475046807012525cd2ab1fa73d2147ba6b6201e170711c219a228f2945e7d56bb2889f291fe12cf5cd9dafb8c0adf50f989a98f69d8bfdc7735749
 SHA512 
86499d7bdb3c336ff998257718f1349ae6c0aa255dc1fdf923c4c66aa0f9dbbed960f833d13dd278549853b2424cd8003f722864ef5f1e8ec6cbdac2b52eaa89
 EBUILD trytond-4.6.22.ebuild 2855 BLAKE2B 
3967410b52e2876e16cb495f4ef602e9afd00e0c1c8055e053699098f124933464aa6e257619b451514287c056345caf116b651e62537bedf94d6a2de565211c
 SHA512 
7133b7f8bb9b0c298812300fe2536ff7d4190f06da5f4920336a44c45ca35c0b7e4f9a3c226aefa0e86996d4b02468217116fa92fb61a792309416c9f7c62499
 EBUILD trytond-4.8.18.ebuild 2771 BLAKE2B 
834816fb0734aa57cbd3d22e55c95c290568e7b4a3306c2bc584b7bd55ea325d27a3be8a96896e9a4c06a42082740fb044f593071028a64949269cf3bff58e8e
 SHA512 
44f3800d558396ca4254b8293b3b12eaab7f94aef761fe241099bc6461602b70bc54ee480ab7a6c02585bd482ef5526266c59ff2fcf31dcc0e34f9fcb4acde95
-EBUILD trytond-5.0.15.ebuild 2828 BLAKE2B 
28a75a18bfbbac66a963b8ebd7e9bd54a030bd74b1b6826c4cbb15b403026cc30bb8005220924fe56d7a2191a419606ac5aa326245783fe76b937266ced88276
 SHA512 
39f8fd2c0c703f5a59d0343a8eded88fa28780d66ca4a13a8392ed7bd831fc6b91d268efc82cf76afb263c0291fc3fbb22551b0230c74bef160db86308cab2f9
-EBUILD trytond-5.2.8.ebuild 2894 BLAKE2B 
008eeed0803ebba5444ee0fd0c8c15768f465ce0d1c69b24d9c9259da2d72768221ce5021f69d84a8e6a820226c7853d821487726dcc731ca718e73766f28daa
 SHA512 
c1c1019fe8dff7a1064384875386f63c09bc32b5d599a5b41ce470365b74bf9871ef1bfa427756bc789f352a09197c5e4e36320606e53982d0ba93d5c86cbfd9
+EBUILD trytond-5.0.16.ebuild 2828 BLAKE2B 
28a75a18bfbbac66a963b8ebd7e9bd54a030bd74b1b6826c4cbb15b403026cc30bb8005220924fe56d7a2191a419606ac5aa326245783fe76b937266ced88276
 SHA512 
39f8fd2c0c703f5a59d0343a8eded88fa28780d66ca4a13a8392ed7bd831fc6b91d268efc82cf76afb263c0291fc3fbb22551b0230c74bef160db86308cab2f9
+EBUILD trytond-5.2.9.ebuild 2894 BLAKE2B 
008eeed0803ebba5444ee0fd0c8c15768f465ce0d1c69b24d9c9259da2d72768221ce5021f69d84a8e6a820226c7853d821487726dcc731ca718e73766f28daa
 SHA512 
c1c1019fe8dff7a1064384875386f63c09bc32b5d599a5b41ce470365b74bf9871ef1bfa427756bc789f352a09197c5e4e36320606e53982d0ba93d5c86cbfd9
 EBUILD trytond-5.4.1.ebuild 2910 BLAKE2B 
3a2af0106a56271b293d0239bfe727a71b43b0a60af51f7bfaa1aa6b76b8ea4e4c07a93b915f608820d732ab8ff5e7585858243f8c2d3678a6a68ade996690c9
 SHA512 
c702cdf678ba798193c7480b5fbe2e0d3323e3447de77a399751f8f55f9acdc03a6327537bbda14ccc72d50368a3636d4869f7977ca601e40b56238f0c278b5e
 MISC ChangeLog 22532 BLAKE2B 
391afdd0a9c008f8d3ab552eec64ffcd171c4df73dd3aefbc4b7834bb2f6ea3edab7821405435f2a9e416563fad3e0a3d75f653872f7244b4768537a544611b4
 SHA512 
f7edb623ed4a20b48ba8e81ee6f0c14942da036b9d37ab5be85ee1aac64e2968f65b4cc1d1c4c9a9c1219ddb020d53ef5ef115cc6acc32fce7ab26ab8a4efb4d
 MISC metadata.xml 660 BLAKE2B 
627ba2c0d0e42f7e01098d96a7a06bfb19628cc427507b8c9135ffb8ade4ee0394694dc9773413ae246500b78a550341570e81f34d5faf64e600f45920198498
 SHA512 
1670b1c7c2eaee7ad1e84b21d3e9f6a2a68417956f0d8dd723bb6ec135620b184e7aee751173fef09d19e14f8a8ee78384a9df179d459b55a27b05dfc46a176e
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2
 
-iQGTBAEBCAB9FiEEdP/VdIYNMe45RAljV09u/05HdRcFAl3MSXZfFIAAAAAALgAo
+iQGTBAEBCAB9FiEEdP/VdIYNMe45RAljV09u/05HdRcFAl3lmbxfFIAAAAAALgAo
 aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDc0
 RkZENTc0ODYwRDMxRUUzOTQ0MDk2MzU3NEY2RUZGNEU0Nzc1MTcACgkQV09u/05H
-dRdL6QgApQYw5lrL9HwP1rAknOira+dkAmCjLTXau92LxGy1r/uRId5RA+JQ1ZE/
-2zcfocoP7PyJlXOfqSE+MuXiWoHTi/yP9gz4P8qm4prQp/mo/caGkQlRbb15zh1D
-74zshtmYxA45kHm6xn78/7ipmEBkN3sxqTf6CvQFQy4XJDV8DhNW71dmc2EJcy0C
-cR8u3zFsHgGXqkEyxYqveE5XAjQuwGy8w9iEHCtbSTSW9057OX4uL+QUSjwPudWB
-cgtcB17a1biBH0WTqXs8q9SB+bxIptzx3RrcZdEKbbs+yMUMkz/5022uw7o0g9Ja
-ELkZ+f9Uz3d5N10Cg7tKzQyBEx7SKQ==
-=3qG7
+dRdAYAgAkA9NU6TcIBsd/zhVdSKo/6itgZepZynj1aL7ntGjly0fZ9E2BvOYXM84
+xIL8ePcW6AlvEZCDZucOKaWuHDKe3O1cxjBKMUK+mGGA1KWgMwLE1B75gymgxFCq
+0NZDmgUFHJexAn0Wu2X4e7CiSFoj6bjS5Vq0Nj7BG839EN16vC6mM2R4y624fcWz
+JHp6I0QFHgl2l0xp3VKnscY3dG5yHJcVSbCuasaoAVHPU3h79QBa33hOnOE4QH+L
+HdB4LTvz4LBgivfSj1ESW+WCRcLxxoWxxHObZj0+JGWiaWYFdflV2bKagdqO99Kl
+Ade1NqRkK+U805XEkdHNT0FzxMlWGw==
+=TYY1
 -----END PGP SIGNATURE-----
diff -r eb26c939af04 -r 43f36103bcef app-office/trytond/trytond-5.0.15.ebuild
--- a/app-office/trytond/trytond-5.0.15.ebuild  Tue Dec 03 00:04:35 2019 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,101 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python{3_4,3_5,3_6} )
-
-inherit distutils-r1 user
-
-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 test"
-
-RDEPEND="postgres? ( >=dev-python/psycopg-2[$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[$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] )"
-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
-       if use doc; then
-               docinto html
-               dodoc -r doc/_build/html/*
-       fi
-}
-
-python_test() {
-       DB_NAME=":memory:" esetup.py test || die
-}
-
-pkg_preinst() {
-       enewgroup trytond
-       enewuser trytond -1 -1 /var/lib/trytond trytond
-
-       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 eb26c939af04 -r 43f36103bcef app-office/trytond/trytond-5.0.16.ebuild
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-5.0.16.ebuild  Tue Dec 03 00:09:49 2019 +0100
@@ -0,0 +1,101 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{3_4,3_5,3_6} )
+
+inherit distutils-r1 user
+
+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 test"
+
+RDEPEND="postgres? ( >=dev-python/psycopg-2[$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[$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] )"
+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
+       if use doc; then
+               docinto html
+               dodoc -r doc/_build/html/*
+       fi
+}
+
+python_test() {
+       DB_NAME=":memory:" esetup.py test || die
+}
+
+pkg_preinst() {
+       enewgroup trytond
+       enewuser trytond -1 -1 /var/lib/trytond trytond
+
+       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 eb26c939af04 -r 43f36103bcef app-office/trytond/trytond-5.2.8.ebuild
--- a/app-office/trytond/trytond-5.2.8.ebuild   Tue Dec 03 00:04:35 2019 +0100
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python{3_5,3_6} )
-
-inherit distutils-r1 user
-
-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 
coroutine test"
-
-RDEPEND="postgres? ( >=dev-python/psycopg-2[$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[$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] )
-       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() {
-       enewgroup trytond
-       enewuser trytond -1 -1 /var/lib/trytond trytond
-
-       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 eb26c939af04 -r 43f36103bcef app-office/trytond/trytond-5.2.9.ebuild
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-5.2.9.ebuild   Tue Dec 03 00:09:49 2019 +0100
@@ -0,0 +1,102 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{3_5,3_6} )
+
+inherit distutils-r1 user
+
+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 
coroutine test"
+
+RDEPEND="postgres? ( >=dev-python/psycopg-2[$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[$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] )
+       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() {
+       enewgroup trytond
+       enewuser trytond -1 -1 /var/lib/trytond trytond
+
+       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