From 7f2d71c080f020612fddfa60808e79110c85049f Mon Sep 17 00:00:00 2001 From: Michael Gmelin Date: Mon, 12 Feb 2024 14:39:50 +0100 Subject: [PATCH] net/py-python-ipware: New port Python package to retrieve the IP address of a user --- net/Makefile | 1 + net/py-python-ipware/Makefile | 22 ++++++++++++++++++++++ net/py-python-ipware/distinfo | 3 +++ net/py-python-ipware/pkg-descr | 3 +++ 4 files changed, 29 insertions(+) create mode 100644 net/py-python-ipware/Makefile create mode 100644 net/py-python-ipware/distinfo create mode 100644 net/py-python-ipware/pkg-descr diff --git a/net/Makefile b/net/Makefile index 32cb5c55fbd00..0284875ef2a80 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 0000000000000..afdfa3d900ae4 --- /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 0000000000000..75444b1f4cb2c --- /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 0000000000000..1d010cbffb6ee --- /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.