From owner-svn-ports-all@freebsd.org Thu Sep 20 11:27:48 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D8F8E1098CE8; Thu, 20 Sep 2018 11:27:47 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D56B88D65; Thu, 20 Sep 2018 11:27:47 +0000 (UTC) (envelope-from matthew@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 883F91D505; Thu, 20 Sep 2018 11:27:47 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8KBRlXn047382; Thu, 20 Sep 2018 11:27:47 GMT (envelope-from matthew@FreeBSD.org) Received: (from matthew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8KBRkEJ047377; Thu, 20 Sep 2018 11:27:46 GMT (envelope-from matthew@FreeBSD.org) Message-Id: <201809201127.w8KBRkEJ047377@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: matthew set sender to matthew@FreeBSD.org using -f From: Matthew Seaman Date: Thu, 20 Sep 2018 11:27:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480166 - in head/devel: . py-whichcraft X-SVN-Group: ports-head X-SVN-Commit-Author: matthew X-SVN-Commit-Paths: in head/devel: . py-whichcraft X-SVN-Commit-Revision: 480166 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.27 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: Thu, 20 Sep 2018 11:27:48 -0000 Author: matthew Date: Thu Sep 20 11:27:46 2018 New Revision: 480166 URL: https://svnweb.freebsd.org/changeset/ports/480166 Log: This package provides cross-platform cross-python shutil.which functionality. This is a shim of the shutil.which function that's designed to work across multiple versions of Python and inside of windows. The code for Python 2.x is based on Python 3 code that I extracted from source. I originally did this for Cookiecutter but pulled it out in order to reduce line count for that project. WWW: https://pypi.org/project/whichcraft/ Added: head/devel/py-whichcraft/ head/devel/py-whichcraft/Makefile (contents, props changed) head/devel/py-whichcraft/distinfo (contents, props changed) head/devel/py-whichcraft/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Sep 20 11:19:13 2018 (r480165) +++ head/devel/Makefile Thu Sep 20 11:27:46 2018 (r480166) @@ -5184,6 +5184,7 @@ SUBDIR += py-weblib SUBDIR += py-websockify SUBDIR += py-wheel + SUBDIR += py-whichcraft SUBDIR += py-whistle SUBDIR += py-widgetsnbextension SUBDIR += py-wrapt Added: head/devel/py-whichcraft/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-whichcraft/Makefile Thu Sep 20 11:27:46 2018 (r480166) @@ -0,0 +1,27 @@ +# $FreeBSD$ + +PORTNAME= whichcraft +PORTVERSION= 0.4.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= matthew@FreeBSD.org +COMMENT= Cross-platform cross-python shutil.which functionality + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.1.0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.23.0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +do-test: + cd ${WRKSRC} && ${PYTHON_CMD} test_whichcraft.py + +.include Added: head/devel/py-whichcraft/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-whichcraft/distinfo Thu Sep 20 11:27:46 2018 (r480166) @@ -0,0 +1,3 @@ +TIMESTAMP = 1537441903 +SHA256 (whichcraft-0.4.1.tar.gz) = 9e0d51c9387cb7e9f28b7edb549e6a03da758f7784f991eb4397d7f7808c57fd +SIZE (whichcraft-0.4.1.tar.gz) = 6222 Added: head/devel/py-whichcraft/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-whichcraft/pkg-descr Thu Sep 20 11:27:46 2018 (r480166) @@ -0,0 +1,10 @@ +This package provides cross-platform cross-python shutil.which +functionality. + +This is a shim of the shutil.which function that's designed to work +across multiple versions of Python and inside of windows. The code for +Python 2.x is based on Python 3 code that I extracted from source. I +originally did this for Cookiecutter but pulled it out in order to +reduce line count for that project. + +WWW: https://pypi.org/project/whichcraft/