From nobody Thu Jun 09 23:19: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 7742B83C177; Thu, 9 Jun 2022 23:19:30 +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 4LK0RP4RRKz4dDY; Thu, 9 Jun 2022 23:19:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654816769; 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=DauHsC3Xdo21Co8wV1V8E2QJcisjMboF0/BJFOsw8+M=; b=WuHgnA1rypZDIN5MGFNeTdluPVtFitpHWI8eSWGkjpEY6wvlpQ1ZbLStOUSjZGeTP/a9zg UzwWwgSWk+ye554IZ1SODTybKfghUQiyVfe/NadPAOp0upM9RflQeyfDXroSpLZumeh1Am FBQv2ymCKDA8NYkDKEVgAumF/bnm505ooL4NLLH82rG14M420N1YG4o6lphXW3NXUsAjTe hJtqpD7m9vXXxA2oZgMx0hu/tJzoSrHbkeT/rk02MQ5YWp9FUw0F8dw/mlMi2TiFdMKyac P3j2Z2QElfIHICsYFBLDajIXEloXphp0HuXIPLcxxJVzXfCWXWoJvcB9aCz2pQ== 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 E8FBC52C2; Thu, 9 Jun 2022 23:19: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 259NJSVx042571; Thu, 9 Jun 2022 23:19:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 259NJSmt042570; Thu, 9 Jun 2022 23:19:28 GMT (envelope-from git) Date: Thu, 9 Jun 2022 23:19:28 GMT Message-Id: <202206092319.259NJSmt042570@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: aa311234cd43 - main - textproc/py-tableschema-to-template: Add py-tableschema-to-template 0.0.12 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: aa311234cd43e46a3a6db6775775b02678efde94 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654816769; 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=DauHsC3Xdo21Co8wV1V8E2QJcisjMboF0/BJFOsw8+M=; b=EOlv28mbM/76VtendvfJDms7IYK0wodaElw/DMH9YMVP1epEmi8qu/dzccuwOQNlXREqWW jEZAMYxkhDIk6n1im2AowNuVkb9Vvhc/SKZd5n5Lv8uw0bNZ6esoYYI7UIqcez/8IB8UWE 8LWz3wNat0zhJpx13yD+m312NpevujrSjUzsj6baARIn5jOwZ/LjA97g8bLj4c41Qzd6V8 16DTYw6tSc546Whj45F32l+dJ6UE+T+AnlqepCnkSuwuj/oF66RNP4Zic4J1MYAh5SNZCV 45zvjltDx3/TqdWrhOQXritVpisxkgJaF5cpD0IOFvUdfDgqwgp9fK7KxPo3bw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654816769; a=rsa-sha256; cv=none; b=ORx6cjeI+P5xCm6u+jyBaFcxt5y48Ssq6emFyWs7qHXH6Irhgen43ETFms4G7nc4ulYEsm 9XuM6ueYIa4fK5/kLOgLrY5nrs+tBu5w/XSNT8e3bKpq+IQYS4PG9QnV9tseOxJPgP/H10 FgPmga0oy7zsvFZBlUsiorWLvDlpS0YTVjHdtc64UGayZ/pI1h8FkkhvmfJVocKXbsNcBv GBL/tYqBGNacJNxKicbw0ADGlSt6Mq4SjR6r4g1ie717CmKBCKbZb8Cog8fE2Ku1BZyfEH Vb2RVfGnFyqQQRbmUp4hfkJQGPt4gts58702ESCvWe3qXRnU6DwepXikHJkcRg== 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=aa311234cd43e46a3a6db6775775b02678efde94 commit aa311234cd43e46a3a6db6775775b02678efde94 Author: Po-Chuan Hsieh AuthorDate: 2022-06-09 23:09:43 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-09 23:16:00 +0000 textproc/py-tableschema-to-template: Add py-tableschema-to-template 0.0.12 Given a Frictionless Table Schema, generate an Excel template with input validation. Features: - Enum constraints transformed into pull-downs. - Field descriptions transformed into comments in header. - Float, integer, and boolean type validation, with range checks on numbers. WWW: https://github.com/hubmapconsortium/tableschema-to-template --- textproc/Makefile | 1 + textproc/py-tableschema-to-template/Makefile | 26 ++++++++++++++++++++++++++ textproc/py-tableschema-to-template/distinfo | 3 +++ textproc/py-tableschema-to-template/pkg-descr | 9 +++++++++ 4 files changed, 39 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index abd3adfe1a86..ffbc944c1468 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1518,6 +1518,7 @@ SUBDIR += py-sphinxext-opengraph SUBDIR += py-spylls SUBDIR += py-stemming + SUBDIR += py-tableschema-to-template SUBDIR += py-tabletext SUBDIR += py-tablib SUBDIR += py-terminaltables diff --git a/textproc/py-tableschema-to-template/Makefile b/textproc/py-tableschema-to-template/Makefile new file mode 100644 index 000000000000..534e03f95f30 --- /dev/null +++ b/textproc/py-tableschema-to-template/Makefile @@ -0,0 +1,26 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= tableschema-to-template +PORTVERSION= 0.0.12 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Generate an Excel template with input validation from Frictionless Table Schema + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=1.0.0:devel/py-jsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=3.13:devel/py-yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}XlsxWriter>=1.2.8:textproc/py-xlsxwriter@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +post-patch: + @${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/VERSION + +.include diff --git a/textproc/py-tableschema-to-template/distinfo b/textproc/py-tableschema-to-template/distinfo new file mode 100644 index 000000000000..b1b538ae0fa3 --- /dev/null +++ b/textproc/py-tableschema-to-template/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1654774048 +SHA256 (tableschema-to-template-0.0.12.tar.gz) = 48dd107e60c45b9c4a167d47ff40d6584b0daa7a57dc2ccf9ef2430b2f8a030d +SIZE (tableschema-to-template-0.0.12.tar.gz) = 12146 diff --git a/textproc/py-tableschema-to-template/pkg-descr b/textproc/py-tableschema-to-template/pkg-descr new file mode 100644 index 000000000000..1273f7fd116c --- /dev/null +++ b/textproc/py-tableschema-to-template/pkg-descr @@ -0,0 +1,9 @@ +Given a Frictionless Table Schema, generate an Excel template with input +validation. + +Features: +- Enum constraints transformed into pull-downs. +- Field descriptions transformed into comments in header. +- Float, integer, and boolean type validation, with range checks on numbers. + +WWW: https://github.com/hubmapconsortium/tableschema-to-template