1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Add net/py-whois

Python package for retrieving WHOIS information of domains

Features
 - Python wrapper for Linux "whois" command
 - simple interface to access parsed WHOIS data for a given domain
 - able to extract data for all the popular TLDs (com, org, net, biz, info, pl,
   jp, uk, nz, ...)
 - query a WHOIS server directly instead of going through an intermediate web
   service like many others do
 - works with Python 2.4+ and Python 3.x
 - all dates as datetime objects
 - possibility to cache results

WWW: https://pypi.org/project/whois/

PR:		250810
Submitted by:	Gabriel Dutra <0xdutra@gmail.com>
This commit is contained in:
Danilo G. Baio 2020-11-03 00:40:58 +00:00
parent 7662f3e939
commit 06788e95f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553936
4 changed files with 39 additions and 0 deletions

View File

@ -1118,6 +1118,7 @@
SUBDIR += py-uritools
SUBDIR += py-urlextract
SUBDIR += py-urllib3
SUBDIR += py-whois
SUBDIR += py-wmi-query
SUBDIR += py-wsdd
SUBDIR += py-wsproto

21
net/py-whois/Makefile Normal file
View File

@ -0,0 +1,21 @@
# Created by: Gabriel Dutra <0xdutra@gmail.com>
# $FreeBSD$
PORTNAME= whois
PORTVERSION= 0.9.7
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= 0xdutra@gmail.com
COMMENT= Python package for retrieving WHOIS information of domains
LICENSE= WTFPL
LICENSE_FILE= ${WRKSRC}/license
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

3
net/py-whois/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1604328773
SHA256 (whois-0.9.7.tar.gz) = 1e0348c6cc763e1a7c87d32ce877e2531096928e477fdb2e100aa3783e2b4279
SIZE (whois-0.9.7.tar.gz) = 8207

14
net/py-whois/pkg-descr Normal file
View File

@ -0,0 +1,14 @@
A Python package for retrieving WHOIS information of domains.
Features
- Python wrapper for Linux "whois" command
- simple interface to access parsed WHOIS data for a given domain
- able to extract data for all the popular TLDs (com, org, net, biz, info, pl,
jp, uk, nz, ...)
- query a WHOIS server directly instead of going through an intermediate web
service like many others do
- works with Python 2.4+ and Python 3.x
- all dates as datetime objects
- possibility to cache results
WWW: https://pypi.org/project/whois/