View | Details | Raw Unified | Return to bug 278970
Collapse All | Expand All

(-)b/textproc/py-pytomlpp/Makefile (+23 lines)
Added Link Here
1
PORTNAME=	pytomlpp
2
DISTVERSION=	1.0.13
3
CATEGORIES=	textproc python
4
MASTER_SITES=	PYPI
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
7
MAINTAINER=	DtxdF@disroot.org
8
COMMENT=	Python wrapper for toml++
9
WWW=		https://pypi.org/project/${PORTNAME}/ \
10
		https://github.com/bobfang1992/${PORTNAME}
11
12
LICENSE=	MIT
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pybind11>=0:devel/py-pybind11@${PY_FLAVOR}
16
17
USES=		python
18
USE_PYTHON=	autoplist distutils
19
20
post-install:
21
	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/_impl.cpython-${PYTHON_VER:S/.//}.so
22
23
.include <bsd.port.mk>
(-)b/textproc/py-pytomlpp/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1715548613
2
SHA256 (pytomlpp-1.0.13.tar.gz) = a0bd639a8f624d1bdf5b3ea94363ca23dbfef38ab7b5b9348881a84afab434ad
3
SIZE (pytomlpp-1.0.13.tar.gz) = 1309165
(-)b/textproc/py-pytomlpp/pkg-descr (-1 / +16 lines)
Added Link Here
0
- 
1
pytomlpp is a python wrapper for toml++.
2
3
Some points you may want to know before use:
4
5
* Using toml++ means that this module is fully compatible with TOML
6
  v1.0.0.
7
* We convert toml structure to native python data structures
8
  (dict/list etc.) when parsing, this is more inline with what json
9
  module does.
10
* The binding is using pybind11.
11
* The project is tested using toml-test and pytest.
12
* We support all major platforms
13
  (Linux, Mac OSX and Windows), for both CPython and Pypy and all
14
  recent Python versions. You just need to pip install and we have a
15
  pre-compiled binaries ready. No need to play with clang, cmake or
16
  any C++ toolchains.

Return to bug 278970