python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc EXT_SUFFIX, according to PEP 3149, refers to the full tag and extension for compiled extension module objects, eg .cpython-311.so, .cpython-313t.so, etc. We do not use the correct semantic meaning, and this usage becomes ambiguous and confusing when tags do not match between bytecode and compiled extension module objects. Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's specification of a magic tag, which consists of implementation name and shorthand version only. This is meant for bytecode and other files containing this tag in their filename that do not depend on a specific Python ABI for the same version. Chase all existing consumers. Introduce PYTHON_SOABI to align with PEP 3149's specification of a tag, which consists of implementation name, shorthand version and any ABI flags present (this and PYTHON_TAG are identical without ABI flags). This is meant for compiled extension module objects and other files that depend on a specific Python ABI for the same version. Add documentation for these variables that our PYTHON_EXT_SUFFIX never had. PR: 274671 Event: Kitchener-Waterloo Hackathon 2025064f0eba1efd
Port details
converters/py-bsdconv11.3.0_1
Python wrapper for bsdconv
- Maintainer
- buganini@gmail.com
- Packages
- py312-bsdconv 11.3.0_1
- Upstream
- up to date
- CPE
- none, CVEs only via VuXML
- WWW
- https://github.com/buganini/python-bsdconv
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (34)
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.06a08e69f3
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>3d9a815d9cRemove 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)fb16dfecae
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. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
converters: remove 'Created by' lines A big Thank You to the original contributors of these ports: * Aaron Dalton <aaron@FreeBSD.org> * Akinori MUSHA aka knu <knu@idaemons.org> * Alex Keda <admin@lissyara.su> * Alex Semenyaka <alex@rinet.ru> * Alexandr Kovalenko <never@nevermind.kiev.ua> * Andreas Klemm <andreas@klemm.gtn.com> * Andrey A. Chernov <ache@FreeBSD.org> * Anton Berezin <tobez@FreeBSD.org> * Blaz Zupan <blaz@amis.net> * Brent J. Nordquist <bjn@visi.com> * Carlos J. Puga Medina <cpm@fbsd.es> * Cezary Morga <cm@therek.net> * Cheng-Lung Sung <clsung@FreeBSD.org> * Chris Costello <chris@FreeBSD.org> * Cyrus Rahman <cr@jcmax.com> * Dan Rench <citric@cubicone.tmetic.com> * Denis Pokataev <catone@cpan.org> * Dmitry Sivachenko <dima@Chg.RU> * Douglas Thrift <douglas@douglasthrift.net> * Emanuel Haupt <ehaupt@FreeBSD.org> * Erwin Lansing <erwin@lansing.dk> * G. Adam Stanislav * G. Adam Stanislav <adam@whizkidtech.net> * Gea-Suan Lin <gslin@gslin.org> * Gvozdikov Veniamin <g.veniamin@googlemail.com> * Ilia Chipitsine <ilia@jane.cgu.chel.su> * Ismail Yenigul <ismail.yenigul@surgate.com> * James FitzGibbon <jfitz@FreeBSD.org> * Jan-Peter Koopmann <j.koopmann@seceidos.de> * Jason Burgess <dev@fenux.net> * Kevin Lo <kevlo@FreeBSD.org> * Konstantin Chuguev <Konstantin.Chuguev@dante.org.uk> * Kuang-che Wu <kcwu@csie.org> * Lung Sung <clsung@FreeBSD.org> * M.Indlekofer@gmx.de * Marc Fournier <scrappy@FreeBSD.org> * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> * Mark Felder <feld@FreeBSD.org> * Martin Matuska <mm@FreeBSD.org> * Masanori Kiriake <seiken@nbs.co.jp> * Maxim Sobolev <sobomax@FreeBSD.org> * Michael Haro <mharo@FreeBSD.org> * Michael Johnson <ahze@FreeBSD.org> * Nosov Artem <chip-set@mail.ru> * Oleg R. Muhutdinov <mor@WhiteLuna.com> * Oscar Bonilla <obonilla@fisicc-ufm.edu> * Patrick Li <pat@databits.net> * Pav Lucistnik <pav@oook.cz> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Rodrigo Graeff <delphus@gmail.com> * Rong-En Fan <rafan@infor.org> * Ryan T. Dean <rtdean@cytherianage.net> * Seamus Venasse <svenasse@polaris.ca> * Sergey Skvortsov <skv@protey.ru> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * TAKATSU Tomonari <tota@FreeBSD.org> * Thomas Dreibholz <dreibh@iem.uni-due.de> * Tim Vanderhoek <ac199@freenet.hamilton.on.ca> * Timur Bakeyev <bat@cpan.org> * Timur Bakeyev <timur@FreeBSD.org> * Timur I. Bakeyev <bat@cpan.org> * Torsten Zuehlsdorff <ports@toco-domains.de> * Veniamin Gvozdikov <vg@FreeBSD.org> * Vladimir Timofeev <vovkasm@gmail.com> * Wen Heping <wen@FreeBSD.org> * Wen Heping <wenheping@gmail.com> * ache * ache@FreeBSD.org * buganini@gmail.com * chinsan * hosokawa * ijliao * kbyanc * keiichi@iijlab.net * never@nevermind.kiev.ua * nork@FreeBSD.org * nork@cityfujisawa.ne.jp * roman@xpert.com * samm * thierry@pompo.net * torstenb@FreeBSD.org * trevor * vanilla@ * will With hat: portmgr9ee281eef7
Remove # $FreeBSD$ from Makefiles.305f148f48
Drop python 2.7 support from a few ports With hat: portmgraa7a6c429e
converters/py-bsdconv: switch to PYTHON_EXT_SUFFIXdb4cf77a44
Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat: portmgr
Sponsored by: Absolight7f4572eae4- Update to 11.3.0 - Strip shared library Changes: https://github.com/buganini/python-bsdconv/releases PR: 201014 Submitted by: sunpoet (myself) Approved by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)f1c490e8a4
Update ports in the [bcd]* categories to not use GH_COMMIT. With minor cleanups to make things simpler. With hat: portmgr Sponsored by: Absolightc6457ffef4
Update "BSD" license for buganini's ports3240a1d2ff
- Convert ports from cad/, chinese/, comms/ and converters/ to new USES=python Approved by: portmgr (implicit)dae43d7a6d
- Stage PR: ports/188595 Submitted by: Bartek Rutkowski <ports@robakdesign.com> Approved by: portmgr@ (blanket)2dcf4be8df
- Update to 11.1.0 - While I'm here, convert to new LIB_DEPENDS format Changes: https://github.com/buganini/python-bsdconv/commits/master PR: ports/182261 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)b35e5ff035
Add NO_STAGE all over the place in preparation for the staging support (cat: converters)1e4b97cf2b
- Update to 10.0.0 PR: ports/178135 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)d3cfa97672
- Use GH_ACCOUNT in DISTNAME Suggested by: sunpoet Approved by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)eb86e4311c
- Update bsdconv and wrappers to 9.0 [1] - Switch to USE_GITHUB for fetching - Update to new header format - Mark converters/bsdconv as MAKE_JOBS_UNSAFE - Add prefix into DISTNAMEs to avoid conflicts
Changelog for converters/bsdconv:
9.0:
fix for MinGW
export bsdconv_malloc/bsdconv_free
add {from,to}/CCCII
add inter/ZH-STRINGS
internal API changes for use of bsdconv_ctl in wrappers
bugfixes
8.0:
add flush function into callback interface
for supporting inter/OPENCC* ( http://github.com/buganini/bsdconv-opencc )
sync data from project chvar
update inter/KANA_PHONETIC
use double data type for score value
add inter/TRIM-WIDTH
Changelog for converters/{p5,php5,py,ruby}-bsdconv:
update/add ctl function
add mktemp/fopen function
PR: ports/172263 [1]
Submitted by: Kuan-Chung Chiu <buganini@gmail.com> [1]b57055d4c2- Update to 7.3 - While I'm here, pet portlint by removing ABI version number from LIB_DEPENDS Changes: - info(): add width information Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer, via IRC)3a3e6b2b0f
- Update to 7.3 Changes: https://github.com/buganini/python-bsdconv/commits/master PR: ports/163949 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)5e62545324
- Update to 7.2 Changes: https://github.com/buganini/python-bsdconv/commits/master PR: ports/163695 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)8c7b022aea
- Update to 7.1 Changes: - Update README - Use PyObject_DEL instead of PyObject_Del - Add testconv(), testconv_chunk(), testconv_chunk_last(), testconv_file() PR: ports/163532 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)6e07f43495
- Update to 7.0 Changes: - OO-style wrapping - Chase changes in bsdconv PR: portsr/162654 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer) Feature safe: yesf139c048bd
- Update to 6.6 Changes: - Compatibiliy with python 3 - Fix bug in PyObject deletion PR: ports/162184 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)071a53af11
- Update to 6.0 PR: ports/162173 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)f5aaa18d60
- Chase converters/bsdconv shlib version bump - Bump PORTREVISIONe8a9143a8e
- Update bsdconv family to 5.0 - While I'm here, update WWW of converters/*-bsdconv Changes: https://github.com/buganini/bsdconv/blob/6a43b56713fe84c0a198c4f712b2b9d13ce3f3cf/Changelog PR: ports/157306 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)02c0915a10
- Update to 4.6 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer, via IRC)ce62ca6298
- Use converters/bsdconv as master port PR: ports/156439 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)38b3e7efc8
- Update to 4.3 PR: ports/153741 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer) Feature safe: yes5e552a18db
- Update bsdconv and related to 3.6.2 * More inter-mapping conversion * Add transliteration table for CP950/CP936 * No known bug, valgrind clean now PR: ports/147866 Submitted by: Kuan-Chung Chiu <buganini@gmail.com> (maintainer)a790419a89
BSD licensed charset/encoding converter library with more function than libiconv. (Currently, only a few codecs are supported) This port is a python wrapper for bsdconv. WWW: http://github.com/buganini/bsdconv/ PR: ports/139524 Submitted by: buganini at gmail.com5af7bc41cb