From owner-dev-commits-ports-all@freebsd.org Mon Sep 27 19:49:00 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9BAD966EB96; Mon, 27 Sep 2021 19:49:00 +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 4HJCrD0zpdz4gDJ; Mon, 27 Sep 2021 19:49:00 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 ED05C17086; Mon, 27 Sep 2021 19:48:59 +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 18RJmx38042556; Mon, 27 Sep 2021 19:48:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18RJmxnC042555; Mon, 27 Sep 2021 19:48:59 GMT (envelope-from git) Date: Mon, 27 Sep 2021 19:48:59 GMT Message-Id: <202109271948.18RJmxnC042555@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: d08cccaa487f - main - textproc/py-atoml: Add py-atoml 1.0.3 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: d08cccaa487fc24db7a691ef29ae48a01dbef2d2 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2021 19:49:00 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d08cccaa487fc24db7a691ef29ae48a01dbef2d2 commit d08cccaa487fc24db7a691ef29ae48a01dbef2d2 Author: Po-Chuan Hsieh AuthorDate: 2021-09-27 19:44:07 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-09-27 19:48:07 +0000 textproc/py-atoml: Add py-atoml 1.0.3 ATOML is a 1.0.0rc1-compliant TOML library. It includes a parser that preserves all comments, indentations, whitespace and internal element ordering, and makes them accessible and editable via an intuitive API. You can also create new TOML documents from scratch using the provided helpers. WWW: https://github.com/frostming/atoml --- textproc/Makefile | 1 + textproc/py-atoml/Makefile | 23 +++++++++++++++++++++++ textproc/py-atoml/distinfo | 3 +++ textproc/py-atoml/files/setup.py | 39 +++++++++++++++++++++++++++++++++++++++ textproc/py-atoml/pkg-descr | 9 +++++++++ 5 files changed, 75 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index c83c8e7effbe..2fb979272429 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1251,6 +1251,7 @@ SUBDIR += py-arabic-reshaper SUBDIR += py-asciinema SUBDIR += py-asonic + SUBDIR += py-atoml SUBDIR += py-autopep8 SUBDIR += py-awesome-slugify SUBDIR += py-bibtexparser diff --git a/textproc/py-atoml/Makefile b/textproc/py-atoml/Makefile new file mode 100644 index 000000000000..4d5bd973a4ff --- /dev/null +++ b/textproc/py-atoml/Makefile @@ -0,0 +1,23 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= atoml +PORTVERSION= 1.0.3 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Yet another style preserving TOML library + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +post-patch: + @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ + +.include diff --git a/textproc/py-atoml/distinfo b/textproc/py-atoml/distinfo new file mode 100644 index 000000000000..a971eb637498 --- /dev/null +++ b/textproc/py-atoml/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1632760428 +SHA256 (atoml-1.0.3.tar.gz) = 5dd70efcafde94a6aa5db2e8c6af5d832bf95b38f47d3283ee3779e920218e94 +SIZE (atoml-1.0.3.tar.gz) = 134947 diff --git a/textproc/py-atoml/files/setup.py b/textproc/py-atoml/files/setup.py new file mode 100644 index 000000000000..95c58e86aea1 --- /dev/null +++ b/textproc/py-atoml/files/setup.py @@ -0,0 +1,39 @@ + +# -*- coding: utf-8 -*- +from setuptools import setup + +import codecs + +with codecs.open('README.md', encoding="utf-8") as fp: + long_description = fp.read() + +setup_kwargs = { + 'name': 'atoml', + 'version': '1.0.3', + 'description': 'Yet another style preserving TOML library', + 'long_description': long_description, + 'license': 'MIT', + 'author': '', + 'author_email': 'Frost Ming ,Sébastien Eustace ', + 'maintainer': None, + 'maintainer_email': None, + 'url': '', + 'packages': [ + 'atoml', + ], + 'package_data': {'': ['*']}, + 'long_description_content_type': 'text/markdown', + 'classifiers': [ + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + ], + 'python_requires': '>=3.6', + +} + + +setup(**setup_kwargs) diff --git a/textproc/py-atoml/pkg-descr b/textproc/py-atoml/pkg-descr new file mode 100644 index 000000000000..243400d7e447 --- /dev/null +++ b/textproc/py-atoml/pkg-descr @@ -0,0 +1,9 @@ +ATOML is a 1.0.0rc1-compliant TOML library. + +It includes a parser that preserves all comments, indentations, whitespace and +internal element ordering, and makes them accessible and editable via an +intuitive API. + +You can also create new TOML documents from scratch using the provided helpers. + +WWW: https://github.com/frostming/atoml