- update to 1.1.8

- adopt staging
This commit is contained in:
Ruslan Makhmatkhanov 2013-12-22 19:36:00 +00:00
parent 0cad9b1ff8
commit a4d78ce667
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337211
3 changed files with 16 additions and 64 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= smb
PORTVERSION= 1.1.6
PORTVERSION= 1.1.8
CATEGORIES= net python
MASTER_SITES= http://miketeo.net/files/Projects/py${PORTNAME}/ \
CHEESESHOP
@ -14,23 +14,23 @@ COMMENT= SMB/CIFS library written in Python
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1>=0:${PORTSDIR}/devel/py-asn1
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= py${PORTNAME}
OPTIONS_DEFINE= DOCS
DOCSDIR= ${PREFIX}/share/doc/py-smb
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}smb
PORTDOCS= *
NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} _modules/ ${DOCSDIR}/)
@(cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} _static/ ${DOCSDIR}/)
@(cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} api/ ${DOCSDIR}/)
@(cd ${WRKSRC}/docs/html/ && ${CP} *.html ${DOCSDIR}/)
@(cd ${WRKSRC}/docs/html/ && ${CP} *.js ${DOCSDIR}/)
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} _modules/ ${STAGEDIR}${DOCSDIR}/)
(cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} _static/ ${STAGEDIR}${DOCSDIR}/)
(cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} api/ ${STAGEDIR}${DOCSDIR}/)
(cd ${WRKSRC}/docs/html/ && ${CP} *.html ${STAGEDIR}${DOCSDIR}/)
(cd ${WRKSRC}/docs/html/ && ${CP} *.js ${STAGEDIR}${DOCSDIR}/)
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (pysmb-1.1.6.tar.gz) = 5a50a75c4f8efa1a7a42acfbc46f5e58e2f2c3fae954b2335bbffdc5c58c51b2
SIZE (pysmb-1.1.6.tar.gz) = 1470745
SHA256 (pysmb-1.1.8.tar.gz) = bd3a092ed54046ad3368e3ff85cf7f73fc3ece1e14a298a8b8971bbd48e4e2dd
SIZE (pysmb-1.1.8.tar.gz) = 1446677

View file

@ -1,48 +0,0 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
%%PORTDOCS%%%%DOCSDIR%%/_modules/index.html
%%PORTDOCS%%%%DOCSDIR%%/_modules/nmb/NetBIOS.html
%%PORTDOCS%%%%DOCSDIR%%/_modules/nmb/NetBIOSProtocol.html
%%PORTDOCS%%%%DOCSDIR%%/_modules/smb/SMBConnection.html
%%PORTDOCS%%%%DOCSDIR%%/_modules/smb/SMBProtocol.html
%%PORTDOCS%%%%DOCSDIR%%/_modules/smb/base.html
%%PORTDOCS%%%%DOCSDIR%%/_modules/smb/smb_structs.html
%%PORTDOCS%%%%DOCSDIR%%/_static/ajax-loader.gif
%%PORTDOCS%%%%DOCSDIR%%/_static/basic.css
%%PORTDOCS%%%%DOCSDIR%%/_static/comment-bright.png
%%PORTDOCS%%%%DOCSDIR%%/_static/comment-close.png
%%PORTDOCS%%%%DOCSDIR%%/_static/comment.png
%%PORTDOCS%%%%DOCSDIR%%/_static/contents.png
%%PORTDOCS%%%%DOCSDIR%%/_static/doctools.js
%%PORTDOCS%%%%DOCSDIR%%/_static/down-pressed.png
%%PORTDOCS%%%%DOCSDIR%%/_static/down.png
%%PORTDOCS%%%%DOCSDIR%%/_static/file.png
%%PORTDOCS%%%%DOCSDIR%%/_static/jquery.js
%%PORTDOCS%%%%DOCSDIR%%/_static/minus.png
%%PORTDOCS%%%%DOCSDIR%%/_static/navigation.png
%%PORTDOCS%%%%DOCSDIR%%/_static/plus.png
%%PORTDOCS%%%%DOCSDIR%%/_static/pygments.css
%%PORTDOCS%%%%DOCSDIR%%/_static/searchtools.js
%%PORTDOCS%%%%DOCSDIR%%/_static/sphinxdoc.css
%%PORTDOCS%%%%DOCSDIR%%/_static/underscore.js
%%PORTDOCS%%%%DOCSDIR%%/_static/up-pressed.png
%%PORTDOCS%%%%DOCSDIR%%/_static/up.png
%%PORTDOCS%%%%DOCSDIR%%/_static/websupport.js
%%PORTDOCS%%%%DOCSDIR%%/api/nmb_NBNSProtocol.html
%%PORTDOCS%%%%DOCSDIR%%/api/nmb_NetBIOS.html
%%PORTDOCS%%%%DOCSDIR%%/api/smb_SMBConnection.html
%%PORTDOCS%%%%DOCSDIR%%/api/smb_SMBHandler.html
%%PORTDOCS%%%%DOCSDIR%%/api/smb_SMBProtocolFactory.html
%%PORTDOCS%%%%DOCSDIR%%/api/smb_SharedDevice.html
%%PORTDOCS%%%%DOCSDIR%%/api/smb_SharedFile.html
%%PORTDOCS%%%%DOCSDIR%%/api/smb_exceptions.html
%%PORTDOCS%%%%DOCSDIR%%/extending.html
%%PORTDOCS%%%%DOCSDIR%%/genindex.html
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/search.html
%%PORTDOCS%%%%DOCSDIR%%/searchindex.js
%%PORTDOCS%%@dirrm %%DOCSDIR%%/api
%%PORTDOCS%%@dirrm %%DOCSDIR%%/_static
%%PORTDOCS%%@dirrm %%DOCSDIR%%/_modules/smb
%%PORTDOCS%%@dirrm %%DOCSDIR%%/_modules/nmb
%%PORTDOCS%%@dirrm %%DOCSDIR%%/_modules
%%PORTDOCS%%@dirrm %%DOCSDIR%%