Port details |
- py-ini2toml Automatically conversion of .ini/.cfg files to TOML equivalents
- 0.15 textproc =2 0.15Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2022-03-25 17:21:06
- Last Update: 2024-05-19 17:15:54
- Commit Hash: 68cd6bc
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MPL20
- WWW:
- https://github.com/abravalheri/ini2toml
- Description:
- The original purpose of this project is to help migrating setup.cfg files to PEP
621, but by extension it can also be used to convert any compatible .ini/.cfg
file to TOML.
Please notice, the provided .ini/.cfg files should follow the same syntax
supported by Python's ConfigParser library (here referred to as INI syntax) and
more specifically abide by ConfigUpdater restrictions (e.g., no interpolation or
repeated fields).
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}ini2toml>0:textproc/py-ini2toml@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/textproc/py-ini2toml/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/py-ini2toml
- pkg install py39-ini2toml
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-ini2toml listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-ini2toml
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1715842824
SHA256 (ini2toml-0.15.tar.gz) = d619139b1b9a92a92a56cd2f24a4fb31bf10a1b75c2968d8fe8f0ed3af5d64ce
SIZE (ini2toml-0.15.tar.gz) = 109236
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=46.1.0 : devel/py-setuptools@py39
- py39-setuptools-scm>=5 : devel/py-setuptools-scm@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-packaging>=20.7 : devel/py-packaging@py39
- py39-setuptools>=59.6 : devel/py-setuptools@py39
- py39-configupdater>=3.0.1<4 : devel/py-configupdater@py39
- py39-tomlkit>=0.10.0<2 : textproc/py-tomlkit@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for py39-ini2toml-0.15:
FULL=on: Create TOML document with TOML-equivalent comment
LITE=off: Create TOML document without comment
===> Use 'make config' to modify these settings
- Options name:
- textproc_py-ini2toml
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.15 19 May 2024 17:15:54 |
Po-Chuan Hsieh (sunpoet) |
textproc/py-ini2toml: Update to 0.15
Changes: https://github.com/abravalheri/ini2toml/releases |
0.13 08 Apr 2024 06:46:59 |
Po-Chuan Hsieh (sunpoet) |
textproc/py-ini2toml: Remove PY_SETUPTOOLS
py-setuptools should be used rather than PY_SETUPTOOLS |
0.13 29 Feb 2024 07:18:32 |
Charlie Li (vishwin) |
devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288 |
0.13 01 Nov 2023 02:08:30 |
Po-Chuan Hsieh (sunpoet) |
textproc/py-ini2toml: Update to 0.13
Changes: https://github.com/abravalheri/ini2toml/releases |
0.12_1 18 Jul 2023 00:53:09 |
Charlie Li (vishwin) |
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.
With hat: python
PR: 270510, 270358 |
0.12_1 30 Jun 2023 07:04:55 |
Po-Chuan Hsieh (sunpoet) |
textproc/py-ini2toml: Convert to USE_PYTHON=pep517
- Remove outdated PYTHON_REL check after lang/python37 removal
- Bump PORTREVISION for package change |
0.12 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
0.12 05 Apr 2023 17:30:53 |
Po-Chuan Hsieh (sunpoet) |
textproc/py-ini2toml: Update to 0.12
Changes: https://github.com/abravalheri/ini2toml/releases |
0.11 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.11 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.11 20 Jul 2022 14:23:14 |
Tobias C. Berner (tcberner) |
textproc: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Choe, Cheng-Dae" whitekid
* -
* <glewis@FreeBSD.org>
* <koshy@india.hp.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron Straup Cope
* Aaron Straup Cope <ascope@cpan.org>
* Ache
* Adam Herzog <adam@herzogdesigns.com>
* Adam Weinberger <adamw@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
0.11 29 Jun 2022 21:50:15 |
Po-Chuan Hsieh (sunpoet) |
textproc/py-ini2toml: Update to 0.11
Changes: https://github.com/abravalheri/ini2toml/releases |
0.10_1 21 Jun 2022 16:36:23 |
Po-Chuan Hsieh (sunpoet) |
textproc/py-ini2toml: Add FULL and LITE options
- Bump PORTREVISION for dependency change |
0.10 25 Mar 2022 17:19:23 |
Po-Chuan Hsieh (sunpoet) |
textproc/py-ini2toml: Add py-ini2toml 0.10
The original purpose of this project is to help migrating setup.cfg files to PEP
621, but by extension it can also be used to convert any compatible .ini/.cfg
file to TOML.
Please notice, the provided .ini/.cfg files should follow the same syntax
supported by Python's ConfigParser library (here referred to as INI syntax) and
more specifically abide by ConfigUpdater restrictions (e.g., no interpolation or
repeated fields).
WWW: https://github.com/abravalheri/ini2toml |