BSD Ports

devel/py-ua_parser 0.7.1_2 FreeBSD

Python port of Browserscope's user agent parser

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20
Categories
devel, python
Package size
60.6 KiB, 428.7 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDdevel/py-ua_parser0.7.1_2
DragonFlydevel/py-ua_parser0.7.1_2
HardenedBSDdevel/py-ua_parser0.7.1_2
GhostBSDdevel/py-ua_parser0.7.1_2

Install

Binary package:

pkg install py312-ua_parser

From the ports tree:

cd /usr/ports/devel/py-ua_parser/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-ua_parser>0:devel/py-ua_parser

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.7.1_20.7.1_20.7.10.7.1_20.7.1_2
FreeBSD:14:quarterly0.7.1_20.7.1_2n/a0.7.1_20.7.1_2
FreeBSD:15:latest0.7.1_20.7.1_2n/a0.7.1_20.7.1_2
FreeBSD:15:quarterly0.7.1_20.7.1_2n/an/an/a
FreeBSD:16:latest0.7.1_20.7.1_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 13
Run dependencies 10

Configuration

No options to configure.

USES
python
Service scripts
none

Message after installing

To allow user_agent_parser python module to find regexes.yaml file,
define UA_PARSER_YAML environment variable to point to
/usr/local/share/ua_parser/regexes.yaml

Files

distinfo 1
FileSizeSHA256
ua-parser-0.7.1.tar.gz32582e1f7cb16ccb68d6c93b19348e678500bec8cd1f692e49214dd38ca2d100ada9b
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.