1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00

Add py-testresources 2.0.1

Testresources extends unittest with a clean and simple api to provide test
optimisation where expensive common resources are needed for test cases - for
example sample working trees for VCS systems, reference databases for enterprise
applications, or web servers ... let imagination run wild.

WWW: https://pypi.python.org/pypi/testresources
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-04-04 18:49:27 +00:00
parent bcc48ad925
commit d48bc98004
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=466452
4 changed files with 38 additions and 0 deletions

View File

@ -4978,6 +4978,7 @@
SUBDIR += py-testinfra
SUBDIR += py-testoob
SUBDIR += py-testpath
SUBDIR += py-testresources
SUBDIR += py-testtools
SUBDIR += py-threema-msgapi
SUBDIR += py-thrift

View File

@ -0,0 +1,28 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= testresources
PORTVERSION= 2.0.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PyUnit extension for managing expensive test resources
LICENSE= APACHE20 BSD3CLAUSE
LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/Apache-2.0
LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/BSD
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.3:devel/py-pbr@${FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.8:devel/py-pbr@${FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fixtures>=0:devel/py-fixtures@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}testtools>=0:devel/py-testtools@${FLAVOR}
NO_ARCH= yes
USE_PYTHON= autoplist concurrent distutils
USES= python
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1522843487
SHA256 (testresources-2.0.1.tar.gz) = ee9d1982154a1e212d4e4bac6b610800bfb558e4fb853572a827bc14a96e4417
SIZE (testresources-2.0.1.tar.gz) = 41948

View File

@ -0,0 +1,6 @@
Testresources extends unittest with a clean and simple api to provide test
optimisation where expensive common resources are needed for test cases - for
example sample working trees for VCS systems, reference databases for enterprise
applications, or web servers ... let imagination run wild.
WWW: https://pypi.python.org/pypi/testresources