New port: py-cares, python interface for c-ares async resolver.

This commit is contained in:
Dmitry Sivachenko 2016-05-31 12:03:06 +00:00
parent 79f1b3ebad
commit 162e1461c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=416193
4 changed files with 30 additions and 0 deletions

View File

@ -172,6 +172,7 @@
SUBDIR += py-namebench
SUBDIR += py-publicsuffix
SUBDIR += py-py3dns
SUBDIR += py-pycares
SUBDIR += py-pydnstable
SUBDIR += py-pywdns
SUBDIR += py-tldextract

21
dns/py-pycares/Makefile Normal file
View File

@ -0,0 +1,21 @@
# Created by: Dmitry Sivachenko <mitya@yandex-team.ru>
# $FreeBSD$
PORTNAME= pycares
PORTVERSION= 2.0.1
CATEGORIES= dns python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= demon@FreeBSD.org
COMMENT= Python interface to c-ares
LICENSE= MIT
USES= python
USE_PYTHON= distutils autoplist
PYDISTUTILS_BUILD_TARGET= build_ext
PYDISTUTILS_BUILDARGS= --inplace --force
.include <bsd.port.mk>

3
dns/py-pycares/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1464695332
SHA256 (pycares-2.0.1.tar.gz) = 3a684c09b753e143d86190b57d71bd82d24492062d11d6ab6acc21349d2da34d
SIZE (pycares-2.0.1.tar.gz) = 225788

5
dns/py-pycares/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
pycares is a Python module which provides an interface to c-ares.
c-ares is a C library that performs DNS requests and name
resolutions asynchronously.
WWW: https://pypi.python.org/pypi/pycares