<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ports/sysutils/py-docker, branch 13.1-eol</title>
<subtitle>FreeBSD ports tree</subtitle>
<id>https://cgit-dev.freebsd.org/ports/atom?h=13.1-eol</id>
<link rel='self' href='https://cgit-dev.freebsd.org/ports/atom?h=13.1-eol'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/'/>
<updated>2023-06-27T19:34:34Z</updated>
<entry>
<title>all: remove explicit versions in USES=python for "3.x+"</title>
<updated>2023-06-27T19:34:34Z</updated>
<author>
<name>Rene Ladan</name>
<email>rene@FreeBSD.org</email>
</author>
<published>2023-06-14T22:00:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=3d9a815d9c5acbb71f4bb07738bdeab4879feacb'/>
<id>urn:sha1:3d9a815d9c5acbb71f4bb07738bdeab4879feacb</id>
<content type='text'>
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:	&lt;https://reviews.freebsd.org/D40568&gt;
</content>
</entry>
<entry>
<title>USE_PYTHON=pep517: bump PORTREVISION</title>
<updated>2023-04-04T18:29:11Z</updated>
<author>
<name>Antoine Brodin</name>
<email>antoine@FreeBSD.org</email>
</author>
<published>2023-04-04T18:29:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=1730e97e049085a8fe5536788d214cbfc4eb3123'/>
<id>urn:sha1:1730e97e049085a8fe5536788d214cbfc4eb3123</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sysutils/py-docker: Change MAINTAINERship to myself</title>
<updated>2023-02-23T08:59:52Z</updated>
<author>
<name>Norikatsu Shigemura</name>
<email>nork@FreeBSD.org</email>
</author>
<published>2023-02-23T08:59:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=c980f147e886ad1e1d7620134d3fe39318c80d06'/>
<id>urn:sha1:c980f147e886ad1e1d7620134d3fe39318c80d06</id>
<content type='text'>
Approved by: hrs (mentor)
</content>
</entry>
<entry>
<title>Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode"</title>
<updated>2023-02-05T19:05:02Z</updated>
<author>
<name>Charlie Li</name>
<email>vishwin@FreeBSD.org</email>
</author>
<published>2023-02-05T19:05:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=f5890bd3cbc66a805bfc04a1a45688b5a3e68c50'/>
<id>urn:sha1:f5890bd3cbc66a805bfc04a1a45688b5a3e68c50</id>
<content type='text'>
Despite installer's default behaviour to compile and install bytecode,
we are not doing so going forward at stage/package time. [0] During
initial development and qualification of PEP-517 framework support,
compiling and installing bytecode at stage/package time was considered,
but was found problematic, fragile and ultimately unreliable, both
currently and historically (with USE_PYTHON=distutils), due to our
fixed plist requirement. While the living binary distribution format
(wheel) specification [1] says to compile bytecode, that is in the
pure Python package management context (pip, etc); nuance always
exists when interacting with "system" package management.

Additionally, "bytecode is an implementation detail of the CPython
interpreter. No guarantees are made that bytecode will not be added,
removed, or changed between versions of Python," thus "should not
be considered to work across Python VMs or Python releases." [2]
This is important to ensuring correctness for those ports specifying
NO_ARCH.

Instead of compiling and installing bytecode at stage/package time,
there is a WIP, review D34739, that compiles and installs bytecode
at install time instead, using triggers.

The aforementioned build_fs_violations will be investigated.

This reverts commit de6965254c3a007efcf697c3d455b54d2aeb2383.

With hat:	python
Approved by:	tcberner (mentor, portmgr)
Reference:	https://wiki.freebsd.org/Python/PEP-517 [0]
		https://packaging.python.org/en/latest/specifications/binary-distribution-format/ [1]
		https://docs.python.org/3/library/dis.html [2]
</content>
</entry>
<entry>
<title>Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode</title>
<updated>2023-02-05T18:16:47Z</updated>
<author>
<name>Po-Chuan Hsieh</name>
<email>sunpoet@FreeBSD.org</email>
</author>
<published>2023-02-05T18:16:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=de6965254c3a007efcf697c3d455b54d2aeb2383'/>
<id>urn:sha1:de6965254c3a007efcf697c3d455b54d2aeb2383</id>
<content type='text'>
- While I'm here, use long options for easier reading [1][2]
- Bump PORTREVISION of dependent ports (USE_PYTHON=pep517) for package change

It fixes build_fs_violation of dependent ports in poudriere (with -t flag).
It is also the default behavior of installer [2].

from py-sphinx log:
=&gt;&gt; Checking for staging violations... done
=&gt;&gt; Error: Filesystem touched during stage (files must install to ${STAGEDIR}):
extra: usr/local/lib/python3.9/site-packages/importlib_metadata/__pycache__
=&gt;&gt; Cleaning up wrkdir

from installer documentation:
--compile-bytecode
    Possible choices: 0, 1, 2
    generate bytecode for the specified optimization level(s) (default=0, 1)
--no-compile-bytecode
    don’t generate bytecode for installed modules
    Default: False

With hat:	python
Reference:	https://pypa-build.readthedocs.io/en/stable/ [1]
		https://installer.pypa.io/en/stable/cli/installer/ [2]
</content>
</entry>
<entry>
<title>sysutils/py-docker: Adopt/Update to 6.0.1</title>
<updated>2023-01-12T10:02:54Z</updated>
<author>
<name>Norikatsu Shigemura</name>
<email>nork@ninth-nine.com</email>
</author>
<published>2023-01-12T10:01:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=8bd80665ccad01c95a2ffd078c8853c103901ca9'/>
<id>urn:sha1:8bd80665ccad01c95a2ffd078c8853c103901ca9</id>
<content type='text'>
 - Submitter becomes maintainer
 - Switch to pep517 build

ChangeLog:	https://github.com/docker/docker-py/compare/5.0.3...6.0.1
PR:		266681
</content>
</entry>
<entry>
<title>*/*: rename CHEESESHOP to PYPI in MASTER_SITES</title>
<updated>2023-01-11T15:58:34Z</updated>
<author>
<name>Dmitry Marakasov</name>
<email>amdmi3@FreeBSD.org</email>
</author>
<published>2023-01-11T15:47:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=77d68471aded6907dbbcb5ef50d557e4c69db656'/>
<id>urn:sha1:77d68471aded6907dbbcb5ef50d557e4c69db656</id>
<content type='text'>
PR:			267994
Differential revision:	D37518
Approved by:		bapt
</content>
</entry>
<entry>
<title>sysutils/py-docker: Release maintainership</title>
<updated>2022-10-13T08:30:08Z</updated>
<author>
<name>Guangyuan Yang</name>
<email>ygy@FreeBSD.org</email>
</author>
<published>2022-10-13T08:30:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=03c4657c670ae4090e51efa5800f7385e3334463'/>
<id>urn:sha1:03c4657c670ae4090e51efa5800f7385e3334463</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove WWW entries moved into port Makefiles</title>
<updated>2022-09-07T21:58:51Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2022-09-07T21:30:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4'/>
<id>urn:sha1:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4</id>
<content type='text'>
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)
</content>
</entry>
<entry>
<title>Add WWW entries to port Makefiles</title>
<updated>2022-09-07T21:10:59Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2022-09-07T21:06:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/ports/commit/?id=b7f05445c00f2625aa19b4154ebcbce5ed2daa52'/>
<id>urn:sha1:b7f05445c00f2625aa19b4154ebcbce5ed2daa52</id>
<content type='text'>
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)
</content>
</entry>
</feed>
