blob: aeaa2c9a13f128ba85fb6f3a983c883b731ac0f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $NetBSD: Makefile,v 1.1 2017/09/29 13:49:25 joerg Exp $
DISTNAME= regex-2017.07.28
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_PYPI:=r/regex/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://bitbucket.org/mrabarnett/mrab-regex
COMMENT= Alternative regular expression module, to replace re.
LICENSE= python-software-foundation
.include "../../lang/python/pyversion.mk"
.if !empty(_PYTHON_VERSION:M3*)
TESTDIR=${WRKSRC}/Python3
.else
TESTDIR=${WRKSRC}/Python2
.endif
do-test:
cd ${TESTDIR} && ${PYTHONBIN} test_regex.py
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|