svn commit: r535568 - in head/devel: . py-pytest-black-multipy
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun May 17 18:25:25 UTC 2020
Author: sunpoet
Date: Sun May 17 18:25:23 2020
New Revision: 535568
URL: https://svnweb.freebsd.org/changeset/ports/535568
Log:
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
Added:
head/devel/py-pytest-black-multipy/
head/devel/py-pytest-black-multipy/Makefile (contents, props changed)
head/devel/py-pytest-black-multipy/distinfo (contents, props changed)
head/devel/py-pytest-black-multipy/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sun May 17 18:25:14 2020 (r535567)
+++ head/devel/Makefile Sun May 17 18:25:23 2020 (r535568)
@@ -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
Added: head/devel/py-pytest-black-multipy/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pytest-black-multipy/Makefile Sun May 17 18:25:23 2020 (r535568)
@@ -0,0 +1,34 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pytest-black-multipy
+PORTVERSION= 1.0.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at 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>
Added: head/devel/py-pytest-black-multipy/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pytest-black-multipy/distinfo Sun May 17 18:25:23 2020 (r535568)
@@ -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
Added: head/devel/py-pytest-black-multipy/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-pytest-black-multipy/pkg-descr Sun May 17 18:25:23 2020 (r535568)
@@ -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
More information about the svn-ports-head
mailing list