From nobody Sat Apr 30 16:02: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 CF4E61AAB46F; Sat, 30 Apr 2022 16:02:35 +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 4KrDdl3VFBz4bmY; Sat, 30 Apr 2022 16:02:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651334555; 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=I41kmNpISqQonTXT6TsLSqFtWbjsFsA4h5oH4g0MzIA=; b=XXg/CYYIpY62E66eoCZ2XCB+rjprPRB5Sa26bhLr9NSYY2SV9nszhpBqkkUHW7UEJuvRV9 16IsPP05f0axQ80KJD+j/0V0L+Wg9U3KwiKpS18CsNjOu3EPA/JLzpI67QDlpXvucpKy23 t+tQyAukDndrdklmW7HzXuqaFB4Ng+/JV2jrfTk2O2yl+49FB35k/liXz1mN4XSCKzlVP9 aH8TJuk/XSz19aVoeIbjLl9uOchWIc1KpXmkL5wbzO5YwqoEYDCbv9zRjTiWsihMElQo4R 8B1zwvwgST/qqZE9oiSmXm7BaKw8HzDIuMlMqqsy/di2j0IL2Zce7grhC4yuIw== 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 40E51245A5; Sat, 30 Apr 2022 16:02:35 +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 23UG2ZcT008759; Sat, 30 Apr 2022 16:02:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23UG2Z19008758; Sat, 30 Apr 2022 16:02:35 GMT (envelope-from git) Date: Sat, 30 Apr 2022 16:02:35 GMT Message-Id: <202204301602.23UG2Z19008758@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: 474d52ab8b0d - main - devel/py-hatchling: Add py-hatchling 0.24.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: 474d52ab8b0dbe2012b70fcdafea2883d99b00db Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651334555; 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=I41kmNpISqQonTXT6TsLSqFtWbjsFsA4h5oH4g0MzIA=; b=Kt2j2YasQPYEX8rBB51GugiIODaU3KxWHaWz9b+wQGiGl6dz2JaEMubovRFOJ0xqnD9TZy OvrjdrVX6jQ8XYQ+Iv4s3UWu2RuZAA87JC8Ftw+hO7rIVUOhHAnAECQgSmUXeBlAPlqLIX XOwBWIgS5MqABh8cHe9B8GZ0a/hn1UyBJRLquXExMbjrulbWjZJhYsxtif7aUkX1Vu2+nM P4BNahmY/OL4msVbz0lxp1aJnJwK5IKm42GkWlcqTX/5Knv/fdF6In1KJYo6ZFjYlt0xmU Wu0pz79gqkePaiXDBYP/RrHjbI7rw1oR5QVk0YYh6X+v5NRwId2NAFuJcXhtTw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651334555; a=rsa-sha256; cv=none; b=VF+gl6P69yAgsx3Jp9Iz7JUTou1w9venqtB2uX1scp2aSf6O4Bo4fD57hbmOHA9NQwnTke TTK+ivGTnslggsrJG4NW+G51mt34pvI3wbWG/mHOEw/XTYJ3uaUPeeMQGwczrRWqfZRzdN 9xKLHX/EsGFHDu7WO0G1swCxXteeGLTK2cAJ56HClmJfJUUTsra4mNf+jtLJgz3SLquF+D QEIik6PXHCpNLdP2eF8Xr+2x8f0Xs/pQakrdHEM9zqqXM+5VQpluX6GF6LU6OREs2a4GG9 BcSK0rz67WFRfaKpXLOtghcfN9nn/X6fQCjOcV8t9MUNuNgJ7dmOHYaMagiqsg== 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=474d52ab8b0dbe2012b70fcdafea2883d99b00db commit 474d52ab8b0dbe2012b70fcdafea2883d99b00db Author: Po-Chuan Hsieh AuthorDate: 2022-04-30 15:56:04 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-04-30 15:56:04 +0000 devel/py-hatchling: Add py-hatchling 0.24.0 Hatchling is the extensible, standards compliant build backend used by Hatch. WWW: https://github.com/ofek/hatch/tree/master/backend --- devel/Makefile | 1 + devel/py-hatchling/Makefile | 42 ++++++++++++++++++++++++ devel/py-hatchling/distinfo | 3 ++ devel/py-hatchling/files/setup.py | 68 +++++++++++++++++++++++++++++++++++++++ devel/py-hatchling/pkg-descr | 3 ++ 5 files changed, 117 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 68f7ea9a6721..a7725a4b49c1 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4611,6 +4611,7 @@ SUBDIR += py-gyp SUBDIR += py-hash_ring SUBDIR += py-hatch + SUBDIR += py-hatchling SUBDIR += py-heapdict SUBDIR += py-helpdev SUBDIR += py-hg-evolve diff --git a/devel/py-hatchling/Makefile b/devel/py-hatchling/Makefile new file mode 100644 index 000000000000..ec70b667c54a --- /dev/null +++ b/devel/py-hatchling/Makefile @@ -0,0 +1,42 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= hatchling +PORTVERSION= 0.24.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Modern, extensible Python build backend + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +xBUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}editables>=0.3:devel/py-editables@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pathspec>=0.9:devel/py-pathspec@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pluggy>=1.0.0:devel/py-pluggy@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}editables>=0.3:devel/py-editables@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pathspec>=0.9:devel/py-pathspec@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pluggy>=1.0.0:devel/py-pluggy@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.2.2:textproc/py-tomli@${PY_FLAVOR} +.endif + +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + +.include diff --git a/devel/py-hatchling/distinfo b/devel/py-hatchling/distinfo new file mode 100644 index 000000000000..b3b48317f2f6 --- /dev/null +++ b/devel/py-hatchling/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1651316567 +SHA256 (hatchling-0.24.0.tar.gz) = ce6765f5b5baf3cb57d2f80196c50e201e3728cacd95353f5c9b4f03dfdf4eb9 +SIZE (hatchling-0.24.0.tar.gz) = 44544 diff --git a/devel/py-hatchling/files/setup.py b/devel/py-hatchling/files/setup.py new file mode 100644 index 000000000000..c10b93cfc790 --- /dev/null +++ b/devel/py-hatchling/files/setup.py @@ -0,0 +1,68 @@ +# -*- coding: utf-8 -*- +from setuptools import setup + +setup( + name='hatchling', + version='%%PORTVERSION%%', + description='Modern, extensible Python build backend', + long_description='# Hatchling\n\n-----\n\nThis is the extensible, standards compliant build backend used by [Hatch](https://github.com/ofek/hatch).\n', + author_email='Ofek Lev ', + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', + 'Natural Language :: English', + 'Operating System :: OS Independent', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: Implementation :: CPython', + 'Programming Language :: Python :: Implementation :: PyPy', + 'Topic :: Software Development :: Build Tools', + 'Topic :: Software Development :: Libraries :: Python Modules', + ], + install_requires=[ + 'editables>=0.3; python_version > "3"', + 'importlib-metadata; python_version < "3.8"', + 'packaging>=21.3; python_version > "3"', + 'packaging~=20.9; python_version < "3"', + 'pathspec>=0.9', + 'pluggy>=1.0.0; python_version > "3"', + 'pluggy~=0.13; python_version < "3"', + 'tomli>=1.2.2; python_version > "3" and python_version < "3.11"', + 'toml~=0.10.2; python_version < "3"', + ], + entry_points={ + 'console_scripts': [ + 'hatchling = hatchling.cli:hatchling', + ], + }, + packages=[ + 'hatchling', + 'hatchling.bridge', + 'hatchling.builders', + 'hatchling.builders.hooks', + 'hatchling.builders.hooks.plugin', + 'hatchling.builders.plugin', + 'hatchling.cli', + 'hatchling.cli.build', + 'hatchling.cli.dep', + 'hatchling.cli.version', + 'hatchling.dep', + 'hatchling.licenses', + 'hatchling.metadata', + 'hatchling.metadata.plugin', + 'hatchling.plugin', + 'hatchling.utils', + 'hatchling.version', + 'hatchling.version.scheme', + 'hatchling.version.scheme.plugin', + 'hatchling.version.source', + 'hatchling.version.source.plugin', + ], + package_dir={ + '': 'src', + }, +) diff --git a/devel/py-hatchling/pkg-descr b/devel/py-hatchling/pkg-descr new file mode 100644 index 000000000000..95368c6a87d3 --- /dev/null +++ b/devel/py-hatchling/pkg-descr @@ -0,0 +1,3 @@ +Hatchling is the extensible, standards compliant build backend used by Hatch. + +WWW: https://github.com/ofek/hatch/tree/master/backend