1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00

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
This commit is contained in:
Po-Chuan Hsieh 2021-09-28 03:44:07 +08:00
parent a2663b5d19
commit d08cccaa48
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
5 changed files with 75 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1632760428
SHA256 (atoml-1.0.3.tar.gz) = 5dd70efcafde94a6aa5db2e8c6af5d832bf95b38f47d3283ee3779e920218e94
SIZE (atoml-1.0.3.tar.gz) = 134947

View File

@ -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)

View File

@ -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