From nobody Sat Jul 30 19:28:19 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 4LwDv760xxz4XNmP; Sat, 30 Jul 2022 19:28:19 +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 4LwDv74JG7z3Ypj; Sat, 30 Jul 2022 19:28:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659209299; 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=CtNn4Y6T8210C3Wur30PsxPiLdmtt9M40N3eNwDJQBQ=; b=qtGscqTkCTCJL6sCZ2qabRG8a+QY1DOPD7BJJ6a2qnqJLlmlpUMhP2iflUr9ymInThQMC3 EO9p7bGGpTPDrjRRuaoXwbT8l7gbiYRA5RcFYhCsv4pF+rlHUahlLd1AvFryHwFtDu9T0n lX9fv2mFInvbq4lC2Z9Jj8UmCGLvrjMVBXQOiDLpLqaP6Ts7//tLrSnFaBOTxn8h83rftn cgo5cv5KpiA2aW8uevWjAuk/uFpM/lJ/xLT5W6iWkA3Yghb6PSYfYWKJtwdiCg4uixc6Kq kqex7i2Teza5iR/FJ2PV1zt896/0tNd3T6cM6LdGAGivQ3mnlg9U5iBPlXUa4g== 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 4LwDv7375rzQfn; Sat, 30 Jul 2022 19:28:19 +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 26UJSJeX037581; Sat, 30 Jul 2022 19:28:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26UJSJJO037580; Sat, 30 Jul 2022 19:28:19 GMT (envelope-from git) Date: Sat, 30 Jul 2022 19:28:19 GMT Message-Id: <202207301928.26UJSJJO037580@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: e3e3b3cef260 - main - devel/py-devtools: Update to 0.9.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: e3e3b3cef260c5277039085ccd368d65481d785b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659209299; 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=CtNn4Y6T8210C3Wur30PsxPiLdmtt9M40N3eNwDJQBQ=; b=uIGf73qG2W758AP5OT3mWigRpF2jtyFX5EgvqflFL5Ccle0vzcSN/YAZ/4QaPJXXM5P/Gp sAfktxywlw2CKP2yVQPxjoejj+tHnLvg1RB0tQlCGCIiLgi0nuIZ1OXaZFn+ePFbTUeVPx fgk3kdmtlY3K4UoNCudvBRqxLHXh5XUUQjlnynnmeF6ja6hg3AxmY5HmQTzVkWxglMRxCe sofiMtz5Bs/j9w4NRcchXwu7Mcz/6c0NC1j8l/oMHAl3YsmkQkYTUFIM0P6NNy005+IqXm tbjpNHXjN3QQUtsrIb4RLe1lqami2BvBhgZo+auWSYJMxZRo3gibGQ1Tzn9bBw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659209299; a=rsa-sha256; cv=none; b=c6RpW7zwSKRJsWjjCuMO3+ZXXDn4OO0+X/bwIaExChBDGLUyu/kcPPdFhl8rIM37ZMtdNc wZN0+AqHlFFD+Jw/KmV17T0UGZnYlCHZK0pGDqc1TKWm3up5fqLkElvKiP/n5V5pZX8As/ LeA7NhmVBy8qCX9P3v1DUnPLWs2d0rFKQ6iIwOOKV2pc4AuZrWuiwdN7ibKIBnLj9W7F1W PYeVCuOsMxmONOHgswvS2rQSQ6NcfxgI3pE4Ms1hAPguLjZ/mll1sOHSQBXlTACoVLa6nR fQpcxyBV8ZlxjETgW7kczHjIma5Dyn1vXbW8dLW2f4BEnjz8KWV00pX1GK2Bww== 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=e3e3b3cef260c5277039085ccd368d65481d785b commit e3e3b3cef260c5277039085ccd368d65481d785b Author: Po-Chuan Hsieh AuthorDate: 2022-07-30 19:24:37 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-07-30 19:24:37 +0000 devel/py-devtools: Update to 0.9.0 Changes: https://github.com/samuelcolvin/python-devtools/releases --- devel/py-devtools/Makefile | 5 ++++- devel/py-devtools/distinfo | 6 +++--- devel/py-devtools/files/setup.py | 44 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 4 deletions(-) diff --git a/devel/py-devtools/Makefile b/devel/py-devtools/Makefile index 8384f2489f26..70312f0783f6 100644 --- a/devel/py-devtools/Makefile +++ b/devel/py-devtools/Makefile @@ -1,5 +1,5 @@ PORTNAME= devtools -PORTVERSION= 0.8.0 +PORTVERSION= 0.9.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -23,4 +23,7 @@ PYGMENTS_DESC= Highlighted output support PYGMENTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=2.2.0:textproc/py-pygments@${PY_FLAVOR} +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + .include diff --git a/devel/py-devtools/distinfo b/devel/py-devtools/distinfo index 77d491cc1de6..bbf014e4da99 100644 --- a/devel/py-devtools/distinfo +++ b/devel/py-devtools/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1632773636 -SHA256 (devtools-0.8.0.tar.gz) = 6162a2f61c70242479dff3163e7837e6a9bf32451661af1347bfa3115602af16 -SIZE (devtools-0.8.0.tar.gz) = 14975 +TIMESTAMP = 1659161163 +SHA256 (devtools-0.9.0.tar.gz) = 86ede6e0273e023db766344d14098228785b48a80f31716f28e8b9453d52fa1e +SIZE (devtools-0.9.0.tar.gz) = 68180 diff --git a/devel/py-devtools/files/setup.py b/devel/py-devtools/files/setup.py new file mode 100644 index 000000000000..3c94a7aec154 --- /dev/null +++ b/devel/py-devtools/files/setup.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +from setuptools import setup + +setup( + name='devtools', + version='%%PORTVERSION%%', + description="Python's missing debug print command, and more.", + long_description="# python devtools\n\n[![CI](https://github.com/samuelcolvin/python-devtools/workflows/CI/badge.svg?event=push)](https://github.com/samuelcolvin/python-devtools/actions?query=event%3Apush+branch%3Amain+workflow%3ACI)\n[![Coverage](https://codecov.io/gh/samuelcolvin/python-devtools/branch/main/graph/badge.svg)](https://codecov.io/gh/samuelcolvin/python-devtools)\n[![pypi](https://img.shields.io/pypi/v/devtools.svg)](https://pypi.python.org/pypi/devtools)\n[![versions](https://img.shields.io/pypi/pyversions/devtools.svg)](https://github.com/samuelcolvin/python-devtools)\n[![license](https://img.shields.io/github/license/samuelcolvin/python-devtools.svg)](https://github.com/samuelcolvin/python-devtools/blob/main/LICENSE)\n\n**Python's missing debug print command and other development tools.**\n\nFor more information, see [documentation](https://python-devtools.helpmanual.io/).\n\n## Install\n\nJust\n\n```bash\npip install devtools[pygments]\n```\n\n`pygments` is no t required but if it's installed, output will be highlighted and easier to read.\n\n`devtools` has no other required dependencies except python 3.7, 3.8, 3.9 or 3.10.\nIf you've got python 3.7+ and `pip` installed, you're good to go.\n\n## Usage\n\n```py\nfrom devtools import debug\n\nwhatever = [1, 2, 3]\ndebug(whatever)\n```\n\nOutputs:\n\n```py\ntest.py:4 :\n whatever: [1, 2, 3] (list)\n```\n\n\nThat's only the tip of the iceberg, for example:\n\n```py\nimport numpy as np\n\ndata = {\n 'foo': np.array(range(20)),\n 'bar': {'apple', 'banana', 'carrot', 'grapefruit'},\n 'spam': [{'a': i, 'b': (i for i in range(3))} for i in range(3)],\n 'sentence': 'this is just a boring sentence.\\n' * 4\n}\n\ndebug(data)\n```\n\noutputs:\n\n![python-devtools demo](https://raw.githubusercontent.com/samuelcolvin/python-devtools/main/demo.py.png)\n\n## Usage without Import\n\ndevtools can be used without `from devtools import debug` if you add `debug` into `__builtins__`\nin ` sitecustomize.py`.\n\nFor instructions on ad! ding `debug` to `__builtins__`, \nsee the [installation docs](https://python-devtools.helpmanual.io/usage/#usage-without-import).\n", + author_email='Samuel Colvin ', + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Environment :: Console', + 'Environment :: MacOS X', + 'Intended Audience :: Developers', + 'Intended Audience :: Education', + 'Intended Audience :: Information Technology', + 'Intended Audience :: Science/Research', + 'Intended Audience :: System Administrators', + 'License :: OSI Approved :: MIT License', + 'Operating System :: POSIX :: Linux', + 'Operating System :: Unix', + 'Programming Language :: Python :: 3 :: Only', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Topic :: Internet', + 'Topic :: Software Development :: Libraries :: Python Modules', + 'Typing :: Typed', + ], + install_requires=[ + 'asttokens<3.0.0,>=2.0.0', + 'executing<1.0.0,>=0.8.0', + ], + extras_require={ + 'pygments': [ + 'pygments>=2.2.0', + ], + }, + packages=[ + 'devtools', + 'tests', + ], +)