From nobody Wed Aug 31 11:44:28 2022 X-Original-To: dev-commits-ports-main@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 4MHj584QmNz4b8bR; Wed, 31 Aug 2022 11:44:28 +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 4MHj583Wllz3CkL; Wed, 31 Aug 2022 11:44:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661946268; 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=En1Tb8E7xpDDWhMNpAi0wzKVA7xv9h5sqOGdDwjAPbw=; b=urF1tiaUPwRGojkd92krRhua88v72qziPjo66fI1uldqCZ77LNk70EOIHAdvgin2B3xVUB fmpmt7C2ZDSNu4eT1rmt0mzRBL1fGXft2qWpYadRZ87S0fSoyh7FsqlwuPKfz9Qb8s45z5 9B7F+2OFeZ6/rFS18TSbHF07CgAWA2jqd/W/yz7uTZQ98eA/alvvW/FvWn0bj8awkxUfFu ZpXZGtsEzF8vYOkUWIvKcp/NtE4K5IwCd2FYdPI3lEv07iA2hXo7fC9wakNZVpKssTCuFn pWRQ3ujav6aKOPelWDltpSZXP2tIgoIscs6zA8lbua3vXN40luDoL2KSGBfo1w== 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 4MHj582ZQnz16b0; Wed, 31 Aug 2022 11:44:28 +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 27VBiSDW096542; Wed, 31 Aug 2022 11:44:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27VBiSwA096541; Wed, 31 Aug 2022 11:44:28 GMT (envelope-from git) Date: Wed, 31 Aug 2022 11:44:28 GMT Message-Id: <202208311144.27VBiSwA096541@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: 9b383e552340 - main - science/py-asdf-transform-schemas: Update to 0.3.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 9b383e552340a4285968937064a7c120a132c9d6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661946268; 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=En1Tb8E7xpDDWhMNpAi0wzKVA7xv9h5sqOGdDwjAPbw=; b=xnakq/+kIhpnwccyTO//CU39nBqvBsZtsHuboeT5ekm2lFvGC2CItMPTRDD20FzgBNMGNa OoIGmK2hV6XyiMtSI62JhHgkmD3bEBzy+MDNKiblpOFLFyTX9XiSmnX+NWAP/AwoDJUCj+ KbjXrrwd2cqIULuyz8m77kzxCiVTHIE4QInRPwrCl2zqGvs8IgcSpvHV3WyV1gG3IxrBY/ kcYmKCtFAuQzyIbzq9emmzUfCALvPvEMCu2LlKYQJAOcHBKyE/rN4lDlfaMHFME+3OEUvn KQzkvsN4PUiZJFApTRys1SZudTkzl4+PihIjA6jk+0YwY2PM7fWMMN7YOwzwUQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661946268; a=rsa-sha256; cv=none; b=hbyg92znfBDWjT4Iz7WxEsRSFLiEZgxAPhr0U7sycM5ZI1+/RKpXqFtjlhjxBOROJZOi1q whXBKJEIA6a6Hex6D2f60LddMSXobL3a/+rsHBHAVwTTb70ns/krf1IeoTm8P1qlcOFY6n ux/GOjIIodDWc3O432GcdjIhiwXviUHtysE7uLYavgC81RZt01EFNyJ42dhEXftpPEdBSa 62D6DeVBeaBaxHruqsfyj3As1fB+Ujy7dPQu6DsgSr4yI17qM+eRJjxeq0z9TNVsz4Dq+s cyNpR5osu8+XkbVrYMTHnmszFg1hPpBVfTJ+ZGhZpkjBsOcklpP7wjMEYXUDtQ== 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=9b383e552340a4285968937064a7c120a132c9d6 commit 9b383e552340a4285968937064a7c120a132c9d6 Author: Po-Chuan Hsieh AuthorDate: 2022-08-31 11:24:14 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-08-31 11:41:13 +0000 science/py-asdf-transform-schemas: Update to 0.3.0 Changes: https://github.com/asdf-format/asdf-transform-schemas/releases --- science/py-asdf-transform-schemas/Makefile | 14 +++++-- science/py-asdf-transform-schemas/distinfo | 6 +-- science/py-asdf-transform-schemas/files/setup.py | 48 ++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 6 deletions(-) diff --git a/science/py-asdf-transform-schemas/Makefile b/science/py-asdf-transform-schemas/Makefile index a8781b2e1f67..7a9dc1467084 100644 --- a/science/py-asdf-transform-schemas/Makefile +++ b/science/py-asdf-transform-schemas/Makefile @@ -1,5 +1,5 @@ PORTNAME= asdf-transform-schemas -PORTVERSION= 0.2.2 +PORTVERSION= 0.3.0 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,7 +11,6 @@ COMMENT= ASDF schemas for transforms LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asdf-standard>=1.0.1:science/py-asdf-standard@${PY_FLAVOR} USES= python:3.8+ @@ -19,4 +18,13 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -.include +.include + +.if ${PYTHON_REL} < 30900 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=3:devel/py-importlib-resources@${PY_FLAVOR} +.endif + +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + +.include diff --git a/science/py-asdf-transform-schemas/distinfo b/science/py-asdf-transform-schemas/distinfo index 164b2a45fb57..99a669a754e7 100644 --- a/science/py-asdf-transform-schemas/distinfo +++ b/science/py-asdf-transform-schemas/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1646057860 -SHA256 (asdf_transform_schemas-0.2.2.tar.gz) = f71a9309ed3ebd09b1937ae857c94cec92887870440eb3e9868bbbed72656b15 -SIZE (asdf_transform_schemas-0.2.2.tar.gz) = 50356 +TIMESTAMP = 1661599315 +SHA256 (asdf_transform_schemas-0.3.0.tar.gz) = 0cf2ff7b22ccb408fe58ddd9b2441a59ba73fe323e416d59b9e0a4728a7d2dd6 +SIZE (asdf_transform_schemas-0.3.0.tar.gz) = 96822 diff --git a/science/py-asdf-transform-schemas/files/setup.py b/science/py-asdf-transform-schemas/files/setup.py new file mode 100644 index 000000000000..6af53c0348e4 --- /dev/null +++ b/science/py-asdf-transform-schemas/files/setup.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python +# setup.py generated by flit for tools that don't yet use PEP 517 + +from distutils.core import setup + +packages = \ +['asdf_transform_schemas'] + +package_data = \ +{'': ['*']} + +package_dir = \ +{'': 'src'} + +install_requires = \ +['asdf-standard >= 1.0.1'] + +extras_require = \ +{':python_version<"3.9"': ['importlib_resources >= 3'], + 'docs': ['toml', + 'sphinx', + 'sphinx-asdf >= 0.1.3', + 'sphinx-astropy', + 'astropy >= 5.0.4', + 'graphviz', + 'matplotlib', + 'docutils', + 'sphinx-rtd-theme'], + 'test': ['asdf >= 2.8.0', 'asdf-astropy', 'scipy', 'pytest']} + +entry_points = \ +{'asdf.resource_mappings': ['asdf_transform_schemas = ' + 'asdf_transform_schemas.integration:get_resource_mappings']} + +setup(name='asdf_transform_schemas', + version='%%PORTVERSION%%', + description='ASDF schemas for transforms', + author=None, + author_email='The ASDF Developers ', + url=None, + packages=packages, + package_data=package_data, + package_dir=package_dir, + install_requires=install_requires, + extras_require=extras_require, + entry_points=entry_points, + python_requires='>=3.8', + )