freebsd-ports/www/py-seafobj/Makefile
Richard Gallamore dae6c0bb07 Updated Seafile/Seahub to 8.0.3
Changed to -server branch, some errors were creeping over
from the pro version not being compatible with the community
edition. Previously this was never an issue as you must manually
upgrade to the pro version for the new features.

Disabled seafile-controller config checking prior to startup.
The check only ran on ccnet previously and this was changed to
seafile which never implemented the function.
https://forum.seafile.com/t/seafile-controller-t-functionality-broken-on-8-x/13738

This version adds compatible with Django 2.2, this will require
coordination with multiple port devs to migrate this over
properly.

Changes: https://manual.seafile.com/changelog/server-changelog/

PR:		252715
2021-02-01 02:26:28 +00:00

39 lines
949 B
Makefile

# $FreeBSD$
PORTNAME= seafobj
DISTVERSIONPREFIX= v
DISTVERSION= ${SEAHUB_VER}
DISTVERSIONSUFFIX= -server
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ultima@FreeBSD.org
COMMENT= Python library for accessing seafile data model
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= python:3.6+ shebangfix
USE_GITHUB= yes
GH_ACCOUNT= haiwen
USE_PYTHON= flavors
SHEBANG_FILES= *.sh *.py
NO_ARCH= yes
NO_BUILD= yes
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITEPACKAGEDIR}/seafobj
(cd ${WRKSRC}/seafobj && \
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
-d ${WRKSRC}/seafobj \
-f ${WRKSRC}/seafobj && \
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
-d ${WRKSRC}/seafobj \
-f ${WRKSRC}/seafobj)
(cd ${WRKSRC}/seafobj && \
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SITEPACKAGEDIR}/seafobj)
.include "${.CURDIR}/../../net-mgmt/seafile-server/Makefile.include"
.include <bsd.port.mk>