2022-03-25 18:15:19 +01:00
|
|
|
PORTNAME= ini2toml
|
2023-04-05 19:19:28 +02:00
|
|
|
PORTVERSION= 0.12
|
2023-06-30 09:04:55 +02:00
|
|
|
PORTREVISION= 1
|
2022-03-25 18:15:19 +01:00
|
|
|
CATEGORIES= textproc python
|
2023-01-11 16:47:15 +01:00
|
|
|
MASTER_SITES= PYPI
|
2022-03-25 18:15:19 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
|
|
COMMENT= Automatically conversion of .ini/.cfg files to TOML equivalents
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://github.com/abravalheri/ini2toml
|
2022-03-25 18:15:19 +01:00
|
|
|
|
|
|
|
LICENSE= MPL20
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
|
2023-07-18 02:16:21 +02:00
|
|
|
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
2023-06-30 09:04:55 +02:00
|
|
|
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=5:devel/py-setuptools_scm@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
2022-03-25 18:15:19 +01:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=20.7:devel/py-packaging@${PY_FLAVOR}
|
|
|
|
|
2023-06-15 00:00:28 +02:00
|
|
|
USES= python
|
2023-06-30 09:04:55 +02:00
|
|
|
USE_PYTHON= autoplist concurrent pep517
|
2022-03-25 18:15:19 +01:00
|
|
|
|
|
|
|
NO_ARCH= yes
|
|
|
|
|
2022-06-21 18:33:15 +02:00
|
|
|
OPTIONS_DEFINE= FULL LITE
|
|
|
|
OPTIONS_DEFAULT=FULL
|
|
|
|
FULL_DESC= Create TOML document with TOML-equivalent comment
|
|
|
|
LITE_DESC= Create TOML document without comment
|
|
|
|
|
|
|
|
FULL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configupdater>=3.0.1<4:devel/py-configupdater@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}tomlkit>=0.10.0<2:textproc/py-tomlkit@${PY_FLAVOR}
|
|
|
|
LITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tomli-w>=0.4.0<2:textproc/py-tomli-w@${PY_FLAVOR}
|
|
|
|
|
2023-06-30 09:04:55 +02:00
|
|
|
.include <bsd.port.mk>
|