mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
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/
This commit is contained in:
parent
af4b7b5fde
commit
a1b4e80ab2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=411444
4 changed files with 36 additions and 0 deletions
|
@ -4331,6 +4331,7 @@
|
|||
SUBDIR += py-rauth
|
||||
SUBDIR += py-raven
|
||||
SUBDIR += py-rcsparse
|
||||
SUBDIR += py-re2
|
||||
SUBDIR += py-rednose
|
||||
SUBDIR += py-repl
|
||||
SUBDIR += py-repoze.lru
|
||||
|
|
28
devel/py-re2/Makefile
Normal file
28
devel/py-re2/Makefile
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Created by: Edward Chuang <edwardchuang@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= re2
|
||||
PORTVERSION= 0.2.22
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= edwardchuang@gmail.com
|
||||
COMMENT= Python wrapper for Google RE2 using Cython
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= cython:lang/cython
|
||||
LIB_DEPENDS= libre2.so:devel/re2
|
||||
|
||||
USES= python:-2.7
|
||||
USE_PYTHON= autoplist distutils
|
||||
PYDISTUTILS_BUILDARGS= --cython
|
||||
EXTRACT_AFTER_ARGS= --exclude src/re2.cpp
|
||||
|
||||
post-install:
|
||||
@${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \
|
||||
-name '*.so' -exec ${STRIP_CMD} {} +
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/py-re2/distinfo
Normal file
2
devel/py-re2/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (re2-0.2.22.tar.gz) = 1d3903832351b9a4bdcc1da68ad75529d4fa69adfcad40bbdb2bf43869d4743f
|
||||
SIZE (re2-0.2.22.tar.gz) = 1927331
|
5
devel/py-re2/pkg-descr
Normal file
5
devel/py-re2/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
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.
|
||||
|
||||
WWW: https://pypi.python.org/pypi/re2/
|
Loading…
Add table
Reference in a new issue