Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 2020 08:47:20 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r534341 - in head/devel: . py-sniffio
Message-ID:  <202005080847.0488lKLg032788@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri May  8 08:47:20 2020
New Revision: 534341
URL: https://svnweb.freebsd.org/changeset/ports/534341

Log:
  Add py-sniffio 1.1.0
  
  sniffio is a tiny package whose only purpose is to let you detect which async
  library your code is running under.
  
  WWW: https://github.com/python-trio/sniffio

Added:
  head/devel/py-sniffio/
  head/devel/py-sniffio/Makefile   (contents, props changed)
  head/devel/py-sniffio/distinfo   (contents, props changed)
  head/devel/py-sniffio/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri May  8 08:47:14 2020	(r534340)
+++ head/devel/Makefile	Fri May  8 08:47:20 2020	(r534341)
@@ -5062,6 +5062,7 @@
     SUBDIR += py-six
     SUBDIR += py-smmap2
     SUBDIR += py-snakeviz
+    SUBDIR += py-sniffio
     SUBDIR += py-sortedcontainers
     SUBDIR += py-sourcemap
     SUBDIR += py-speaklater

Added: head/devel/py-sniffio/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-sniffio/Makefile	Fri May  8 08:47:20 2020	(r534341)
@@ -0,0 +1,30 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	sniffio
+PORTVERSION=	1.1.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Sniff out which async library your code is running under
+
+LICENSE=	APACHE20 MIT
+LICENSE_COMB=	dual
+LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE.APACHE2
+LICENSE_FILE_MIT=	${WRKSRC}/LICENSE.MIT
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}curio>=0:devel/py-curio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
+
+USES=		python:3.5+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+do-test:
+	cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
+
+.include <bsd.port.mk>

Added: head/devel/py-sniffio/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-sniffio/distinfo	Fri May  8 08:47:20 2020	(r534341)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1588777613
+SHA256 (sniffio-1.1.0.tar.gz) = 8e3810100f69fe0edd463d02ad407112542a11ffdc29f67db2bf3771afb87a21
+SIZE (sniffio-1.1.0.tar.gz) = 15285

Added: head/devel/py-sniffio/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-sniffio/pkg-descr	Fri May  8 08:47:20 2020	(r534341)
@@ -0,0 +1,4 @@
+sniffio is a tiny package whose only purpose is to let you detect which async
+library your code is running under.
+
+WWW: https://github.com/python-trio/sniffio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005080847.0488lKLg032788>