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:
parent
a2663b5d19
commit
d08cccaa48
@ -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
|
||||
|
23
textproc/py-atoml/Makefile
Normal file
23
textproc/py-atoml/Makefile
Normal 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>
|
3
textproc/py-atoml/distinfo
Normal file
3
textproc/py-atoml/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1632760428
|
||||
SHA256 (atoml-1.0.3.tar.gz) = 5dd70efcafde94a6aa5db2e8c6af5d832bf95b38f47d3283ee3779e920218e94
|
||||
SIZE (atoml-1.0.3.tar.gz) = 134947
|
39
textproc/py-atoml/files/setup.py
Normal file
39
textproc/py-atoml/files/setup.py
Normal 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)
|
9
textproc/py-atoml/pkg-descr
Normal file
9
textproc/py-atoml/pkg-descr
Normal 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
|
Loading…
Reference in New Issue
Block a user