From 131fe07ea636d436c383969b6c1218266a0c9be0 Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Mon, 9 Jan 2023 22:32:06 +0800 Subject: [PATCH] seafile-pro-server-9.0.14.ebuild --- www-apps/seafile-pro-server/Manifest | 1 + .../seafile-pro-server-9.0.14.ebuild | 60 +++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 www-apps/seafile-pro-server/seafile-pro-server-9.0.14.ebuild diff --git a/www-apps/seafile-pro-server/Manifest b/www-apps/seafile-pro-server/Manifest index f6a75efde..c826f848a 100644 --- a/www-apps/seafile-pro-server/Manifest +++ b/www-apps/seafile-pro-server/Manifest @@ -1 +1,2 @@ DIST seafile-pro-server_9.0.13_x86-64_CentOS.tar.gz 97839892 BLAKE2B 708eea9073a3892ba799849830276fea7b6f52b66faa0ecba89f56885639ef3df7673a15824d94f6d47445c2a7ca171a9ba8146b7126c8fdcda44a4699d3d978 SHA512 6776c0f098adfd3279a949652578028dd6b8448f8ea46b99dbfe3694d9883dc8a8b4061769b59329daba3e31d5f77a535d501ea2ee1b9fcf09fe2c12ff9eecad +DIST seafile-pro-server_9.0.14_x86-64_CentOS.tar.gz 98102273 BLAKE2B 896ff7d02b237b224fa4cf78e9ea532bd0a84b33ff60fc738933785c8e7ae49868bc1792fd437291bd68adbf524884b16a44aae1c1e3dd72febd7bb62bbe3635 SHA512 398d0f3dc3a1270eac31652d02ab9fe4cbdfe02670771affddc9c4c06e102263904549e0b7a778011d776aabe27e38286597893579a36f20382b40d8e25eb129 diff --git a/www-apps/seafile-pro-server/seafile-pro-server-9.0.14.ebuild b/www-apps/seafile-pro-server/seafile-pro-server-9.0.14.ebuild new file mode 100644 index 000000000..b953c484c --- /dev/null +++ b/www-apps/seafile-pro-server/seafile-pro-server-9.0.14.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{10..11} ) +inherit python-single-r1 + +MY_P="seafile-pro-server_${PV}_x86-64_CentOS.tar.gz" + +DESCRIPTION="Meta package for Seafile Pro Edition, file sync share solution" +HOMEPAGE="https://github.com/haiwen/seafile-server/ http://www.seafile.com/" +SRC_URI="https://download.seafile.com/d/6e5297246c/files/?p=%2Fpro%2F${MY_P}&dl=1 -> ${MY_P}" + +LICENSE="seafile" +SLOT="0" +KEYWORDS="amd64" +IUSE="fuse mysql psd sqlite" + +# https://manual.seafile.com/upgrade/upgrade_notes_for_9.0.x/ +# https://manual.seafile.com/changelog/changelog-for-seafile-professional-server/ + +RDEPEND="${PYTHON_DEPS} + >=app-misc/elasticsearch-7.16.2 + $(python_gen_cond_dep ' + dev-python/future[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pylibmc[${PYTHON_USEDEP}] + dev-python/django-simple-captcha[${PYTHON_USEDEP}] + + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/sqlalchemy[sqlite?,${PYTHON_USEDEP}] + psd? ( dev-python/psd-tools ) + dev-python/django-pylibmc[${PYTHON_USEDEP}] + dev-python/ldap3[${PYTHON_USEDEP}] + + dev-python/lxml[${PYTHON_USEDEP}] + + dev-python/cffi + dev-python/requests + + ') + fuse? ( sys-fs/fuse:0 ) + mysql? ( $(python_gen_cond_dep ' dev-python/mysqlclient[${PYTHON_USEDEP}]') ) + sys-libs/libselinux + dev-libs/nss + virtual/jre:*" + +DEPEND="${RDEPEND}" + +src_prepare() { + #match with cffi in RDEPEND section +# sed -e "s|1.14.0|${CFFI_PV}|" -i seahub/thirdpart/cffi/__init__.py || die "sed failed" + rm -r seahub/thirdpart/{cffi*,requests*} + eapply_user +} + +pkg_postinst() { + einfo "follow the official documentation:" + einfo "https://manual.seafile.com/deploy_pro/download_and_setup_seafile_professional_server/" +}