Date: Mon, 6 Mar 2017 18:30:11 +0000 (UTC) From: Nikolai Lifanov <lifanov@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435563 - head/devel/libsearpc Message-ID: <201703061830.v26IUBc7094555@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lifanov Date: Mon Mar 6 18:30:10 2017 New Revision: 435563 URL: https://svnweb.freebsd.org/changeset/ports/435563 Log: devel/libsearpc - move python to PYTHONPATH This patch is to move libsearpc to PYTHONPATH instead of residing in the seafile directory. This was overlooked when moving the client seafile ports which require it for the cli. PR: 217539 Submitted by: ultima1252@gmail.com Modified: head/devel/libsearpc/Makefile head/devel/libsearpc/pkg-plist Modified: head/devel/libsearpc/Makefile ============================================================================== --- head/devel/libsearpc/Makefile Mon Mar 6 18:07:21 2017 (r435562) +++ head/devel/libsearpc/Makefile Mon Mar 6 18:30:10 2017 (r435563) @@ -2,6 +2,7 @@ PORTNAME= libsearpc PORTVERSION= 3.1.0 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= ultima1252@gmail.com @@ -23,22 +24,4 @@ USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -HAIWENDIR= www/haiwen -SEAFILE_SERVER= ${HAIWENDIR}/seafile-server -SEALIB= ${SEAFILE_SERVER}/seafile/lib - -USERS= seafile -GROUPS= ${USERS} - -PLIST_SUB= USERS=${USERS} \ - GROUPS=${GROUPS} \ - SEAFILE_SERVER=${SEAFILE_SERVER} \ - HAIWENDIR=${HAIWENDIR} - -post-install: - @${MKDIR} ${STAGEDIR}${SEALIB} - (cd ${STAGEDIR}${PREFIX}/lib && \ - ${COPYTREE_SHARE} ${PYTHON_VERSION} ${STAGEDIR}${PREFIX}/${SEALIB}) - ${RM} -r ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION} - .include <bsd.port.mk> Modified: head/devel/libsearpc/pkg-plist ============================================================================== --- head/devel/libsearpc/pkg-plist Mon Mar 6 18:07:21 2017 (r435562) +++ head/devel/libsearpc/pkg-plist Mon Mar 6 18:30:10 2017 (r435563) @@ -9,16 +9,15 @@ lib/libsearpc.so lib/libsearpc.so.1 lib/libsearpc.so.1.0.2 libdata/pkgconfig/libsearpc.pc -%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/__init__.py -%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/__init__.pyc -%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/__init__.pyo -%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/client.py -%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/client.pyc -%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/client.pyo -%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/common.py -%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/common.pyc -%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/common.pyo -%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/server.py -%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/server.pyc -%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/pysearpc/server.pyo -@dir(%%USERS%%,%%GROUPS%%,755) %%HAIWENDIR%% +%%PYTHON_SITELIBDIR%%/pysearpc/__init__.py +%%PYTHON_SITELIBDIR%%/pysearpc/__init__.pyc +%%PYTHON_SITELIBDIR%%/pysearpc/__init__.pyo +%%PYTHON_SITELIBDIR%%/pysearpc/client.py +%%PYTHON_SITELIBDIR%%/pysearpc/client.pyc +%%PYTHON_SITELIBDIR%%/pysearpc/client.pyo +%%PYTHON_SITELIBDIR%%/pysearpc/common.py +%%PYTHON_SITELIBDIR%%/pysearpc/common.pyc +%%PYTHON_SITELIBDIR%%/pysearpc/common.pyo +%%PYTHON_SITELIBDIR%%/pysearpc/server.py +%%PYTHON_SITELIBDIR%%/pysearpc/server.pyc +%%PYTHON_SITELIBDIR%%/pysearpc/server.pyo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703061830.v26IUBc7094555>