From owner-svn-ports-all@freebsd.org Fri May 8 08:47:22 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9695B2C7BBA; Fri, 8 May 2020 08:47:22 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49JP8p1hSNz4QtG; Fri, 8 May 2020 08:47:22 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3513F278FE; Fri, 8 May 2020 08:47:21 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0488lLVG032792; Fri, 8 May 2020 08:47:21 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0488lKLg032788; Fri, 8 May 2020 08:47:20 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202005080847.0488lKLg032788@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Fri, 8 May 2020 08:47:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r534341 - in head/devel: . py-sniffio X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . py-sniffio X-SVN-Commit-Revision: 534341 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.32 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2020 08:47:22 -0000 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 +# $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 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