1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

Add py-pytest-black-multipy 1.0.0

pytest-black-multipy is a wrapper around pytest-black to allow projects on older
Python versions to use the --black paremeter.

WWW: https://github.com/jaraco/pytest-black-multipy
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-05-17 18:25:23 +00:00
parent aa298f68eb
commit 9dc14da9ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535568
4 changed files with 42 additions and 0 deletions

View File

@ -4902,6 +4902,7 @@
SUBDIR += py-pytest-azurepipelines
SUBDIR += py-pytest-benchmark
SUBDIR += py-pytest-black
SUBDIR += py-pytest-black-multipy
SUBDIR += py-pytest-cache
SUBDIR += py-pytest-capturelog
SUBDIR += py-pytest-cov

View File

@ -0,0 +1,34 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= pytest-black-multipy
PORTVERSION= 1.0.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Allow --black on older Pythons
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.5:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-flake8>=0:devel/py-pytest-flake8@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} >= 3600
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytest-black>=0:devel/py-pytest-black@${PY_FLAVOR}
.endif
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1589631128
SHA256 (pytest-black-multipy-1.0.0.tar.gz) = cd6bf8d9e60af4d97771f848d5efae8eef30c9c77d4bb6f57a767ceb52523cb2
SIZE (pytest-black-multipy-1.0.0.tar.gz) = 8576

View File

@ -0,0 +1,4 @@
pytest-black-multipy is a wrapper around pytest-black to allow projects on older
Python versions to use the --black paremeter.
WWW: https://github.com/jaraco/pytest-black-multipy