Bug 207637

Summary: [New Port] devel/py-re2: Python wrapper for devel/re2 using Cython
Product: Ports & Packages Reporter: edwardchuang
Component: Individual Port(s)Assignee: Jan Beich <jbeich>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: needs-qa
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
shar file none

Description edwardchuang 2016-03-02 08:55:01 UTC
Created attachment 167628 [details]
shar file

Python wrapper for devel/re2 using Cython
WWW: https://github.com/axiak/pyre2/
Comment 1 Jan Beich freebsd_committer freebsd_triage 2016-03-20 13:31:56 UTC
Reset assignee as this is a new port.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-03-20 13:33:14 UTC
A commit references this bug:

Author: jbeich
Date: Sun Mar 20 13:33:02 UTC 2016
New revision: 411444
URL: https://svnweb.freebsd.org/changeset/ports/411444

Log:
  devel/py-re2: add new port

  PR:		207637
  Submitted by:	edwardchuang@gmail.com

  pyre2 is a Python extension that wraps Google's RE2 regular expression
  library. It implements many of the features of Python's built-in re
  module with compatible interfaces.

  https://pypi.python.org/pypi/re2/

Changes:
  head/devel/Makefile
  head/devel/py-re2/
  head/devel/py-re2/Makefile
  head/devel/py-re2/distinfo
  head/devel/py-re2/pkg-descr
Comment 3 Jan Beich freebsd_committer freebsd_triage 2016-03-20 13:34:03 UTC
Thanks. Committed with changes:
- Drop redundant pkg-plist
- Drop NO_ARCH as it builds ELF binary
- Limit to python version as it was/is cythoned for 2.x
- Force re-cythoning with lang/cython
- LIB_DEPENDS: re2.so dynamically links against libre2.so from devel/re2
- Strip re2.so off non-debugging symbols
- Define LICENSE_FILE as there's no standard text under $PORTSDIR/Templates/Licenses/
- Pet portlint(1)