changeset 90717e141f60 in tryton-overlay:default
details: https://hg.tryton.org/tryton-overlay?cmd=changeset&node=90717e141f60
description:
app-office/sao: versions bump
(Portage version: 3.0.20/hg/Linux x86_64, signed Manifest commit with
key 0x574F6EFF4E477517)
Signed-off-by: Cédric Krier <[email protected]>
diffstat:
app-office/sao/Manifest | 24 +++++-----
app-office/sao/sao-5.8.10.ebuild | 81 ++++++++++++++++++++++++++++++++++++++++
app-office/sao/sao-5.8.9.ebuild | 81 ----------------------------------------
app-office/sao/sao-6.0.1.ebuild | 77 --------------------------------------
app-office/sao/sao-6.0.2.ebuild | 74 ++++++++++++++++++++++++++++++++++++
5 files changed, 167 insertions(+), 170 deletions(-)
diffs (366 lines):
diff -r 5e0b17e4790b -r 90717e141f60 app-office/sao/Manifest
--- a/app-office/sao/Manifest Thu Jul 01 23:52:06 2021 +0200
+++ b/app-office/sao/Manifest Thu Jul 01 23:53:43 2021 +0200
@@ -2,21 +2,21 @@
Hash: SHA256
DIST tryton-sao-5.6.20.tgz 518111 BLAKE2B
daf29746d32f13f65dba5bbed38db39ce70242bf60d34d5f49b80a0efda3c703fb034071c45ae6c2e99bbbf7fdfc3bbeac54a4290b880c9cb48ca8c924f71a88
SHA512
d498c3f114d8d75f949dc5b5181901d720f1df1de5e2c8ecbf3c43bc3ed0404689f9aab00cbf9cc378a7b7822bada8c40344a3814fcf58768f8949a03b2b7eb3
-DIST tryton-sao-5.8.9.tgz 603939 BLAKE2B
cf9463cb7a0bc11f8ac5cfe5bec6898c5594a06d63587884f432f36ffc1e73239876d40b96afebba1b9df0dfd2cc6b35333c645cb7947ad45f075d00ead73833
SHA512
ae679e7cc09b5f9ccec87e7fb212d36eb1f0ca350357823b308947ddd5f425411417af43309129520fd43e0b37e048654b06e224f9ef268cb8b86d8d7585870c
-DIST tryton-sao-6.0.1.tgz 624686 BLAKE2B
8d47bee141bc5ca024d74b0ca68c44d042f77826eff77fb9d87bab322d1db2c119c03da44e1c9d65588d0ba10a6bc043724a0d968d9dc45e90599043a3b7a0ae
SHA512
d91a6786100ad09e9cb0dee37f6949033e8e26955a095fc01a3a37b431e21078e65cf9ca44d1fdaa689fae91c47acd92a67f89a906686df73e83c251677afbc9
+DIST tryton-sao-5.8.10.tgz 603960 BLAKE2B
3f9cea2fc6b105c0f1ebe89ca956d1021f7d0d9a3eb656ba9a112c48f8cbabab583d74ac9d3785c8f85233f1462836495187e4298097283f49a7839139b5f8a0
SHA512
c4c670259f6641b5aa773e2c45f44d4ace316b8c956cc8ef1a83b63d18c1c0dd3bee757cbdde8a0a15944286d017101e96590e4f3bf7068a19cbeb51baadfc9e
+DIST tryton-sao-6.0.2.tgz 624697 BLAKE2B
db8475b0fe0c0acfc3aeebdbca9a6e2d94f6684c65fa5cfc4e2fcf983e1a8a0ff25b32f17c72bd97eccf14b40cddbb478c5ee10b7d09dc4378dc4be3234a4055
SHA512
156734456ffe7f563357a74d8de46594925ee380fe2a8d1d65eed35d69f75df9e87f1d3a8e0052f2d28f0c337af691536ae24b49b13c32cbcd3fd43b374ce739
EBUILD sao-5.6.20.ebuild 3341 BLAKE2B
7d3fdd6c1b7a7203b4f33a361ec3738fe773052be83665064ae121a57f106f2ba8c01c80496fde75e5f65f20d41bae501884d80c4a384c053768ff16439662af
SHA512
fed48ceae663630282987f8c8d2518407879133ca4aa081d09decd346c4723a0b5ef076cefbdbc3b6be8b065daf0a2cebb2eb74d4a766a0ffd93861ec78e245d
-EBUILD sao-5.8.9.ebuild 3524 BLAKE2B
3c1908c1095775e930ce60dc37acfad6b77b8e49b64ce3982415aab9764146bb04a454a9e53b77a427a37569052ab688c178854189426eae021b13e3c96a0612
SHA512
fc9ee7a03eeb885d052388419c0cd99a1a3581113bc10c6ba43bb95c516fc01ef4873e1b80521e91466b90fcf626adcba34f2c34c2fe78f2c3c0bfa263661578
-EBUILD sao-6.0.1.ebuild 3183 BLAKE2B
27bc1afe8c471ff719d58eba41ba05d23ec97cd7170090be1d8304012fc7f7807b4da7c730def817ce0127884e3177b3cd28712fe8da7e04d8af2760d0834b1a
SHA512
1cdbc1934bac9e1717e05e88fe3da6488b79236527a345d0ebf9256c4d4a01152ab391c07fb8219ec18e1d7da79ba09274d2108cd924fafe31d4684896bbdcf6
+EBUILD sao-5.8.10.ebuild 3524 BLAKE2B
3c1908c1095775e930ce60dc37acfad6b77b8e49b64ce3982415aab9764146bb04a454a9e53b77a427a37569052ab688c178854189426eae021b13e3c96a0612
SHA512
fc9ee7a03eeb885d052388419c0cd99a1a3581113bc10c6ba43bb95c516fc01ef4873e1b80521e91466b90fcf626adcba34f2c34c2fe78f2c3c0bfa263661578
+EBUILD sao-6.0.2.ebuild 2986 BLAKE2B
bf4680182b83fc22f2e061dd1d093a1125dd6c312108f523245f8dcd58bb5602c36e8b9927ecc340344c595f025673d0026734259472c62ecc9a978b55680c09
SHA512
b2f2ab726b64745c8e1b49b7853cf323a5977869d4f5334fcafa41f64f6a80e19f6c6e191468c88a8cef2f1c9a61cef1cbf03ff3bc497a32f8475c62bcaf8d13
MISC metadata.xml 293 BLAKE2B
d8a5a8cfc8b3e88b4e2e8cfffcca51ba809d59c4acde7301836369e0a5706b60c2a1ea19f318c84c9b4e9bd7cdb6e7854c4b43e848067576b415f335dc3659a6
SHA512
420ebcdcd3f8967912435c39c2f6d172e08e207cf1d785f474c24b444976009cdc0dd95cb7f5e7b8fa67c4ff37a257dcaa1de6981e3b1d44a227e77a4ba143e2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQEzBAEBCAAdFiEEdP/VdIYNMe45RAljV09u/05HdRcFAmDRsysACgkQV09u/05H
-dReYKgf+JbrxPXROPpraBc9duw/AP24pxyLCFHsfm0Or/p9mkMp/eVA7ak5WY7BA
-QVDXzCtLf3TqsimFtoeD3xM4/9aPYETVPJX2nd9fr744q5V5EymXqti1DJM8CtBw
-vRIUL4BODOO/dRvFcjONK63FHguecF2BKB4mNF00n9S+CmwwxgPhT4EVSspDSKvv
-RN/d98vsio4nWIU6LBjbQ6kjzCkTYxg4GTS6oWUDWSw15RPmwT5JCTdu3gT9diI9
-SaVViws2QGMNREKdmbsucP4XIOzMoWVVBvfDOTrhG+Nc5k+t9fmtp6now202se/b
-AAxq1EmOkOqG+QWM0+9iTufX1e/nNg==
-=AGgn
+iQEzBAEBCAAdFiEEdP/VdIYNMe45RAljV09u/05HdRcFAmDeOWYACgkQV09u/05H
+dRfE+wf7BkP3CmG7XHyTBMu7KUB0Jx3Ayy9M3MWnRnCG/32MYqQM3IKmoed3RSPS
+ipxE2MVcwNX0tbs5qud7mTqzs9G0jDJXngsz4im0XT77lyKqRKQaNsDFuZ1ikZBQ
+zObFUvbU6FksWL0SKnbRZ5AF/je2/ZfOEaCCwVk/j44lhBi0qP48RNjv9cx0oT9p
+wHHZRqBahu0eMTiQZTEFjdcnh38AviCL1tHwbk22LYslfVdkGNRK+x4/+1CGmGT8
+SWBdIJ2X601CvSd85CJbon0kmDwgaoabDDV7xUeJNrW03RSSfS6wkpPZIGTvEvS2
+LFIxED/uRMaFo5F5KYsGfz0rzESxnw==
+=cQYG
-----END PGP SIGNATURE-----
diff -r 5e0b17e4790b -r 90717e141f60 app-office/sao/sao-5.8.10.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/sao/sao-5.8.10.ebuild Thu Jul 01 23:53:43 2021 +0200
@@ -0,0 +1,81 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Tryton web client"
+HOMEPAGE="http://www.tryton.org/"
+SRC_URI="https://downloads.tryton.org/$(ver_cut 1-2)/tryton-${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ =app-office/trytond-$(ver_cut 1-2)*
+ dev-javascript/jquery:3
+ >=dev-javascript/bootstrap-3.3.7:3
+ >=dev-javascript/moment-2.10:2
+ >=dev-javascript/tempusdominus-bootstrap3-5.0.0_alpha8:5
+ >=dev-javascript/gettext-0.7:0
+ >=dev-javascript/c3-0.7:0
+ >=dev-javascript/papaparse-5.0:5
+ >=dev-javascript/fullcalendar-3.10.2:3
+ >=dev-javascript/mousetrap-1.6:1
+ >=dev-javascript/bootstrap-rtl-ondemand-3.3.4:3
+ >=dev-javascript/sortable-1.8.4:1
+ dev-javascript/popperjs:1"
+
+S=${WORKDIR}/package
+
+src_install() {
+ insinto "/usr/share/${PN}/"
+ doins index.html
+ doins -r dist/ locale/ images/
+
+ dodir "/usr/share/${PN}/bower_components/jquery"
+ dodir "/usr/share/${PN}/bower_components/bootstrap"
+ dodir "/usr/share/${PN}/bower_components/tempusdominus-bootstrap-3"
+ dodir "/usr/share/${PN}/bower_components/gettext.js"
+ dodir "/usr/share/${PN}/bower_components/fullcalendar"
+ dodir "/usr/share/${PN}/bower_components/popper.js"
+
+ dodoc CHANGELOG COPYRIGHT README.md
+}
+
+pkg_postinst() {
+ ln -sf "${EROOT}"/usr/share/jquery-3
"${EROOT}"/usr/share/${PN}/bower_components/jquery/dist
+ ln -sf "${EROOT}"/usr/share/bootstrap-3
"${EROOT}"/usr/share/${PN}/bower_components/bootstrap/dist
+ ln -sf "${EROOT}"/usr/share/moment-2
"${EROOT}"/usr/share/${PN}/bower_components/moment
+ ln -sf "${EROOT}"/usr/share/tempusdominus-bootstrap3-5
"${EROOT}"/usr/share/${PN}/bower_components/tempusdominus-bootstrap-3/build
+ ln -sf "${EROOT}"/usr/share/gettext.js-0
"${EROOT}"/usr/share/${PN}/bower_components/gettext.js/dist
+ ln -sf "${EROOT}"/usr/share/d3-5
"${EROOT}"/usr/share/${PN}/bower_components/d3
+ ln -sf "${EROOT}"/usr/share/c3-0
"${EROOT}"/usr/share/${PN}/bower_components/c3
+ ln -sf "${EROOT}"/usr/share/papaparse-5
"${EROOT}"/usr/share/${PN}/bower_components/papaparse
+ ln -sf "${EROOT}"/usr/share/fullcalendar-3
"${EROOT}"/usr/share/${PN}/bower_components/fullcalendar/dist
+ ln -sf "${EROOT}"/usr/share/mousetrap-1
"${EROOT}"/usr/share/${PN}/bower_components/mousetrap
+ ln -sf "${EROOT}"/usr/share/bootstrap-rtl-ondemand-3
"${EROOT}"/usr/share/${PN}/bower_components/bootstrap-rtl-ondemand
+ ln -sf "${EROOT}"/usr/share/sortable-1
"${EROOT}"/usr/share/${PN}/bower_components/Sortable
+ ln -sf "${EROOT}"/usr/share/popperjs-1/popper.min.js
"${EROOT}"/usr/share/${PN}/bower_components/popper.js/index.js
+
+ elog "In order to use sao, add to trytond configuration:"
+ elog " [web]"
+ elog " root=${EROOT}/usr/share/${PN}"
+}
+
+pkg_prerm() {
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/jquery/dist
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/bootstrap/dist
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/moment
+ rm -f
"${EROOT}"/usr/share/${PN}/bower_components/tempusdominus-bootstrap3/build
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/gettext.js/dist
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/d3
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/c3
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/papaparse
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/fullcalendar
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/mousetrap
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/bootstrap-rtl-ondemand
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/Sortable
+}
diff -r 5e0b17e4790b -r 90717e141f60 app-office/sao/sao-5.8.9.ebuild
--- a/app-office/sao/sao-5.8.9.ebuild Thu Jul 01 23:52:06 2021 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,81 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Tryton web client"
-HOMEPAGE="http://www.tryton.org/"
-SRC_URI="https://downloads.tryton.org/$(ver_cut 1-2)/tryton-${P}.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}
- =app-office/trytond-$(ver_cut 1-2)*
- dev-javascript/jquery:3
- >=dev-javascript/bootstrap-3.3.7:3
- >=dev-javascript/moment-2.10:2
- >=dev-javascript/tempusdominus-bootstrap3-5.0.0_alpha8:5
- >=dev-javascript/gettext-0.7:0
- >=dev-javascript/c3-0.7:0
- >=dev-javascript/papaparse-5.0:5
- >=dev-javascript/fullcalendar-3.10.2:3
- >=dev-javascript/mousetrap-1.6:1
- >=dev-javascript/bootstrap-rtl-ondemand-3.3.4:3
- >=dev-javascript/sortable-1.8.4:1
- dev-javascript/popperjs:1"
-
-S=${WORKDIR}/package
-
-src_install() {
- insinto "/usr/share/${PN}/"
- doins index.html
- doins -r dist/ locale/ images/
-
- dodir "/usr/share/${PN}/bower_components/jquery"
- dodir "/usr/share/${PN}/bower_components/bootstrap"
- dodir "/usr/share/${PN}/bower_components/tempusdominus-bootstrap-3"
- dodir "/usr/share/${PN}/bower_components/gettext.js"
- dodir "/usr/share/${PN}/bower_components/fullcalendar"
- dodir "/usr/share/${PN}/bower_components/popper.js"
-
- dodoc CHANGELOG COPYRIGHT README.md
-}
-
-pkg_postinst() {
- ln -sf "${EROOT}"/usr/share/jquery-3
"${EROOT}"/usr/share/${PN}/bower_components/jquery/dist
- ln -sf "${EROOT}"/usr/share/bootstrap-3
"${EROOT}"/usr/share/${PN}/bower_components/bootstrap/dist
- ln -sf "${EROOT}"/usr/share/moment-2
"${EROOT}"/usr/share/${PN}/bower_components/moment
- ln -sf "${EROOT}"/usr/share/tempusdominus-bootstrap3-5
"${EROOT}"/usr/share/${PN}/bower_components/tempusdominus-bootstrap-3/build
- ln -sf "${EROOT}"/usr/share/gettext.js-0
"${EROOT}"/usr/share/${PN}/bower_components/gettext.js/dist
- ln -sf "${EROOT}"/usr/share/d3-5
"${EROOT}"/usr/share/${PN}/bower_components/d3
- ln -sf "${EROOT}"/usr/share/c3-0
"${EROOT}"/usr/share/${PN}/bower_components/c3
- ln -sf "${EROOT}"/usr/share/papaparse-5
"${EROOT}"/usr/share/${PN}/bower_components/papaparse
- ln -sf "${EROOT}"/usr/share/fullcalendar-3
"${EROOT}"/usr/share/${PN}/bower_components/fullcalendar/dist
- ln -sf "${EROOT}"/usr/share/mousetrap-1
"${EROOT}"/usr/share/${PN}/bower_components/mousetrap
- ln -sf "${EROOT}"/usr/share/bootstrap-rtl-ondemand-3
"${EROOT}"/usr/share/${PN}/bower_components/bootstrap-rtl-ondemand
- ln -sf "${EROOT}"/usr/share/sortable-1
"${EROOT}"/usr/share/${PN}/bower_components/Sortable
- ln -sf "${EROOT}"/usr/share/popperjs-1/popper.min.js
"${EROOT}"/usr/share/${PN}/bower_components/popper.js/index.js
-
- elog "In order to use sao, add to trytond configuration:"
- elog " [web]"
- elog " root=${EROOT}/usr/share/${PN}"
-}
-
-pkg_prerm() {
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/jquery/dist
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/bootstrap/dist
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/moment
- rm -f
"${EROOT}"/usr/share/${PN}/bower_components/tempusdominus-bootstrap3/build
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/gettext.js/dist
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/d3
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/c3
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/papaparse
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/fullcalendar
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/mousetrap
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/bootstrap-rtl-ondemand
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/Sortable
-}
diff -r 5e0b17e4790b -r 90717e141f60 app-office/sao/sao-6.0.1.ebuild
--- a/app-office/sao/sao-6.0.1.ebuild Thu Jul 01 23:52:06 2021 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Tryton web client"
-HOMEPAGE="http://www.tryton.org/"
-SRC_URI="https://downloads.tryton.org/$(ver_cut 1-2)/tryton-${P}.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}
- =app-office/trytond-$(ver_cut 1-2)*
- dev-javascript/jquery:3
- >=dev-javascript/bootstrap-3.3.7:3
- >=dev-javascript/moment-2.10:2
- >=dev-javascript/gettext-0.7:0
- >=dev-javascript/c3-0.7:0
- >=dev-javascript/papaparse-5.0:5
- >=dev-javascript/fullcalendar-3.10.2:3
- >=dev-javascript/mousetrap-1.6:1
- >=dev-javascript/bootstrap-rtl-ondemand-3.3.4:3
- >=dev-javascript/sortable-1.8.4:1
- dev-javascript/popperjs:1"
-
-S=${WORKDIR}/package
-
-src_install() {
- insinto "/usr/share/${PN}/"
- doins index.html
- doins -r dist/ locale/ images/
-
- dodir "/usr/share/${PN}/bower_components/jquery"
- dodir "/usr/share/${PN}/bower_components/bootstrap"
- dodir "/usr/share/${PN}/bower_components/gettext.js"
- dodir "/usr/share/${PN}/bower_components/fullcalendar"
- dodir "/usr/share/${PN}/bower_components/popper.js"
-
- dodoc CHANGELOG COPYRIGHT README.md
-}
-
-pkg_postinst() {
- ln -sf "${EROOT}"/usr/share/jquery-3
"${EROOT}"/usr/share/${PN}/bower_components/jquery/dist
- ln -sf "${EROOT}"/usr/share/bootstrap-3
"${EROOT}"/usr/share/${PN}/bower_components/bootstrap/dist
- ln -sf "${EROOT}"/usr/share/moment-2
"${EROOT}"/usr/share/${PN}/bower_components/moment
- ln -sf "${EROOT}"/usr/share/gettext.js-0
"${EROOT}"/usr/share/${PN}/bower_components/gettext.js/dist
- ln -sf "${EROOT}"/usr/share/d3-5
"${EROOT}"/usr/share/${PN}/bower_components/d3
- ln -sf "${EROOT}"/usr/share/c3-0
"${EROOT}"/usr/share/${PN}/bower_components/c3
- ln -sf "${EROOT}"/usr/share/papaparse-5
"${EROOT}"/usr/share/${PN}/bower_components/papaparse
- ln -sf "${EROOT}"/usr/share/fullcalendar-3
"${EROOT}"/usr/share/${PN}/bower_components/fullcalendar/dist
- ln -sf "${EROOT}"/usr/share/mousetrap-1
"${EROOT}"/usr/share/${PN}/bower_components/mousetrap
- ln -sf "${EROOT}"/usr/share/bootstrap-rtl-ondemand-3
"${EROOT}"/usr/share/${PN}/bower_components/bootstrap-rtl-ondemand
- ln -sf "${EROOT}"/usr/share/sortable-1
"${EROOT}"/usr/share/${PN}/bower_components/Sortable
- ln -sf "${EROOT}"/usr/share/popperjs-1/popper.min.js
"${EROOT}"/usr/share/${PN}/bower_components/popper.js/index.js
-
- elog "In order to use sao, add to trytond configuration:"
- elog " [web]"
- elog " root=${EROOT}/usr/share/${PN}"
-}
-
-pkg_prerm() {
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/jquery/dist
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/bootstrap/dist
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/moment
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/gettext.js/dist
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/d3
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/c3
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/papaparse
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/fullcalendar
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/mousetrap
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/bootstrap-rtl-ondemand
- rm -f "${EROOT}"/usr/share/${PN}/bower_components/Sortable
-}
diff -r 5e0b17e4790b -r 90717e141f60 app-office/sao/sao-6.0.2.ebuild
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app-office/sao/sao-6.0.2.ebuild Thu Jul 01 23:53:43 2021 +0200
@@ -0,0 +1,74 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Tryton web client"
+HOMEPAGE="http://www.tryton.org/"
+SRC_URI="https://downloads.tryton.org/$(ver_cut 1-2)/tryton-${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ =app-office/trytond-$(ver_cut 1-2)*
+ dev-javascript/jquery:3
+ >=dev-javascript/bootstrap-3.3.7:3
+ >=dev-javascript/moment-2.10:2
+ >=dev-javascript/gettext-0.7:0
+ >=dev-javascript/c3-0.7:0
+ >=dev-javascript/papaparse-5.0:5
+ >=dev-javascript/fullcalendar-3.10.2:3
+ >=dev-javascript/mousetrap-1.6:1
+ >=dev-javascript/bootstrap-rtl-ondemand-3.3.4:3
+ >=dev-javascript/sortable-1.8.4:1"
+
+S=${WORKDIR}/package
+
+src_install() {
+ insinto "/usr/share/${PN}/"
+ doins index.html
+ doins -r dist/ locale/ images/
+
+ dodir "/usr/share/${PN}/bower_components/jquery"
+ dodir "/usr/share/${PN}/bower_components/bootstrap"
+ dodir "/usr/share/${PN}/bower_components/gettext.js"
+ dodir "/usr/share/${PN}/bower_components/fullcalendar"
+
+ dodoc CHANGELOG COPYRIGHT README.md
+}
+
+pkg_postinst() {
+ ln -sf "${EROOT}"/usr/share/jquery-3
"${EROOT}"/usr/share/${PN}/bower_components/jquery/dist
+ ln -sf "${EROOT}"/usr/share/bootstrap-3
"${EROOT}"/usr/share/${PN}/bower_components/bootstrap/dist
+ ln -sf "${EROOT}"/usr/share/moment-2
"${EROOT}"/usr/share/${PN}/bower_components/moment
+ ln -sf "${EROOT}"/usr/share/gettext.js-0
"${EROOT}"/usr/share/${PN}/bower_components/gettext.js/dist
+ ln -sf "${EROOT}"/usr/share/d3-5
"${EROOT}"/usr/share/${PN}/bower_components/d3
+ ln -sf "${EROOT}"/usr/share/c3-0
"${EROOT}"/usr/share/${PN}/bower_components/c3
+ ln -sf "${EROOT}"/usr/share/papaparse-5
"${EROOT}"/usr/share/${PN}/bower_components/papaparse
+ ln -sf "${EROOT}"/usr/share/fullcalendar-3
"${EROOT}"/usr/share/${PN}/bower_components/fullcalendar/dist
+ ln -sf "${EROOT}"/usr/share/mousetrap-1
"${EROOT}"/usr/share/${PN}/bower_components/mousetrap
+ ln -sf "${EROOT}"/usr/share/bootstrap-rtl-ondemand-3
"${EROOT}"/usr/share/${PN}/bower_components/bootstrap-rtl-ondemand
+ ln -sf "${EROOT}"/usr/share/sortable-1
"${EROOT}"/usr/share/${PN}/bower_components/Sortable
+
+ elog "In order to use sao, add to trytond configuration:"
+ elog " [web]"
+ elog " root=${EROOT}/usr/share/${PN}"
+}
+
+pkg_prerm() {
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/jquery/dist
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/bootstrap/dist
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/moment
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/gettext.js/dist
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/d3
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/c3
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/papaparse
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/fullcalendar
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/mousetrap
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/bootstrap-rtl-ondemand
+ rm -f "${EROOT}"/usr/share/${PN}/bower_components/Sortable
+}