Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2014 13:01:59 +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: r341544 - in head/devel: . py-ua-parser
Message-ID:  <201401281301.s0SD1xhj077307@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: demon
Date: Tue Jan 28 13:01:59 2014
New Revision: 341544
URL: http://svnweb.freebsd.org/changeset/ports/341544
QAT: https://qat.redports.org/buildarchive/r341544/

Log:
  New port: py-ua-parser.
  Python port of Browserscope's user agent parser

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Jan 28 12:56:56 2014	(r341543)
+++ head/devel/Makefile	Tue Jan 28 13:01:59 2014	(r341544)
@@ -3829,6 +3829,7 @@
     SUBDIR += py-twistedCore
     SUBDIR += py-twistedFlow
     SUBDIR += py-twistedRunner
+    SUBDIR += py-ua-parser
     SUBDIR += py-ujson
     SUBDIR += py-uncompyle2
     SUBDIR += py-unittest2

Added: head/devel/py-ua-parser/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-ua-parser/Makefile	Tue Jan 28 13:01:59 2014	(r341544)
@@ -0,0 +1,21 @@
+# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	ua-parser
+PORTVERSION=	0.3.4
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	demon@FreeBSD.org
+COMMENT=	Python port of Browserscope's user agent parser
+
+LICENSE=	APACHE20
+
+RUN_DEPENDS=	${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml
+
+USE_PYTHON=		yes
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
+
+.include <bsd.port.mk>

Added: head/devel/py-ua-parser/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-ua-parser/distinfo	Tue Jan 28 13:01:59 2014	(r341544)
@@ -0,0 +1,2 @@
+SHA256 (ua-parser-0.3.4.tar.gz) = 558ce6e238b22a17f33b855e7114e688719deaef0925eb774390c6ff4134bcc9
+SIZE (ua-parser-0.3.4.tar.gz) = 29344

Added: head/devel/py-ua-parser/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-ua-parser/pkg-descr	Tue Jan 28 13:01:59 2014	(r341544)
@@ -0,0 +1,9 @@
+A port of BrowserScope's user agent string parser.
+
+The crux of the original parser -- the data collected by Steve Souders over
+the years -- has been extracted into a separate YAML file so as to be reusable
+as is by implementations in other programming languages.
+
+ua-parser is just a small wrapper around this data.
+
+WWW: https://github.com/tobie/ua-parser



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