Date: Mon, 27 Sep 2021 19:48:59 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d08cccaa487f - main - textproc/py-atoml: Add py-atoml 1.0.3 Message-ID: <202109271948.18RJmxnC042555@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d08cccaa487fc24db7a691ef29ae48a01dbef2d2 commit d08cccaa487fc24db7a691ef29ae48a01dbef2d2 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-09-27 19:44:07 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> 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 <sunpoet@FreeBSD.org> + +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 <bsd.port.mk> 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 <mianghong@gmail.com>,Sébastien Eustace <sebastien@eustace.io>', + '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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109271948.18RJmxnC042555>