Google pasta aims to provide python source code refactoring through AST
modifications.
With the goal to be able to safely migrate code from one api to another.
Refectory code to enfore a certain style and to facilitate moving or renaming
python modules by rewriting import statements.
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-google-pasta listed in the above command, you can pick from the names under the Packages section.
devel/py-google-pasta: Update 0.1.7 => 0.2.0, take maintainership
The project is archived upstream and 0.2.0 is the final release.
While here:
- Switch to pep517.
- Switch to DISTVERSION.
- Remove obsolete patch files/patch-setup.py.
- Add patch to fix one of the tests.
- Add unittest to USE_PYTHON.
Commit log:
https://github.com/google/pasta/compare/v0.1.7...v0.2.0
PR: 297803
Approved by: osa, vvd (Mentors, implicit)
*/*: Reset maintainer amzo1337@gmail.com to ports@FreeBSD.org
The maintainer's last activity was a Bugzilla submission in September 2022 about
updating py-keras.
No activity of any kind afterwards.
Account of failures to respond spanning for 3+ years (the FreeBSD policy is 3
months) is below.
maintainer timeouts in science/py-tensorflow:
* Jul 1 06:23:34 2025
* Feb 23 05:18:05 2026
unanswered bug reports for science/py-tensorflow:
┌─────────────────────────────────────────────────────────────────────┬─────────────────────────┬───────────────────────┬────────────┬────────────┐
│ Bug │ Port
│ Summary │ Filed │ Timed Out │
├─────────────────────────────────────────────────────────────────────┼─────────────────────────┼───────────────────────┼────────────┼────────────┤
(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>
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 )
devel/py-google-pasta: Add missing dependency
six is a documented [1][2] dependency, add it to install_requires
accordingly.
While I'm here, add a test target and patch setup.py so it doesn't run
the tests twice.
[1] https://github.com/google/pasta#dependencies
[2] https://github.com/google/pasta/pull/77
Approved by: portmgr (blanket(s): missing dependencies, framework)
MFH: 2019Q3