changeset 5a13b6329eb3 in tryton-overlay:default
details: https://hg.tryton.org/tryton-overlay?cmd=changeset;node=5a13b6329eb3
description:
app-office/trytond: Versions bump
Signed-off-by: Cédric Krier <[email protected]>
(Portage version: 2.3.62/hg/Linux x86_64, signed Manifest commit with
key 0x574F6EFF4E477517)
diffstat:
app-office/trytond/Manifest | 36 +++++-----
app-office/trytond/trytond-4.2.21.ebuild | 99 ------------------------------
app-office/trytond/trytond-4.2.22.ebuild | 99 ++++++++++++++++++++++++++++++
app-office/trytond/trytond-4.4.19.ebuild | 99 ------------------------------
app-office/trytond/trytond-4.4.20.ebuild | 99 ++++++++++++++++++++++++++++++
app-office/trytond/trytond-4.6.14.ebuild | 100 -------------------------------
app-office/trytond/trytond-4.6.15.ebuild | 100 +++++++++++++++++++++++++++++++
app-office/trytond/trytond-4.8.10.ebuild | 99 ------------------------------
app-office/trytond/trytond-4.8.11.ebuild | 99 ++++++++++++++++++++++++++++++
app-office/trytond/trytond-5.0.6.ebuild | 100 -------------------------------
app-office/trytond/trytond-5.0.7.ebuild | 100 +++++++++++++++++++++++++++++++
11 files changed, 515 insertions(+), 515 deletions(-)
diffs (1086 lines):
diff -r 6af25d842ed7 -r 5a13b6329eb3 app-office/trytond/Manifest
--- a/app-office/trytond/Manifest Mon Apr 22 12:44:31 2019 +0200
+++ b/app-office/trytond/Manifest Mon Apr 22 12:48:07 2019 +0200
@@ -7,30 +7,30 @@
AUX trytond-init.d-2 799 BLAKE2B
78dcf251feb3e9f04ba5014359c8da069cc54e14a626f6d9e03306008a30e4e412354c409ad7bb8beb47dfa65e1cc9eb12ab9459ea56f47e2994b25f113297c0
SHA512
1c6f1aa4fa8ad1da7e88e2ed5c53646802747c3ea1b4108ec51b400214eb7dd0a586548fa76d864be0087d24c1b9913343cba28339323e7a1a7fa370a8bce1c6
AUX trytond-worker-init.d 827 BLAKE2B
e87b93697abbbf1be85bfce382ffafe67fa951cd60cab530f64854485fa3d729524936356ec9dc9e2844addb3f92e04f73168e1f977003e1ea59e20126706fa1
SHA512
4d49e4b27d089462c86ecad6a7b9ba2143acbdeb60f2287305dedc8c9f8843487a8ab870e9dd9f883f4582949d4672a470d0f2498618aec54feee4db4c4d256b
DIST trytond-4.0.20.tar.gz 610190 BLAKE2B
42cece9cca9ad710d5952bc4df6fd45bf7b5a192ebcb5b5c3346323da4903a798c61792e0776c2363be306fd17c9def77467465efa86a024f258af71b4d6a5d6
SHA512
f3814af8407810ff8c6e54fb885728b4f48e09ffde634f61d42911cf01872619483f0692ca93f093e0bc61c180a724f24fed45eabd7e1c166ac4aee7ea024d32
-DIST trytond-4.2.21.tar.gz 587969 BLAKE2B
ee65c926c1d9a875c50132eafba43aed460b5c0149a23dafcd04cb8290688dddf9e26083aa65f6746835d2f9f6f13847a028541027466bdf2153a25824de8d56
SHA512
707f8c85b2f0040208065f3addc8b5dc916bda8b81f38d29fe0640e854b40afca50b8e4dee410b1b30474c391b54d5245548e41bf2a9834e02266b5066083010
-DIST trytond-4.4.19.tar.gz 602392 BLAKE2B
d61b79c5bed43dfd41c8555997d4f97c129d3b8c54634647351ac17610ea0ea2030b554f475a77e9442cb889ea025684271ac7639f2f2a347d06d3a471def7a6
SHA512
9b28b29c4bd7bdcafa120dad61afd81947b3073996eb57dfa550949c3183c52e022e9f98d1560d9e125d4531d8e5bce461a52abacf25071b983bb53dd66f3c49
-DIST trytond-4.6.14.tar.gz 610545 BLAKE2B
bfbb3fa86bcb8ff2b8c768fab498d31dbca7e1e15b7a194e6056da7516eb7e3114d00ddbab69378d480c708baee2879ca12fa311e58d8de6d02de72e58354078
SHA512
d10a8aafdc8af6992baf0823e08a6d5aa82938f4bbf4b7caa5760b85b8375ac79b99fcc5749437a728112a0378579c1f18e4eb6c6b5cd04ebc05d846ff4cab5d
-DIST trytond-4.8.10.tar.gz 653590 BLAKE2B
185fe8e4a3f6f4e00af8f880ea4f7dcffd1bce43c76172e076394f676bd03b1e2e1e47ed484633e8cf4a06af0e2ac3de73fcd4686faa1a355a7def6b2bb131b3
SHA512
a1f8ba7f337316ba21e757b665289f3d89ba70be0bc260f197314b5c3b7dbf6fcb8561f548763e1e8cb519e681a1341956e7abe02d387d294afe4ae4ae43f4e2
-DIST trytond-5.0.6.tar.gz 647831 BLAKE2B
cd968ae7c8899f8ceb33345bbe475c949a047ecffecf36587aac2816a8f6d083155c15e04218c93b7250daa61e662f20c7790bb44bec681d5ade4a39dba9cd2d
SHA512
c6ad9c1074d2a76aa4f8b3b45058f0e5816b7be372eae2f73cd79f4e2fab47efe0859d5563a03ce741d403f6ad207fba34b44e2249e628e4f55ecd3b174facb6
+DIST trytond-4.2.22.tar.gz 587995 BLAKE2B
9201d2ed586f1de34d48df7726466bc86674122d37eb47708103830117e98c8c3ff58cd82b02b539081f7c6f1e90a8fcce398a2952a4a05c496ebb6fc9a74540
SHA512
abdf85d0a2bba21f5cff109292903c8d7b63f37a004991e502ceaef9d1dbe04a3abb058e467d2d792e435e94e2e0d3a95f93b8b874a6f6eff48414f8e62bdf06
+DIST trytond-4.4.20.tar.gz 602520 BLAKE2B
2bac0adb0737ec1a0a9e88886259e33f5618426590426af1990bd297700b46973d4c38763256c9ae2c98067a995e85f98758d93b70a76f5e8f6adc6c52b782de
SHA512
846dd2b98bc56594f0e84bfb56134a8346b510006eae20a83c218b3272b44f4aed0e61d15a7ea945eedf78faceac75c261df9e910e92cf434946e90e2f0adef1
+DIST trytond-4.6.15.tar.gz 610579 BLAKE2B
959f6ca0d67622147f09e98dfa058089c35a57b66a77ea820120f91c04243e163ea7f3dce11bf5c372d0fb94fe025f387110a5cf7fb4bb936f2fafae6fea9186
SHA512
d1f26e3055400f4a200b023a7a1812387616f62ae74c3b4280ebc21a06d2f999d070b1459a1fbd85b666e89911a634cd41204faca8a12f5258053cd5815dc228
+DIST trytond-4.8.11.tar.gz 653622 BLAKE2B
d77beebeed80fe65d82dfc4af6678cdf4a4ef75ad1aaed27451d092e5712e1c164b6356888d7339d3f2adab9333b4f77e0e83efff371aec9491effc3b4fb7d3a
SHA512
b0628159d27a034f4997bf31b29d53e7319fd0d4f932079fd1c4028fa2e2f31a789f93e2f0d187213ddd74cf187da7c9443980cb585c80aaff6b37ff50aae0a3
+DIST trytond-5.0.7.tar.gz 647891 BLAKE2B
b4c11a3f0efd45e4107e1062dbe2f73e4fda2a55762f559dcac87e28ede4ac1bd5719931718c24c1e020733af1a68c5da57baef066b9f17fe5f9a2be423b0a98
SHA512
e97f881bc31c239b6066571a3557f967b8d3dc43d242d5c57689b7e587d688bc7f1fffba0c3e1ea8b6d64cf4d5d1852a5882569e9ea38c3538be9866a24ac668
EBUILD trytond-4.0.20.ebuild 2804 BLAKE2B
a51d2eb9f140951b96a7d280fc9628641f692d1619bf1b85007650d763cfb5c1cf94d3a0ed245b69fcbbec510f5a3c23c76edeb2b06ef90e0349bac4a02b58b1
SHA512
2a7f8ed77d37c316ff7c1d5682d3fc9dd9cc13d4ac0f13f06e76849bee28a1e58bc0ccb43049f89a6dae876ddbb66ebed55ae387d5efd93df2470871ff99392c
-EBUILD trytond-4.2.21.ebuild 2759 BLAKE2B
6abe3a0850f9d1337d1018a7dbb848f9deac5287374085ebe9241145bbb11ce6477a041a0130b7423856c0884c165ace5949684ba008b37a3c41f10b6320102d
SHA512
efcea8819530b54f11ba9e23a8531d14ae81c3b88a397fe87522d307ff94a048c9ba998731e5adb6206f7ec487b676a4483bee21625c9e1a5c373a8274ba008e
-EBUILD trytond-4.4.19.ebuild 2773 BLAKE2B
b0e0c1aa5a68269ae655c4fc1783c8e3da2b9d78230227cc6eb504c2ddb01e898b447cbde815e44c2538bc5ed1a4622b9c34daf7fc639563f184d15676128522
SHA512
300dbc9a6bbe6e68ed71caa3419034a9bb13f8806e2d8a94031c2abef79ea9d4246d1465868bc3dda467f64f7df8bb4892f67f1e0ce81d33c8ff495ba95a8412
-EBUILD trytond-4.6.14.ebuild 2841 BLAKE2B
b857d1829d96a8a2b99115982a4598a4e7526221545719cb6d454caf4267b0a400ccdc75eb7b9a020e1b2f8dc2f4bd6d3f49b8c2ddad691eca209c0001eadec8
SHA512
08782fe4706a84e7d3a7bb2419840d345742595b60e83533db4613209b6af1c9d42d4d18d51b59e54a0798ec81d2a7c7aff857dfd11a047684b8eb1f83dc25ab
-EBUILD trytond-4.8.10.ebuild 2757 BLAKE2B
3f85cb7bc2e28e035c3e85d31ab6a0ff38da261ec576954f0786fcf71a2b38c6d9b190581c2906c2fb765837c46c1a54ccacabf4ade03bafac73fc17bbe19c8a
SHA512
bbd80f6c9805ed000755ea402ea5a3e2e301c000cbe5b3f19d223bc7752000ddcc86d177a8111bc26ed6e544a8bcbeabf4c92759ab465ca5bb88db843ca58d44
-EBUILD trytond-5.0.6.ebuild 2814 BLAKE2B
5338f38bbab7f0634487adcd5f6435675c3994711cd78d80075752db014b18f73a3dd7f496e220569399ced5420c9f2b976c1db02abf26eee6ecbf2d913203f4
SHA512
29a27d6bfde223ba72ba8a40a76bf0ec37b13c3f2ba37cfdcae1abd54affb84fedd4d1ac3b3ea7a7f4fc5612d5d6ac20b19a8da6457e34dc76167cda08773f6f
+EBUILD trytond-4.2.22.ebuild 2759 BLAKE2B
6abe3a0850f9d1337d1018a7dbb848f9deac5287374085ebe9241145bbb11ce6477a041a0130b7423856c0884c165ace5949684ba008b37a3c41f10b6320102d
SHA512
efcea8819530b54f11ba9e23a8531d14ae81c3b88a397fe87522d307ff94a048c9ba998731e5adb6206f7ec487b676a4483bee21625c9e1a5c373a8274ba008e
+EBUILD trytond-4.4.20.ebuild 2773 BLAKE2B
b0e0c1aa5a68269ae655c4fc1783c8e3da2b9d78230227cc6eb504c2ddb01e898b447cbde815e44c2538bc5ed1a4622b9c34daf7fc639563f184d15676128522
SHA512
300dbc9a6bbe6e68ed71caa3419034a9bb13f8806e2d8a94031c2abef79ea9d4246d1465868bc3dda467f64f7df8bb4892f67f1e0ce81d33c8ff495ba95a8412
+EBUILD trytond-4.6.15.ebuild 2841 BLAKE2B
b857d1829d96a8a2b99115982a4598a4e7526221545719cb6d454caf4267b0a400ccdc75eb7b9a020e1b2f8dc2f4bd6d3f49b8c2ddad691eca209c0001eadec8
SHA512
08782fe4706a84e7d3a7bb2419840d345742595b60e83533db4613209b6af1c9d42d4d18d51b59e54a0798ec81d2a7c7aff857dfd11a047684b8eb1f83dc25ab
+EBUILD trytond-4.8.11.ebuild 2757 BLAKE2B
3f85cb7bc2e28e035c3e85d31ab6a0ff38da261ec576954f0786fcf71a2b38c6d9b190581c2906c2fb765837c46c1a54ccacabf4ade03bafac73fc17bbe19c8a
SHA512
bbd80f6c9805ed000755ea402ea5a3e2e301c000cbe5b3f19d223bc7752000ddcc86d177a8111bc26ed6e544a8bcbeabf4c92759ab465ca5bb88db843ca58d44
+EBUILD trytond-5.0.7.ebuild 2814 BLAKE2B
5338f38bbab7f0634487adcd5f6435675c3994711cd78d80075752db014b18f73a3dd7f496e220569399ced5420c9f2b976c1db02abf26eee6ecbf2d913203f4
SHA512
29a27d6bfde223ba72ba8a40a76bf0ec37b13c3f2ba37cfdcae1abd54affb84fedd4d1ac3b3ea7a7f4fc5612d5d6ac20b19a8da6457e34dc76167cda08773f6f
MISC ChangeLog 22532 BLAKE2B
391afdd0a9c008f8d3ab552eec64ffcd171c4df73dd3aefbc4b7834bb2f6ea3edab7821405435f2a9e416563fad3e0a3d75f653872f7244b4768537a544611b4
SHA512
f7edb623ed4a20b48ba8e81ee6f0c14942da036b9d37ab5be85ee1aac64e2968f65b4cc1d1c4c9a9c1219ddb020d53ef5ef115cc6acc32fce7ab26ab8a4efb4d
MISC metadata.xml 603 BLAKE2B
df4d4ebfbe3f0bd07ccb570c32694e2785395c8e2dfd5cde3500310a773e21a81139f1c337837b2c77438bce7a1562847f15cdd7f90c54cfb1de0397b9eb1a9e
SHA512
a1aa49ab0e0438ad6b3fb967b72db7077678e4812fcf1d2ce9112f3194fbc302dfee3c5f6c8fcbdf82a15711b976d09453b70b9b95beff43e7b5a89667b54c63
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQGTBAEBCAB9FiEEdP/VdIYNMe45RAljV09u/05HdRcFAlyjwnZfFIAAAAAALgAo
+iQGTBAEBCAB9FiEEdP/VdIYNMe45RAljV09u/05HdRcFAly9m+dfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDc0
RkZENTc0ODYwRDMxRUUzOTQ0MDk2MzU3NEY2RUZGNEU0Nzc1MTcACgkQV09u/05H
-dRf3mgf/V6mtkqA9T3BOg9aRcp1wNkATxjuuF8uHDXiGlATZNF0qfZkv1qU22j2a
-vZejY4j5zoiDtimNw367hJ0rvkcHdHTf8QCBHZ50zOZ2Oo0BhbMWF7q1/KMD45+1
-h4RyWR24CtFmywt8abcpjLsnaA8cNb5TI7Mm0Zi/kPgBMGVZFWQcTUJGKOCxlFk7
-boTiHCOFK3v/F8aAJl899gHMG11p6H9sJeb7iukwBshk+kl4mf9XLu1soBtZuc2u
-U63BUKzN6QrFJxUiYyaRHZ7/dKsHbgCXfyq6fk5LcR8q+qw0XTTfv7BdbD2bQU4q
-4QVIcMRSbNczWZBTB9acja2TMHO1rw==
-=v2ZV
+dRfLXgf+N02yKriO3unzXCvjJ6hj7S8To/oN9Pbb447ZE5hKhq7nmTyzrS8ySH7R
+u8VYLvbqNW5RB6tOupvO1JLXFypxJCCBEvGo1B7ro9AbS6D7qYvf058uTxcdfwFy
+6a886VjMdixk5RYBKjKCh7Q6VGL5WkqIvJnM01uCyy3tuDxUpDBQs03YVZPN9CuR
+vWqFXg5S347OHjPEP9AnEP79pPa/YYghpNDHC7YrvQ3lwDNQ/zCxQ9hwc0Fq0hcG
+Ig0NOgN0mqkCnEvvvjnce2jAJpxvAALtsgCcMnthvcPALbqirgbNmSlSMIuOboBN
+5WVqMpPtu2rFlksojzKu8hdIoMgNww==
+=ytyI
-----END PGP SIGNATURE-----
diff -r 6af25d842ed7 -r 5a13b6329eb3 app-office/trytond/trytond-4.2.21.ebuild
--- a/app-office/trytond/trytond-4.2.21.ebuild Mon Apr 22 12:44:31 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,99 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_3 python3_4 python3_5 )
-
-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 unoconv levenshtein bcrypt test"
-
-RDEPEND="postgres? ( >=dev-python/psycopg-2[$PYTHON_USEDEP] )
- mysql? ( dev-python/mysql-python[$(python_gen_usedep 'python2*')] )
- sqlite? ( dev-lang/python:*[sqlite] )
- >=dev-python/lxml-2.0[$PYTHON_USEDEP]
- >=dev-python/relatorio-0.2[$PYTHON_USEDEP]
- dev-python/genshi[$PYTHON_USEDEP]
- dev-python/python-dateutil[$PYTHON_USEDEP]
- dev-python/polib[$PYTHON_USEDEP]
- >=dev-python/python-sql-0.4[$PYTHON_USEDEP]
- dev-python/werkzeug[$PYTHON_USEDEP]
- dev-python/wrapt[$PYTHON_USEDEP]
- unoconv? ( app-office/unoconv[$PYTHON_USEDEP] )
- graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
- levenshtein? ( dev-python/python-levenshtein[$PYTHON_USEDEP] )
- bcrypt? ( dev-python/bcrypt[$PYTHON_USEDEP] )"
-DEPEND="${RDEPEND}
- dev-python/setuptools[$PYTHON_USEDEP]
- doc? ( >=dev-python/sphinx-0.3 )
- test? (
- dev-lang/python:*[sqlite]
- dev-python/mock[$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
- newconfd "${FILESDIR}"/trytond-conf.d-2 trytond
- newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-cron
- keepdir /var/log/trytond
- keepdir /var/lib/trytond
- fperms 770 /var/lib/trytond
-
- dodoc CHANGELOG COPYRIGHT README
- if use doc; then
- dohtml -r doc/_build/html/*
- fi
-}
-
-python_test() {
- DB_NAME=":memory:" esetup.py test || die
-}
-
-pkg_preinst() {
- enewgroup trytond
- enewuser trytond -1 -1 -1 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 6af25d842ed7 -r 5a13b6329eb3 app-office/trytond/trytond-4.2.22.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-4.2.22.ebuild Mon Apr 22 12:48:07 2019 +0200
@@ -0,0 +1,99 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_3 python3_4 python3_5 )
+
+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 unoconv levenshtein bcrypt test"
+
+RDEPEND="postgres? ( >=dev-python/psycopg-2[$PYTHON_USEDEP] )
+ mysql? ( dev-python/mysql-python[$(python_gen_usedep 'python2*')] )
+ sqlite? ( dev-lang/python:*[sqlite] )
+ >=dev-python/lxml-2.0[$PYTHON_USEDEP]
+ >=dev-python/relatorio-0.2[$PYTHON_USEDEP]
+ dev-python/genshi[$PYTHON_USEDEP]
+ dev-python/python-dateutil[$PYTHON_USEDEP]
+ dev-python/polib[$PYTHON_USEDEP]
+ >=dev-python/python-sql-0.4[$PYTHON_USEDEP]
+ dev-python/werkzeug[$PYTHON_USEDEP]
+ dev-python/wrapt[$PYTHON_USEDEP]
+ unoconv? ( app-office/unoconv[$PYTHON_USEDEP] )
+ graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
+ levenshtein? ( dev-python/python-levenshtein[$PYTHON_USEDEP] )
+ bcrypt? ( dev-python/bcrypt[$PYTHON_USEDEP] )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[$PYTHON_USEDEP]
+ doc? ( >=dev-python/sphinx-0.3 )
+ test? (
+ dev-lang/python:*[sqlite]
+ dev-python/mock[$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
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-cron
+ keepdir /var/log/trytond
+ keepdir /var/lib/trytond
+ fperms 770 /var/lib/trytond
+
+ dodoc CHANGELOG COPYRIGHT README
+ if use doc; then
+ dohtml -r doc/_build/html/*
+ fi
+}
+
+python_test() {
+ DB_NAME=":memory:" esetup.py test || die
+}
+
+pkg_preinst() {
+ enewgroup trytond
+ enewuser trytond -1 -1 -1 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 6af25d842ed7 -r 5a13b6329eb3 app-office/trytond/trytond-4.4.19.ebuild
--- a/app-office/trytond/trytond-4.4.19.ebuild Mon Apr 22 12:44:31 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,99 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_3 python3_4 python3_5 )
-
-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 unoconv levenshtein bcrypt test"
-
-RDEPEND="postgres? ( >=dev-python/psycopg-2[$PYTHON_USEDEP] )
- mysql? ( dev-python/mysql-python[$(python_gen_usedep 'python2*')] )
- sqlite? ( dev-lang/python:*[sqlite] )
- >=dev-python/lxml-2.0[$PYTHON_USEDEP]
- >=dev-python/relatorio-0.2[$PYTHON_USEDEP]
- dev-python/genshi[$PYTHON_USEDEP]
- dev-python/python-dateutil[$PYTHON_USEDEP]
- dev-python/polib[$PYTHON_USEDEP]
- >=dev-python/python-sql-0.4[$PYTHON_USEDEP]
- dev-python/werkzeug[$PYTHON_USEDEP]
- dev-python/wrapt[$PYTHON_USEDEP]
- unoconv? ( app-office/unoconv[$PYTHON_USEDEP] )
- graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
- levenshtein? ( dev-python/python-levenshtein[$PYTHON_USEDEP] )
- bcrypt? ( dev-python/bcrypt[$PYTHON_USEDEP] )"
-DEPEND="${RDEPEND}
- dev-python/setuptools[$PYTHON_USEDEP]
- doc? ( >=dev-python/sphinx-0.3 )
- test? (
- dev-lang/python:*[sqlite]
- dev-python/mock[$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
- newconfd "${FILESDIR}"/trytond-conf.d-2 trytond
- newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-cron
- keepdir /var/log/trytond
- keepdir /var/lib/trytond
- fperms 770 /var/lib/trytond
-
- dodoc CHANGELOG COPYRIGHT README
- if use doc; then
- dohtml -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 6af25d842ed7 -r 5a13b6329eb3 app-office/trytond/trytond-4.4.20.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-4.4.20.ebuild Mon Apr 22 12:48:07 2019 +0200
@@ -0,0 +1,99 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_3 python3_4 python3_5 )
+
+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 unoconv levenshtein bcrypt test"
+
+RDEPEND="postgres? ( >=dev-python/psycopg-2[$PYTHON_USEDEP] )
+ mysql? ( dev-python/mysql-python[$(python_gen_usedep 'python2*')] )
+ sqlite? ( dev-lang/python:*[sqlite] )
+ >=dev-python/lxml-2.0[$PYTHON_USEDEP]
+ >=dev-python/relatorio-0.2[$PYTHON_USEDEP]
+ dev-python/genshi[$PYTHON_USEDEP]
+ dev-python/python-dateutil[$PYTHON_USEDEP]
+ dev-python/polib[$PYTHON_USEDEP]
+ >=dev-python/python-sql-0.4[$PYTHON_USEDEP]
+ dev-python/werkzeug[$PYTHON_USEDEP]
+ dev-python/wrapt[$PYTHON_USEDEP]
+ unoconv? ( app-office/unoconv[$PYTHON_USEDEP] )
+ graphviz? ( dev-python/pydot[$PYTHON_USEDEP] )
+ levenshtein? ( dev-python/python-levenshtein[$PYTHON_USEDEP] )
+ bcrypt? ( dev-python/bcrypt[$PYTHON_USEDEP] )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[$PYTHON_USEDEP]
+ doc? ( >=dev-python/sphinx-0.3 )
+ test? (
+ dev-lang/python:*[sqlite]
+ dev-python/mock[$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
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-cron
+ keepdir /var/log/trytond
+ keepdir /var/lib/trytond
+ fperms 770 /var/lib/trytond
+
+ dodoc CHANGELOG COPYRIGHT README
+ if use doc; then
+ dohtml -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 6af25d842ed7 -r 5a13b6329eb3 app-office/trytond/trytond-4.6.14.ebuild
--- a/app-office/trytond/trytond-4.6.14.ebuild Mon Apr 22 12:44:31 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,100 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_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 unoconv levenshtein bcrypt html2text
test"
-
-RDEPEND="postgres? ( >=dev-python/psycopg-2[$PYTHON_USEDEP] )
- mysql? ( dev-python/mysql-python[$(python_gen_usedep 'python2*')] )
- 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.4[$PYTHON_USEDEP]
- dev-python/werkzeug[$PYTHON_USEDEP]
- dev-python/wrapt[$PYTHON_USEDEP]
- unoconv? ( app-office/unoconv[$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]
- dev-python/mock[$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
- newconfd "${FILESDIR}"/trytond-conf.d-2 trytond
- newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-cron
- keepdir /var/log/trytond
- keepdir /var/lib/trytond
- fperms 770 /var/lib/trytond
-
- dodoc CHANGELOG COPYRIGHT README
- if use doc; then
- dohtml -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 6af25d842ed7 -r 5a13b6329eb3 app-office/trytond/trytond-4.6.15.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-4.6.15.ebuild Mon Apr 22 12:48:07 2019 +0200
@@ -0,0 +1,100 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_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 unoconv levenshtein bcrypt html2text
test"
+
+RDEPEND="postgres? ( >=dev-python/psycopg-2[$PYTHON_USEDEP] )
+ mysql? ( dev-python/mysql-python[$(python_gen_usedep 'python2*')] )
+ 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.4[$PYTHON_USEDEP]
+ dev-python/werkzeug[$PYTHON_USEDEP]
+ dev-python/wrapt[$PYTHON_USEDEP]
+ unoconv? ( app-office/unoconv[$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]
+ dev-python/mock[$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
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-cron
+ keepdir /var/log/trytond
+ keepdir /var/lib/trytond
+ fperms 770 /var/lib/trytond
+
+ dodoc CHANGELOG COPYRIGHT README
+ if use doc; then
+ dohtml -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 6af25d842ed7 -r 5a13b6329eb3 app-office/trytond/trytond-4.8.10.ebuild
--- a/app-office/trytond/trytond-4.8.10.ebuild Mon Apr 22 12:44:31 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,99 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_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.4[$PYTHON_USEDEP]
- dev-python/werkzeug[$PYTHON_USEDEP]
- dev-python/wrapt[$PYTHON_USEDEP]
- virtual/python-ipaddress[$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]
- dev-python/mock[$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
- newconfd "${FILESDIR}"/trytond-conf.d-2 trytond
- newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-cron
- keepdir /var/log/trytond
- keepdir /var/lib/trytond
- fperms 770 /var/lib/trytond
-
- dodoc CHANGELOG COPYRIGHT README
- if use doc; then
- dohtml -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 6af25d842ed7 -r 5a13b6329eb3 app-office/trytond/trytond-4.8.11.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-4.8.11.ebuild Mon Apr 22 12:48:07 2019 +0200
@@ -0,0 +1,99 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_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.4[$PYTHON_USEDEP]
+ dev-python/werkzeug[$PYTHON_USEDEP]
+ dev-python/wrapt[$PYTHON_USEDEP]
+ virtual/python-ipaddress[$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]
+ dev-python/mock[$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
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond
+ newconfd "${FILESDIR}"/trytond-conf.d-2 trytond-cron
+ keepdir /var/log/trytond
+ keepdir /var/lib/trytond
+ fperms 770 /var/lib/trytond
+
+ dodoc CHANGELOG COPYRIGHT README
+ if use doc; then
+ dohtml -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 6af25d842ed7 -r 5a13b6329eb3 app-office/trytond/trytond-5.0.6.ebuild
--- a/app-office/trytond/trytond-5.0.6.ebuild Mon Apr 22 12:44:31 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,100 +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
- dohtml -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 6af25d842ed7 -r 5a13b6329eb3 app-office/trytond/trytond-5.0.7.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/trytond/trytond-5.0.7.ebuild Mon Apr 22 12:48:07 2019 +0200
@@ -0,0 +1,100 @@
+# 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
+ dohtml -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
+}