mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Update to version 0.9.4 [1]
- Remove OPTIONS_DEFAULT, DOCS EXAMPLES are on by default - Remove optional installation of files, staging takes care of that PR: ports/184563 [1] Submitted by: maintainer
This commit is contained in:
parent
1a221af25b
commit
42058a78a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335926
@ -2,9 +2,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= dulwich
|
||||
PORTVERSION= 0.9.1
|
||||
PORTVERSION= 0.9.4
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= http://www.samba.org/~jelmer/${PORTNAME}/
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= marco.broeder@gmx.eu
|
||||
@ -15,16 +15,13 @@ LICENSE_COMB= dual
|
||||
|
||||
PORTDOCS= NEWS README introduction.txt object-store.txt protocol.txt \
|
||||
remote.txt repo.txt tag.txt
|
||||
PORTEXAMPLES= clone.py diff.py
|
||||
PORTEXAMPLES= clone.py config.py diff.py
|
||||
|
||||
USE_PYTHON= 2
|
||||
USE_PYDISTUTILS=yes
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
OPTIONS_DEFAULT=DOCS EXAMPLES
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|PYTHON = python|PYTHON = ${PYTHON_CMD}|g' \
|
||||
@ -33,17 +30,12 @@ post-patch:
|
||||
${WRKSRC}/setup.py ${WRKSRC}/examples/*.py
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${CP} ${WRKSRC}/docs/*.txt ${WRKSRC}/docs/tutorial/*.txt ${WRKSRC}/
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/)
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
${CP} ${WRKSRC}/examples/*.py ${WRKSRC}/
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_SCRIPT} ${PORTEXAMPLES} \
|
||||
${STAGEDIR}${EXAMPLESDIR}/)
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (dulwich-0.9.1.tar.gz) = 3396b821e6119b33ab0d6554f193d3d51e1debf5bcd7206ac155b808f426a1e8
|
||||
SIZE (dulwich-0.9.1.tar.gz) = 223606
|
||||
SHA256 (dulwich-0.9.4.tar.gz) = 1cd555533d9a5cc319f5c68e21e31be190104ee1be5b5d3899a8a522e924b3fc
|
||||
SIZE (dulwich-0.9.4.tar.gz) = 235283
|
||||
|
Loading…
Reference in New Issue
Block a user