Date: Thu, 20 Sep 2018 11:27:46 +0000 (UTC) From: Matthew Seaman <matthew@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480166 - in head/devel: . py-whichcraft Message-ID: <201809201127.w8KBRkEJ047377@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809201127.w8KBRkEJ047377>