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 py312-libtorrent-rasterbar listed in the above command, you can pick from the names under the Packages section.
net-p2p/py-libtorrent-rasterbar: fix build of net-p2p/deluge-cli
net-p2p/py-libtorrent-rasterbar was building a fresh copy of
libtorrent-rasterbar.so* which was built, linked to from the
Python module's shared library, and then discarded.
The built shared lib had a different SONAME for whatever reason,
possibly due to bugs in b2, so this package wasn't finding a
compatible libtorrent-rasterbar.so* library at the run-time.
This caused a failure in deluge-cli because it couldn't install
a dependency.
This change removes the build of libtorrent-rasterbar.so* and uses
the one that is built by the dependency port.
PR: 294658
net-p2p/libtorrent-rasterbar2: revert "net-p2p/libtorrent-rasterbar2: update
2.0.13 → 2.1.1"
There are run-time issues that need to be investigated.
This reverts commit 7c412d80f232eb225c1d48ff72d5fab1dd8769e9.
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.
(Only the first 15 lines of the commit message are shown above )
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.
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>
net-p2p/{,py-}libtorrent-rasterbar: update to 1.2.18
And fix python bindings in preparation for update of net-p2p/deluge-cli.
PR: 264970
Reported by: jocke@gipset.se
Approved by: yuri@ (maintainer)
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)
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 )
net-p2p: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Alexander Botero-Lowry <alex@foxybanana.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Attila Nagy <bra@fsn.hu>
* Chad J. Milios <milios@ccsys.com>
* Damian Gerow <dgerow@afflictions.org>
* Daniel Morante <daniel@morante.net>
* Dave Cottlehuber <dch@skunkwerks.at>
* Dereckson <dereckson@gmail.com>
* Devin Teske <dteske@FreeBSD.org>
* Dmitriy Limonov
(Only the first 15 lines of the commit message are shown above )
net-p2p/{,py-}libtorrent-rasterbar: Update 1.2.14 -> 2.0.6-27
Python binding is BROKEN for now.
Thanks to Daniel Engberg for suggestion to try the latest commit with
-std=c++17.
PR: 264278261090
Relax hardcoded paths to fix build with Python 3.8.7
Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme. This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".
The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.
Remedy the issue by adding wildcards to these paths. This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.
[1] https://bugs.python.org/issue42604
PR: 252057
Reported by: John Kennedy
Reviewed by: fluffy, koobs
Approved by: koobs (python)
net-p2p/py-libtorrent-rasterbar: Update 1.2.2 -> 1.2.4; Unbreak.
portscout failed to detect this version change, which caused a delay in the port
update.
PR: 244672
Submitted by: Felix Hanley (felix@userspace.com.au) (part of the change)
Create forks of ports net-p2p/libtorrent-rasterbar and
net-p2p/py-libtorrent-rasterbar to unbreak net-p2p/deluge-cli
net-p2p/deluge-cli is broken with the latest version of libtorrent-rasterbar.
MFH: 2020Q1
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
net-p2p/py-libtorrent-rasterbar: unbreak with boost 1.69
bindings/python/src/error_code.cpp:119:10: error: no matching member function
for call to 'def'
.def("message", &error_category::message)
~^~~
/usr/local/include/boost/python/class.hpp:229:11: note: candidate template
ignored: couldn't infer template argument 'F'
self& def(char const* name, F f)
^
/usr/local/include/boost/python/class.hpp:219:11: note: candidate function
template not viable: requires single argument 'visitor', but 2 arguments were
provided
self& def(def_visitor<Derived> const& visitor)
^
/usr/local/include/boost/python/class.hpp:238:11: note: candidate function
template not viable: requires 3 arguments, but 2 were provided
self& def(char const* name, A1 a1, A2 const& a2)
^
/usr/local/include/boost/python/class.hpp:245:11: note: candidate function
template not viable: requires 4 arguments, but 2 were provided
(Only the first 15 lines of the commit message are shown above )
net-p2p/py-libtorrent-rasterbar: Add workarounds for several bugs in the python
binding
Several missing symbol problems are worked around by adding a define to CFLAGS,
and adding libraries to LDFLAGS.
Also fix a typo in pkg-descr.
Reported by: TJ <tj@mrsk.me>