1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

devel/py-rebulk: add new port

PR:		210774
Submitted by:	Andrej Ebert <andrej@ebert.su>

ReBulk is a python library that performs advanced searches in strings
that would be hard to implement using re module or String methods only.
It includes some features like Patterns, Match, Rule that allows
developers to build a custom and complex string matcher using a readable
and extendable API.

https://github.com/Toilal/rebulk
This commit is contained in:
Jan Beich 2016-07-09 11:47:43 +00:00
parent cc30a2c7e1
commit 77bd3ba494
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418270
4 changed files with 40 additions and 0 deletions

View File

@ -4364,6 +4364,7 @@
SUBDIR += py-raven
SUBDIR += py-rcsparse
SUBDIR += py-re2
SUBDIR += py-rebulk
SUBDIR += py-rednose
SUBDIR += py-repl
SUBDIR += py-repoze.lru

30
devel/py-rebulk/Makefile Normal file
View File

@ -0,0 +1,30 @@
# Created by: Andrej Ebert <andrej@ebert.su>
# $FreeBSD$
PORTNAME= rebulk
PORTVERSION= 0.7.2
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= andrej@ebert.su
COMMENT= Python library that performs advanced searches in strings
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest
USES= python
USE_PYTHON= autoplist distutils
USE_GITHUB= yes
GH_ACCOUNT= Toilal
post-patch:
@${REINPLACE_CMD} -e '/setup_requires/d' ${WRKSRC}/${PYSETUP}
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
.include <bsd.port.mk>

2
devel/py-rebulk/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (Toilal-rebulk-0.7.2_GH0.tar.gz) = ffbda3562a3234318a9972084564501f9a4654df08ef2735a47d16b49e1ce5c4
SIZE (Toilal-rebulk-0.7.2_GH0.tar.gz) = 247011

View File

@ -0,0 +1,7 @@
ReBulk is a python library that performs advanced searches in strings
that would be hard to implement using re module or String methods only.
It includes some features like Patterns, Match, Rule that allows
developers to build a custom and complex string matcher using a readable
and extendable API.
WWW: https://github.com/Toilal/rebulk