View | Details | Raw Unified | Return to bug 193315 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-15 / +21 lines)
Lines 1-30 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
PORTNAME=		seafobj
2
PORTNAME=	seafobj
3
PORTVERSION=	3.0.4
3
PORTVERSION=	3.0.4
4
CATEGORIES=		www python
4
CATEGORIES=	www python
5
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
MAINTAINER=		yan_jingfeng@yahoo.com
6
MAINTAINER=	yan_jingfeng@yahoo.com
7
COMMENT=		python library for accessing seafile data model
7
COMMENT=	Python library for accessing seafile data model
8
#LICENSE=
8
#LICENSE=
9
#LICENSE_FILE=
10
USE_GITHUB=		yes
9
USE_GITHUB=	yes
11
GH_ACCOUNT=		haiwen
10
GH_ACCOUNT=	haiwen
12
GH_PROJECT=		seafobj
11
GH_PROJECT=	${PORTNAME}
13
GH_TAGNAME=		${GH_COMMIT}
12
GH_TAGNAME=	${GH_COMMIT}
14
GH_COMMIT=		58a4346
13
GH_COMMIT=	58a4346
15
NO_BUILD=		yes
14
NO_BUILD=	yes
16
USE_PYTHON=		2
15
USES=		python:2
17
do-install:
16
do-install:
18
	@${ECHO_MSG} "install script ... ${STAGEDIR}${PYTHON_SITELIBDIR} "
17
	@${ECHO_MSG} "install script ... ${STAGEDIR}${PYTHON_SITELIBDIR} "
19
	@${MKDIR} -p ${STAGEDIR}${PYTHON_SITELIBDIR}/seafobj
18
	@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/seafobj
20
	@cd ${WRKSRC}/seafobj && \
19
	@cd ${WRKSRC}/seafobj && \
21
			${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/seafobj
20
			${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/seafobj
21
post-install:
22
	(cd ${STAGEDIR}${PREFIX} && \
23
		${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
24
			-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} && \
25
		${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
26
			-d ${PYTHONPREFIX_SITELIBDIR} -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})
27
22
.include <bsd.port.mk>
28
.include <bsd.port.mk>
(-)pkg-plist (+26 lines)
Lines 1-16 Link Here
1
%%PYTHON_SITELIBDIR%%/seafobj/__init__.py
1
%%PYTHON_SITELIBDIR%%/seafobj/__init__.py
2
%%PYTHON_SITELIBDIR%%/seafobj/__init__.pyc
3
%%PYTHON_SITELIBDIR%%/seafobj/__init__.pyo
2
%%PYTHON_SITELIBDIR%%/seafobj/backends/__init__.py
4
%%PYTHON_SITELIBDIR%%/seafobj/backends/__init__.py
5
%%PYTHON_SITELIBDIR%%/seafobj/backends/__init__.pyc
6
%%PYTHON_SITELIBDIR%%/seafobj/backends/__init__.pyo
3
%%PYTHON_SITELIBDIR%%/seafobj/backends/base.py
7
%%PYTHON_SITELIBDIR%%/seafobj/backends/base.py
8
%%PYTHON_SITELIBDIR%%/seafobj/backends/base.pyc
9
%%PYTHON_SITELIBDIR%%/seafobj/backends/base.pyo
4
%%PYTHON_SITELIBDIR%%/seafobj/backends/ceph.py
10
%%PYTHON_SITELIBDIR%%/seafobj/backends/ceph.py
11
%%PYTHON_SITELIBDIR%%/seafobj/backends/ceph.pyc
12
%%PYTHON_SITELIBDIR%%/seafobj/backends/ceph.pyo
5
%%PYTHON_SITELIBDIR%%/seafobj/backends/filesystem.py
13
%%PYTHON_SITELIBDIR%%/seafobj/backends/filesystem.py
14
%%PYTHON_SITELIBDIR%%/seafobj/backends/filesystem.pyc
15
%%PYTHON_SITELIBDIR%%/seafobj/backends/filesystem.pyo
6
%%PYTHON_SITELIBDIR%%/seafobj/backends/s3.py
16
%%PYTHON_SITELIBDIR%%/seafobj/backends/s3.py
17
%%PYTHON_SITELIBDIR%%/seafobj/backends/s3.pyc
18
%%PYTHON_SITELIBDIR%%/seafobj/backends/s3.pyo
7
%%PYTHON_SITELIBDIR%%/seafobj/blocks.py
19
%%PYTHON_SITELIBDIR%%/seafobj/blocks.py
20
%%PYTHON_SITELIBDIR%%/seafobj/blocks.pyc
21
%%PYTHON_SITELIBDIR%%/seafobj/blocks.pyo
8
%%PYTHON_SITELIBDIR%%/seafobj/commits.py
22
%%PYTHON_SITELIBDIR%%/seafobj/commits.py
23
%%PYTHON_SITELIBDIR%%/seafobj/commits.pyc
24
%%PYTHON_SITELIBDIR%%/seafobj/commits.pyo
9
%%PYTHON_SITELIBDIR%%/seafobj/exceptions.py
25
%%PYTHON_SITELIBDIR%%/seafobj/exceptions.py
26
%%PYTHON_SITELIBDIR%%/seafobj/exceptions.pyc
27
%%PYTHON_SITELIBDIR%%/seafobj/exceptions.pyo
10
%%PYTHON_SITELIBDIR%%/seafobj/fs.py
28
%%PYTHON_SITELIBDIR%%/seafobj/fs.py
29
%%PYTHON_SITELIBDIR%%/seafobj/fs.pyc
30
%%PYTHON_SITELIBDIR%%/seafobj/fs.pyo
11
%%PYTHON_SITELIBDIR%%/seafobj/objstore_factory.py
31
%%PYTHON_SITELIBDIR%%/seafobj/objstore_factory.py
32
%%PYTHON_SITELIBDIR%%/seafobj/objstore_factory.pyc
33
%%PYTHON_SITELIBDIR%%/seafobj/objstore_factory.pyo
12
%%PYTHON_SITELIBDIR%%/seafobj/utils/__init__.py
34
%%PYTHON_SITELIBDIR%%/seafobj/utils/__init__.py
35
%%PYTHON_SITELIBDIR%%/seafobj/utils/__init__.pyc
36
%%PYTHON_SITELIBDIR%%/seafobj/utils/__init__.pyo
13
%%PYTHON_SITELIBDIR%%/seafobj/utils/ceph_utils.py
37
%%PYTHON_SITELIBDIR%%/seafobj/utils/ceph_utils.py
38
%%PYTHON_SITELIBDIR%%/seafobj/utils/ceph_utils.pyc
39
%%PYTHON_SITELIBDIR%%/seafobj/utils/ceph_utils.pyo
14
@dirrmtry %%PYTHON_SITELIBDIR%%/seafobj/backends
40
@dirrmtry %%PYTHON_SITELIBDIR%%/seafobj/backends
15
@dirrmtry %%PYTHON_SITELIBDIR%%/seafobj/utils
41
@dirrmtry %%PYTHON_SITELIBDIR%%/seafobj/utils
16
@dirrmtry %%PYTHON_SITELIBDIR%%/seafobj
42
@dirrmtry %%PYTHON_SITELIBDIR%%/seafobj

Return to bug 193315