[Midnightbsd-cvs] mports [18735] trunk/dns/py-dnspython: add py-dnspython
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat May 2 15:50:43 EDT 2015
Revision: 18735
http://svnweb.midnightbsd.org/mports/?rev=18735
Author: laffer1
Date: 2015-05-02 15:50:42 -0400 (Sat, 02 May 2015)
Log Message:
-----------
add py-dnspython
Added Paths:
-----------
trunk/dns/py-dnspython/
trunk/dns/py-dnspython/Makefile
trunk/dns/py-dnspython/distinfo
trunk/dns/py-dnspython/pkg-descr
Added: trunk/dns/py-dnspython/Makefile
===================================================================
--- trunk/dns/py-dnspython/Makefile (rev 0)
+++ trunk/dns/py-dnspython/Makefile 2015-05-02 19:50:42 UTC (rev 18735)
@@ -0,0 +1,52 @@
+# $MidnightBSD$
+
+PORTNAME= dnspython
+PORTVERSION= 1.12.0
+CATEGORIES= dns python
+MASTER_SITES= http://www.dnspython.org/kits${PORTVERSIONSUFFIX}/${PORTVERSION}/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}${PORTVERSIONSUFFIX}-${PORTVERSION}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= DNS toolkit for Python
+
+LICENSE= mit
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= autoplist
+USE_PYDISTUTILS=yes
+
+OPTIONS_DEFINE= DOCS EXAMPLES PYCRYPTO
+PYCRYPTO_DESC= Enable pycrypto (part of dnssec needs it)
+
+PORTDOCS= ChangeLog README
+DOCSDIR= ${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
+
+PORTEXAMPLES= ddns.py e164.py mx.py name.py reverse.py reverse_name.py \
+ xfr.py zonediff.py
+EXAMPLESDIR= ${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
+
+PYCRYPTO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_MAJOR_VER} < 3
+PORTVERSIONSUFFIX=
+.else
+PORTVERSIONSUFFIX= 3
+EXAMPLESDIR:= ${EXAMPLESDIR}3
+.endif
+
+post-install:
+# docs
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+# examples
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${EXAMPLESDIR}
+# permission safeness
+ @${FIND} ${FAKE_DESTDIR}${PYTHONPREFIX_SITELIBDIR}/dns -type f -exec ${CHMOD} ${SHAREMODE} {} \;
+ @${FIND} ${FAKE_DESTDIR}${PYTHONPREFIX_SITELIBDIR}/dns -type d -exec ${CHMOD} 755 {} \;
+
+.include <bsd.port.post.mk>
Property changes on: trunk/dns/py-dnspython/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/dns/py-dnspython/distinfo
===================================================================
--- trunk/dns/py-dnspython/distinfo (rev 0)
+++ trunk/dns/py-dnspython/distinfo 2015-05-02 19:50:42 UTC (rev 18735)
@@ -0,0 +1,4 @@
+SHA256 (dnspython-1.12.0.tar.gz) = 03fb82af866001c4afa58c48027bcc4b80bbf0a7f27e1d861cf06393eea4724f
+SIZE (dnspython-1.12.0.tar.gz) = 135164
+SHA256 (dnspython3-1.12.0.tar.gz) = 68affac839c7283661fd9f1b4baf74911a2292a627ee2dd1c3c98186b5c812f1
+SIZE (dnspython3-1.12.0.tar.gz) = 132470
Property changes on: trunk/dns/py-dnspython/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/dns/py-dnspython/pkg-descr
===================================================================
--- trunk/dns/py-dnspython/pkg-descr (rev 0)
+++ trunk/dns/py-dnspython/pkg-descr 2015-05-02 19:50:42 UTC (rev 18735)
@@ -0,0 +1,10 @@
+dnspython is a DNS toolkit for Python. It supports almost all record
+types. It can be used for queries, zone transfers, and dynamic
+updates. It supports TSIG authenticated messages and EDNS0.
+
+dnspython provides both high and low level access to DNS. The high
+level classes perform queries for data of a given name, type, and
+class, and return an answer set. The low level classes allow direct
+manipulation of DNS zones, messages, names, and records.
+
+WWW: http://www.dnspython.org/
Property changes on: trunk/dns/py-dnspython/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list