aboutsummaryrefslogtreecommitdiffstats
path: root/dns/py-py3dns/Makefile
blob: e1f003e05067a5e7651026c6a30a2f2448f4fb91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: Mark Linimon <linimon@lonesome.com>
# $FreeBSD$

PORTNAME=   py3dns
PORTVERSION=    3.1.0
CATEGORIES= dns python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    DNS (Domain Name Service) library for Python 3

LICENSE=    CNRI
LICENSE_NAME=   CNRI LICENSE AGREEMENT
LICENSE_FILE=   ${WRKSRC}/LICENSE
LICENSE_PERMS=  dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

NO_ARCH=    yes
USE_PYTHON= autoplist distutils
USES=       python

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 3300
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddress>=0:${PORTSDIR}/net/py-ipaddress
RUN_DEPENDS+=   ${PYTHON_PKGNAMEPREFIX}ipaddress>=0:${PORTSDIR}/net/py-ipaddress
.endif

.include <bsd.port.post.mk>