diff --git a/www-apps/seafile-pro-server/Manifest b/www-apps/seafile-pro-server/Manifest index 4eff7f97a..2accb6da0 100644 --- a/www-apps/seafile-pro-server/Manifest +++ b/www-apps/seafile-pro-server/Manifest @@ -1,2 +1,3 @@ DIST seafile-pro-server_9.0.6_x86-64_CentOS.tar.gz 103066976 BLAKE2B 1425b9569e1c04915776e584c788d301844d9bfb4d8421aa231c3eff92b3ff2edde0906ac313e62942bdf9ba93ce475c18da687bfca594d5aac2ab83dddfc1a8 SHA512 e25c08c8edf8d1cfae4dd0e62749d6fb73d0cf01e6967b51adde14b6d5413219a064f873d1cceb17af8a32dd0f1983b36a01f928a535ac6a4d6a0e7ef7635732 DIST seafile-pro-server_9.0.7_x86-64_CentOS.tar.gz 96811511 BLAKE2B d768d8167340a99094e81125f830ed420e32dac81daf335a10f43888c956f5f0c430b223867881425fdca237628581b1ff97091ffe03a713bae37c43e740de51 SHA512 a78084d871ca238e91e1b248087e192ec3969d564c1fd8d82afa8d7d1ecf1d8f5607f5e96c2d23b59d8c1745a82ee970d4a51732929b389ea79f3b4c2b2b8648 +DIST seafile-pro-server_9.0.9_x86-64_CentOS.tar.gz 97112439 BLAKE2B 5565a0fcfb70a7f6c86e4f617859defb43a29c1412c2e50b82b621d7dc8424d99c8ebbb9e04e0f5306ca851a23b6181635f237fb4b71a7ad8b5d3962a58d59bb SHA512 2089807f8b04b0759c08636be0c3d1be836b31d4c1c210bd05d0da0dabf44a8930deee8f87d1dd246f4dc3d303abd41cc501eb61eff4bba63b9f94279ef2242b diff --git a/www-apps/seafile-pro-server/seafile-pro-server-9.0.9.ebuild b/www-apps/seafile-pro-server/seafile-pro-server-9.0.9.ebuild new file mode 100644 index 000000000..0f0173b08 --- /dev/null +++ b/www-apps/seafile-pro-server/seafile-pro-server-9.0.9.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_{9..10} ) +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_8.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/" +}