diff options
author | adam <adam@pkgsrc.org> | 2017-07-09 06:53:06 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-07-09 06:53:06 +0000 |
commit | aa05c128a2914372c28e55ff47fd05d915aa434a (patch) | |
tree | b78118526c8d2878f0eccb812052c2cdcbe0b52d /net | |
parent | 9397fa261981ba26a8225cbe8c116ecd9da35c54 (diff) | |
download | pkgsrc-aa05c128a2914372c28e55ff47fd05d915aa434a.tar.gz |
pycares is a Python module which provides an interface to c-ares. c-ares is a
C library that performs DNS requests and name resolves asynchronously.
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 3 | ||||
-rw-r--r-- | net/py-cares/DESCR | 2 | ||||
-rw-r--r-- | net/py-cares/Makefile | 19 | ||||
-rw-r--r-- | net/py-cares/PLIST | 25 | ||||
-rw-r--r-- | net/py-cares/distinfo | 6 |
5 files changed, 54 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile index d4c8d6d7d05..21443112100 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1166 2017/07/07 04:03:06 adam Exp $ +# $NetBSD: Makefile,v 1.1167 2017/07/09 06:53:06 adam Exp $ # COMMENT= Networking tools @@ -623,6 +623,7 @@ SUBDIR+= py-boto SUBDIR+= py-boto3 SUBDIR+= py-botocore SUBDIR+= py-caldav +SUBDIR+= py-cares SUBDIR+= py-celery SUBDIR+= py-cymruwhois SUBDIR+= py-dns diff --git a/net/py-cares/DESCR b/net/py-cares/DESCR new file mode 100644 index 00000000000..6f645ec1cbb --- /dev/null +++ b/net/py-cares/DESCR @@ -0,0 +1,2 @@ +pycares is a Python module which provides an interface to c-ares. c-ares is a +C library that performs DNS requests and name resolves asynchronously. diff --git a/net/py-cares/Makefile b/net/py-cares/Makefile new file mode 100644 index 00000000000..f03ca9a47bb --- /dev/null +++ b/net/py-cares/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1 2017/07/09 06:53:06 adam Exp $ + +DISTNAME= pycares-2.2.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} +CATEGORIES= net python +MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycares/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://github.com/saghul/pycares +COMMENT= Python interface for c-ares +LICENSE= mit + +DEPENDS+= ${PYPKGPREFIX}-cffi>=1.5.0:../../devel/py-cffi + +USE_LANGUAGES= c +MAKE_ENV+= PYCARES_CFFI=1 + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/py-cares/PLIST b/net/py-cares/PLIST new file mode 100644 index 00000000000..7431007eef4 --- /dev/null +++ b/net/py-cares/PLIST @@ -0,0 +1,25 @@ +@comment $NetBSD: PLIST,v 1.1 2017/07/09 06:53:06 adam Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/_pycares_cffi.so +${PYSITELIB}/pycares/__init__.py +${PYSITELIB}/pycares/__init__.pyc +${PYSITELIB}/pycares/__init__.pyo +${PYSITELIB}/pycares/_cfficore/__init__.py +${PYSITELIB}/pycares/_cfficore/__init__.pyc +${PYSITELIB}/pycares/_cfficore/__init__.pyo +${PYSITELIB}/pycares/_cfficore/errno.py +${PYSITELIB}/pycares/_cfficore/errno.pyc +${PYSITELIB}/pycares/_cfficore/errno.pyo +${PYSITELIB}/pycares/_cfficore/pycares_build.py +${PYSITELIB}/pycares/_cfficore/pycares_build.pyc +${PYSITELIB}/pycares/_cfficore/pycares_build.pyo +${PYSITELIB}/pycares/_version.py +${PYSITELIB}/pycares/_version.pyc +${PYSITELIB}/pycares/_version.pyo +${PYSITELIB}/pycares/errno.py +${PYSITELIB}/pycares/errno.pyc +${PYSITELIB}/pycares/errno.pyo diff --git a/net/py-cares/distinfo b/net/py-cares/distinfo new file mode 100644 index 00000000000..0b6e195a6bd --- /dev/null +++ b/net/py-cares/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/07/09 06:53:06 adam Exp $ + +SHA1 (pycares-2.2.0.tar.gz) = 500f94407688c7b0b476b938e6179648e8057b64 +RMD160 (pycares-2.2.0.tar.gz) = 75d39c03bf8d5ee188c088eef2057419c3af239a +SHA512 (pycares-2.2.0.tar.gz) = 3254285ed4c10563d835a356d2b1063b26291e140b3d8df88c829fe683da5d161575ed62c88cae16f3091de8e09dd68f0fbebd536ea51ea3ebd5d344341de816 +Size (pycares-2.2.0.tar.gz) = 227602 bytes |