svn commit: r341544 - in head/devel: . py-ua-parser
Dmitry Sivachenko
demon at FreeBSD.org
Tue Jan 28 13:02:00 UTC 2014
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 at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= ua-parser
+PORTVERSION= 0.3.4
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= demon at 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
More information about the svn-ports-all
mailing list