diff --git a/net/Makefile b/net/Makefile index 32cb5c55fbd0..0284875ef2a8 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1117,6 +1117,7 @@ SUBDIR += py-python-designateclient SUBDIR += py-python-glanceclient SUBDIR += py-python-heatclient + SUBDIR += py-python-ipware SUBDIR += py-python-keystoneclient SUBDIR += py-python-ldap SUBDIR += py-python-neutronclient diff --git a/net/py-python-ipware/Makefile b/net/py-python-ipware/Makefile new file mode 100644 index 000000000000..afdfa3d900ae --- /dev/null +++ b/net/py-python-ipware/Makefile @@ -0,0 +1,22 @@ +PORTNAME= python-ipware +PORTVERSION= 2.0.1 +CATEGORIES= net python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= grembo@FreeBSD.org +COMMENT= Python package to retrieve the IP address of a user +WWW= https://github.com/un33k/python-ipware + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include diff --git a/net/py-python-ipware/distinfo b/net/py-python-ipware/distinfo new file mode 100644 index 000000000000..75444b1f4cb2 --- /dev/null +++ b/net/py-python-ipware/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1707594536 +SHA256 (python-ipware-2.0.1.tar.gz) = 9ba4805152ebb85ad5b53797185cd1ce6231e1db60155834f326c8cd61e8af34 +SIZE (python-ipware-2.0.1.tar.gz) = 15367 diff --git a/net/py-python-ipware/pkg-descr b/net/py-python-ipware/pkg-descr new file mode 100644 index 000000000000..1d010cbffb6e --- /dev/null +++ b/net/py-python-ipware/pkg-descr @@ -0,0 +1,3 @@ +A python package for server applications to retrieve client's IP address. + +Best attempt to get client's IP address while keeping it DRY.