mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
textproc/py-tomlpp: Add new port
pytomlpp is a python wrapper for toml++ PR: 278970
This commit is contained in:
parent
de0cae82c2
commit
b242f73331
@ -1549,6 +1549,7 @@
|
||||
SUBDIR += py-pytidylib
|
||||
SUBDIR += py-pytkdocs
|
||||
SUBDIR += py-pytoml
|
||||
SUBDIR += py-pytomlpp
|
||||
SUBDIR += py-pyx12
|
||||
SUBDIR += py-pyxlsb2
|
||||
SUBDIR += py-qrcode
|
||||
|
23
textproc/py-pytomlpp/Makefile
Normal file
23
textproc/py-pytomlpp/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
PORTNAME= pytomlpp
|
||||
DISTVERSION= 1.0.13
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= DtxdF@disroot.org
|
||||
COMMENT= Python wrapper for toml++
|
||||
WWW= https://pypi.org/project/${PORTNAME}/ \
|
||||
https://github.com/bobfang1992/${PORTNAME}
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>=0:devel/py-pybind11@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/_impl.cpython-${PYTHON_VER:S/.//}.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
textproc/py-pytomlpp/distinfo
Normal file
3
textproc/py-pytomlpp/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1715548613
|
||||
SHA256 (pytomlpp-1.0.13.tar.gz) = a0bd639a8f624d1bdf5b3ea94363ca23dbfef38ab7b5b9348881a84afab434ad
|
||||
SIZE (pytomlpp-1.0.13.tar.gz) = 1309165
|
16
textproc/py-pytomlpp/pkg-descr
Normal file
16
textproc/py-pytomlpp/pkg-descr
Normal file
@ -0,0 +1,16 @@
|
||||
pytomlpp is a python wrapper for toml++.
|
||||
|
||||
Some points you may want to know before use:
|
||||
|
||||
* Using toml++ means that this module is fully compatible with TOML
|
||||
v1.0.0.
|
||||
* We convert toml structure to native python data structures
|
||||
(dict/list etc.) when parsing, this is more inline with what json
|
||||
module does.
|
||||
* The binding is using pybind11.
|
||||
* The project is tested using toml-test and pytest.
|
||||
* We support all major platforms
|
||||
(Linux, Mac OSX and Windows), for both CPython and Pypy and all
|
||||
recent Python versions. You just need to pip install and we have a
|
||||
pre-compiled binaries ready. No need to play with clang, cmake or
|
||||
any C++ toolchains.
|
Loading…
Reference in New Issue
Block a user