aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-user-agents/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-user-agents/Makefile')
-rw-r--r--www/py-user-agents/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/www/py-user-agents/Makefile b/www/py-user-agents/Makefile
new file mode 100644
index 0000000..6b6f588
--- /dev/null
+++ b/www/py-user-agents/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= user-agents
+PORTVERSION= 2.2.0
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jan@jantuomi.fi
+COMMENT= Library to identify devices by parsing user agent strings
+WWW= https://github.com/selwin/python-user-agents
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ua-parser>=0.10.0:www/py-ua-parser@${PY_FLAVOR}
+
+USES= python:3.11+
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>