1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

- Update to 1.9.2

PR:		154535
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Approved by:	maintainer
This commit is contained in:
Martin Wilke 2011-02-19 12:47:37 +00:00
parent a86c4c9aef
commit 7afe451d00
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269347
3 changed files with 31 additions and 15 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= dnspython
PORTVERSION= 1.8.0
PORTVERSION= 1.9.2
CATEGORIES= dns python
MASTER_SITES= http://www.dnspython.org/kits/${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -17,32 +17,45 @@ COMMENT= A DNS toolkit for Python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
OPTIONS= PYCRYPTO "Enable pycrypto (part of dnssec needs it)" off
PORTDOCS= \
ChangeLog \
README \
TODO
EXAMPLE_FILES= \
ddns.py \
e164.py \
mx.py \
name.py \
reverse.py \
xfr.py
reverse_name.py \
xfr.py \
zonediff.py
post-install:
# docs
.ifndef(NOPORTDOCS)
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
# examples
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
.for file in ${EXAMPLE_FILES}
@${INSTALL_DATA} ${WRKSRC}/examples/${file} ${EXAMPLESDIR}
.endfor
.endif
# permission safeness
@${CHMOD} -R ${SHAREMODE} ${PYTHONPREFIX_SITELIBDIR}/dns/*
@${CHMOD} -R a+X ${PYTHONPREFIX_SITELIBDIR}/dns/*
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if defined(WITH_PYCRYPTO)
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/Crypto/__init__.py:${PORTSDIR}/security/py-pycrypto
.endif
.include <bsd.port.post.mk>

View File

@ -1,3 +1,2 @@
MD5 (dnspython-1.8.0.tar.gz) = 77f379e0cb21e11470a35359e6211c53
SHA256 (dnspython-1.8.0.tar.gz) = 8e9fd938bb695e0c5332f095b07a5aa8e4597cd8cc24ee9be5a15b463d7437ba
SIZE (dnspython-1.8.0.tar.gz) = 108588
SHA256 (dnspython-1.9.2.tar.gz) = 6a7dfbe1a34880b45b94988cb48ba12667d9a635fd9df061ea0a24d6f8b5f7e0
SIZE (dnspython-1.9.2.tar.gz) = 122408

View File

@ -19,6 +19,9 @@
%%PYTHON_SITELIBDIR%%/dns/flags.py
%%PYTHON_SITELIBDIR%%/dns/flags.pyc
%%PYTHON_SITELIBDIR%%/dns/flags.pyo
%%PYTHON_SITELIBDIR%%/dns/hash.py
%%PYTHON_SITELIBDIR%%/dns/hash.pyc
%%PYTHON_SITELIBDIR%%/dns/hash.pyo
%%PYTHON_SITELIBDIR%%/dns/inet.py
%%PYTHON_SITELIBDIR%%/dns/inet.pyc
%%PYTHON_SITELIBDIR%%/dns/inet.pyo
@ -247,15 +250,16 @@
%%PYTHON_SITELIBDIR%%/dns/zone.py
%%PYTHON_SITELIBDIR%%/dns/zone.pyc
%%PYTHON_SITELIBDIR%%/dns/zone.pyo
%%EXAMPLESDIR%%/ddns.py
%%EXAMPLESDIR%%/mx.py
%%EXAMPLESDIR%%/name.py
%%EXAMPLESDIR%%/reverse.py
%%EXAMPLESDIR%%/xfr.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ddns.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/e164.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/name.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/reverse.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/reverse_name.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xfr.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zonediff.py
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/dns/rdtypes/IN
@dirrm %%PYTHON_SITELIBDIR%%/dns/rdtypes/ANY
@dirrm %%PYTHON_SITELIBDIR%%/dns/rdtypes
@dirrm %%PYTHON_SITELIBDIR%%/dns
@dirrm %%EXAMPLESDIR%%
@dirrmtry %%PYTHON_SITELIBDIR%%
@dirrmtry %%PYTHON_LIBDIR%%