From nobody Sat Apr 16 04:24:35 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0FC037CE1AA; Sat, 16 Apr 2022 04:24:38 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KgKpr6mrMz3Nqb; Sat, 16 Apr 2022 04:24:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650083077; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yq7CchrNBhi/HKBUUZhAKZeii5yIObK3UgQnq/GbgoE=; b=P/lYJAa4B+GzRaRuBlvOZwOlADH4w0fhaFicYpKo84XI/CIcsxckhaci6TL5MklDF6hGx2 9RjGLhiTeFW9mWWpBAW+chV57pWYXsayk50JCWzZUHfgcX4kvSGBcMg8pdXVgO0dDe86W3 E80KHJCEe7+X7AbbqN4PQ+SDfGlQU6ZbwNcLnhxj4oqFJB9M+AZiQN1+K5NqjN/3TVgG+7 UvhZm29Cm6vWne8uhkf7iYLLFkK3gpP24aib8cRaBk85IRZhxhAkRkA//+2Wb1Hns3V/cL 2Vg3kI2ykVwW8fS36zI67LAi1nuyDMhiHpQrc2QfK+PmuDIQP3szbiVl/nxqcA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0297A22B5B; Sat, 16 Apr 2022 04:24:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23G4OZ2x007656; Sat, 16 Apr 2022 04:24:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23G4OZBG007655; Sat, 16 Apr 2022 04:24:35 GMT (envelope-from git) Date: Sat, 16 Apr 2022 04:24:35 GMT Message-Id: <202204160424.23G4OZBG007655@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 06943a7642e9 - main - devel/py-testpath: Update to 0.6.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 06943a7642e94d56633bec4871d7abc062f71c3e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650083077; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yq7CchrNBhi/HKBUUZhAKZeii5yIObK3UgQnq/GbgoE=; b=Q8od+GM2POPv+ZdVsUNY4cLsjyDqr0mx4rQxszwAfa+hIfBM0TrWATdj+4x7x4iE13LUyY m9oPgQZEZ5oPwy/a7V5bAIlblAq/ZSApKt4YsSqHYrQayOwMvG+p2DUQoWXgBpDNohferP ger7masfqiq8vIZL1nQNK4v9JtSk5iF28xmFxkvAGcrNddJOuzZc6GuTieeO4wiKQzhhwZ 2OBlDzSxehg+Hg02ZS47RkQocSX4rjzgaCTbOnM1fCf/lmSh4d5/DTbvq2mdaG5Wy/e1XM q5i641Dqqs/cQ6/hR6FD0bh8uuZc3lnJGLerQO7kd+61RPukLooHMZKHcGftrA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650083077; a=rsa-sha256; cv=none; b=N14eGezF7RplsnSOG7BAzpNGk+x306a2H0A/JTqVk1DpcqlYTQEod0wOyNUuKVt5dAEHnv Uv+MOd0tHgMbX3vsE4RzOaphlTueg5kNbp/iLOJf2VnK39VMYoxPdNCr0Br687kMCUqCr6 Va6eSg/yrAEnkZ1+naS78L+kO9nQ/kU03TdxD69Q5sRDudAG1SSHRSGlEjnygFzbHErsDl I6lYjpZLrfwlCEJoleuERRo0vqupAKzLvZUNhR3wdXNBOsjfBeP09ESHtpuz87vW87FCl5 5u5SWfkwrG1ocUuQq4b4GQS2jgRnpm6eebG+JTcn8dxec66jhvSyMyXBqrTtyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=06943a7642e94d56633bec4871d7abc062f71c3e commit 06943a7642e94d56633bec4871d7abc062f71c3e Author: Po-Chuan Hsieh AuthorDate: 2022-04-16 04:01:28 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-04-16 04:19:44 +0000 devel/py-testpath: Update to 0.6.0 - Update version requirement of TEST_DEPENDS - Update do-test: Changes: https://github.com/jupyter/testpath/blob/master/doc/history.rst --- devel/py-testpath/Makefile | 9 ++++++--- devel/py-testpath/distinfo | 6 +++--- devel/py-testpath/files/setup.py | 25 +++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/devel/py-testpath/Makefile b/devel/py-testpath/Makefile index c0febb10324e..93ec44b1b3fd 100644 --- a/devel/py-testpath/Makefile +++ b/devel/py-testpath/Makefile @@ -1,5 +1,5 @@ PORTNAME= testpath -PORTVERSION= 0.5.0 +PORTVERSION= 0.6.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,14 +10,17 @@ COMMENT= Test utilities for Python code working with files and commands LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + do-test: - @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER}) + cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} -m pytest -rs -v .include diff --git a/devel/py-testpath/distinfo b/devel/py-testpath/distinfo index bbdb81b99dc5..7c866a622f41 100644 --- a/devel/py-testpath/distinfo +++ b/devel/py-testpath/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1624630220 -SHA256 (testpath-0.5.0.tar.gz) = 1acf7a0bcd3004ae8357409fc33751e16d37ccc650921da1094a86581ad1e417 -SIZE (testpath-0.5.0.tar.gz) = 94021 +TIMESTAMP = 1649423978 +SHA256 (testpath-0.6.0.tar.gz) = 2f1b97e6442c02681ebe01bd84f531028a7caea1af3825000f52345c30285e0f +SIZE (testpath-0.6.0.tar.gz) = 93348 diff --git a/devel/py-testpath/files/setup.py b/devel/py-testpath/files/setup.py new file mode 100644 index 000000000000..b7ed5d66b73c --- /dev/null +++ b/devel/py-testpath/files/setup.py @@ -0,0 +1,25 @@ +#!/usr/bin/env python +# setup.py generated by flit for tools that don't yet use PEP 517 + +from distutils.core import setup + +packages = \ +['testpath'] + +package_data = \ +{'': ['*']} + +extras_require = \ +{'test': ['pytest']} + +setup(name='testpath', + version='%%PORTVERSION%%', + description='Test utilities for code working with files and commands', + author=None, + author_email='Jupyter Development Team ', + url=None, + packages=packages, + package_data=package_data, + extras_require=extras_require, + python_requires='>= 3.5', + )