Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2014 14:15:21 +0000 (UTC)
From:      Dmitry Sivachenko <demon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341571 - in head/devel: . py-user_agents
Message-ID:  <201401281415.s0SEFLbG007226@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: demon
Date: Tue Jan 28 14:15:21 2014
New Revision: 341571
URL: http://svnweb.freebsd.org/changeset/ports/341571
QAT: https://qat.redports.org/buildarchive/r341571/

Log:
  New port: py-user_agents.
  
  user_agents is a Python library that provides an easy way to identify/detect
  devices like mobile phones, tablets and their capabilities by parsing (browser) user agent strings.  The goal is to reliably detect whether:
  
  -- User agent is a mobile, tablet or PC based device
  -- User agent has touch capabilities (has touch screen)
  
  user_agents relies on the excellent ua-parser to do the actual parsing of the
  raw user agent string.

Added:
  head/devel/py-user_agents/
  head/devel/py-user_agents/Makefile   (contents, props changed)
  head/devel/py-user_agents/distinfo   (contents, props changed)
  head/devel/py-user_agents/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Jan 28 14:11:31 2014	(r341570)
+++ head/devel/Makefile	Tue Jan 28 14:15:21 2014	(r341571)
@@ -3837,6 +3837,7 @@
     SUBDIR += py-urlimport
     SUBDIR += py-urwid
     SUBDIR += py-usb
+    SUBDIR += py-user_agents
     SUBDIR += py-utils
     SUBDIR += py-venusian
     SUBDIR += py-versiontools

Added: head/devel/py-user_agents/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-user_agents/Makefile	Tue Jan 28 14:15:21 2014	(r341571)
@@ -0,0 +1,19 @@
+# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	user-agents
+PORTVERSION=	0.2.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	demon@FreeBSD.org
+COMMENT=	Python library to identify devices using User-Agent string
+
+RUN_DEPENDS=	${PYTHON_SITELIBDIR}/ua_parser/__init__.py:${PORTSDIR}/devel/py-ua_parser
+
+USE_PYTHON=		yes
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
+
+.include <bsd.port.mk>

Added: head/devel/py-user_agents/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-user_agents/distinfo	Tue Jan 28 14:15:21 2014	(r341571)
@@ -0,0 +1,2 @@
+SHA256 (user-agents-0.2.0.tar.gz) = 17915ead5a934238a2d8808fb755bbe61642e4144595ccfb8231eb3ed3ecbd21
+SIZE (user-agents-0.2.0.tar.gz) = 6668

Added: head/devel/py-user_agents/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-user_agents/pkg-descr	Tue Jan 28 14:15:21 2014	(r341571)
@@ -0,0 +1,10 @@
+user_agents is a Python library that provides an easy way to identify/detect
+devices like mobile phones, tablets and their capabilities by parsing (browser) user agent strings.  The goal is to reliably detect whether:
+
+-- User agent is a mobile, tablet or PC based device
+-- User agent has touch capabilities (has touch screen)
+
+user_agents relies on the excellent ua-parser to do the actual parsing of the
+raw user agent string.
+
+WWW: https://github.com/selwin/python-user-agents



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401281415.s0SEFLbG007226>