CVS log for pkgsrc/lang/python/pyversion.mk
Up to [cvs.NetBSD.org] / pkgsrc / lang / python
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.181: download - view: text, markup, annotated - select for diffs
Sun Nov 8 12:44:09 2026 UTC (7 days, 15 hours ago) by ryoon
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +9 -3
lines
lang/python315: Add an option, pyfreethreading for free-threading
This is not mature. Some packages do not build with pyfreethreading.
Revision 1.180: download - view: text, markup, annotated - select for diffs
Sat Oct 31 13:34:56 2026 UTC (2 weeks, 1 day ago) by wiz
Branches: MAIN
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +4 -4
lines
python: bump default Python version to 3.14
As discussed on tech-pkg.
Revision 1.179: download - view: text, markup, annotated - select for diffs
Mon Oct 12 11:17:05 2026 UTC (4 weeks, 6 days ago) by wiz
Branches: MAIN
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +9 -1
lines
python: add PYSTABLEABI
This variable contains the C ABI name for Python, see
https://docs.python.org/3/c-api/stable.html
Python < 3.15 has "abi3", while 3.15+ has "abi3t"
Handle PRINT_PLIST_AWK so this will hopefully be fully automatic.
Revision 1.178: download - view: text, markup, annotated - select for diffs
Sat Oct 10 10:38:00 2026 UTC (5 weeks, 1 day ago) by adam
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +6 -6
lines
pyversion.mk: Python 3.10 is dead, long live Python 3.15! (at least couple of years)
Revision 1.177: download - view: text, markup, annotated - select for diffs
Thu May 28 03:58:33 2026 UTC (5 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base,
pkgsrc-2026Q3,
pkgsrc-2026Q2-base,
pkgsrc-2026Q2
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +27 -27
lines
python: cleanup, reviewed by @wiz
Revision 1.176: download - view: text, markup, annotated - select for diffs
Wed Oct 8 07:17:07 2025 UTC (13 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base,
pkgsrc-2026Q1,
pkgsrc-2025Q4-base,
pkgsrc-2025Q4
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +6 -6
lines
python39: removed; end of life
Revision 1.175: download - view: text, markup, annotated - select for diffs
Sun Oct 5 22:43:14 2025 UTC (13 months, 1 week ago) by wiz
Branches: MAIN
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +5 -5
lines
python: switch default to Python 3.13
Revision 1.174: download - view: text, markup, annotated - select for diffs
Tue Jul 22 21:39:50 2025 UTC (15 months, 3 weeks ago) by gdt
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base,
pkgsrc-2025Q3
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +9 -11
lines
lang/python/pyversion.mk: Withdraw pbulk comments
- Drop comments about pbulk bulding versions in the default value of
PYTHON_VERSIONS_ACCEPTED, because I misunderstood. For each
package, pbulk builds versions for *that package's* value of
PYTHON_VERSIONS_ACCEPTED, and thus can e.g build 310 if a package
is marked for 310.
- Expand suggestion that INCOMPATIBLE is preferred, because it
adapts to both removed old versions and added new versions.
Issues remain, but I think they have reached disagreements more than
confusion :-)
Revision 1.173: download - view: text, markup, annotated - select for diffs
Tue Jul 22 14:30:26 2025 UTC (15 months, 3 weeks ago) by gdt
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +21 -4
lines
lang/python/pyversion.mk: Explain the rules for setting ACCEPTED
Revision 1.172: download - view: text, markup, annotated - select for diffs
Tue Jul 22 12:24:28 2025 UTC (15 months, 3 weeks ago) by gdt
Branches: MAIN
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +10 -6
lines
lang/python/pyversion.mk: Clarify default versions
pbulk uses the default value of PYTHON_VERSIONS_ACCEPTED to choose the
set of versions to build.
Revision 1.171: download - view: text, markup, annotated - select for diffs
Tue Jul 22 12:07:51 2025 UTC (15 months, 3 weeks ago) by gdt
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +58 -17
lines
lang/python/pyversion.mk: Catch comments up with reality
This is a comment-only change.
A lot has changed, and the comments became out of date. Changes based
on my reading the code and comments by wiz@.
- This file is used indirectly by various ways one includes python.
Don't imply it only matters if included directly.
- Explain the 2.7/old-3/current-3 scheme.
- Explain the semantics of version selection.
- Deprecate 2.7 harder, special casing the comments.
- Drop 27 from PYTHON_VERSION_DEFAULT as we don't really support 27
except that we allow building 27-only packages.
- Note that one can put old 3 in PYTHON_VERSION_DEFAULT, but it's
irregular.
- Explain that PYTHON_VERSION_REQD can be used with make replace.
- Drop 27 from PYTHON_VERSIONS_ACCEPTED (because of
PYTHON_27_ACCEPTED).
- Drop 27 from PYTHON_VERSIONS_INCOMPATIBLE (same).
I'm not claiming the code rejects usages that are no longer specified
to work; this is reducing the specification to what should be.
There is one point of possible disagreement:
Is a package that works with all of the versions in the default
PYTHON_VERSIONS_ACCEPTED, fails with older 3.x, and does not list
those older 3.x in PYTHON_VERSIONS_INCOMPATIBLE buggy?
I think we are in a state where we'd say
ideally they'd be listed, but
the reason we dropped that version from the default value of
PYTHON_VERSIONS_ACCEPTED is that we'd have to change so many that it
would be painful, so we aren't.
which leaves us at
if listed, don't prune them (as long as that specific old 3 is in
pkgsrc)
there's no need to add them
which is how I left the text.
Revision 1.170: download - view: text, markup, annotated - select for diffs
Mon Jul 14 05:51:57 2025 UTC (16 months ago) by wiz
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +5 -9
lines
python: remove 3.10 from the list of Python versions built by default
As proposed by gdt@ on tech-pkg
Revision 1.169: download - view: text, markup, annotated - select for diffs
Mon Jun 16 09:27:03 2025 UTC (17 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base,
pkgsrc-2025Q2
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +3 -1
lines
python: Explicitly set BUILDLINK_DEPMETHOD.
Previously if PYTHON_FOR_BUILD_ONLY=no was set, but a package further up the
dependency tree set BUILDLINK_DEPMETHOD=build (e.g. py-pybind11), then python
would incorrectly end up inheriting that setting, leading to failures with
USE_INDIRECT_DEPENDS=yes enabled.
Tested in bulk builds, and fixes build of py-matplotlib. Approved during
freeze by Benny.
Revision 1.168: download - view: text, markup, annotated - select for diffs
Wed May 7 10:29:25 2025 UTC (18 months, 1 week ago) by tnn
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +2 -2
lines
python/pyversion.mk: switch to bsd.fast.prefs.mk
Revision 1.167: download - view: text, markup, annotated - select for diffs
Tue Jan 7 19:35:08 2025 UTC (22 months, 1 week ago) by riastradh
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base,
pkgsrc-2025Q1
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +2 -2
lines
lang/python*: No need for :U with USE_CROSS_COMPILE.
After including bsd.prefs.mk or bsd.fast.prefs.mk, this is guaranteed
to be defined. If it isn't, there's a bug (like misspelling it),
which we should flag early rather than quietly suppress.
Revision 1.166: download - view: text, markup, annotated - select for diffs
Wed Oct 9 20:00:28 2024 UTC (2 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base,
pkgsrc-2024Q4
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +3 -3
lines
python38 py38-html-docs: removed; end of life as of 2024-10-07
Revision 1.165: download - view: text, markup, annotated - select for diffs
Wed Oct 9 19:57:19 2024 UTC (2 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +7 -7
lines
pyversion.mk: allow Python 3.13
Revision 1.164: download - view: text, markup, annotated - select for diffs
Sun Aug 25 06:18:57 2024 UTC (2 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base,
pkgsrc-2024Q3
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +12 -12
lines
*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS
Revision 1.163: download - view: text, markup, annotated - select for diffs
Mon Aug 12 07:49:50 2024 UTC (2 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +5 -5
lines
python: switch Python default to 3.12
As proposed on tech-pkg.
Revision 1.162: download - view: text, markup, annotated - select for diffs
Mon Aug 12 07:48:22 2024 UTC (2 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +5 -5
lines
python: remove 38 and 39 from the default set
As proposed on tech-pkg.
Revision 1.161: download - view: text, markup, annotated - select for diffs
Wed Jul 17 09:57:13 2024 UTC (2 years, 4 months ago) by hauke
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +7 -6
lines
During PLIST generation, only substitute PYINC, PYLIB, PYSITELIB paths
relative to PREFIX, but do allow for ${PLIST.*} prefixed lines from
the package Makefile.
While here, wrap long line.
Revision 1.160: download - view: text, markup, annotated - select for diffs
Wed Jun 5 22:44:57 2024 UTC (2 years, 5 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base,
pkgsrc-2024Q2
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +6 -3
lines
python: remove Python 2.7 from the default build set
Set PYTHON_27_ACCEPTED for packages where 2.7 needs to be supported
because other 2.7 packages depend on it, but it also supports 3.x.
Tested by jperkin, thanks!
Revision 1.159: download - view: text, markup, annotated - select for diffs
Fri May 10 10:32:07 2024 UTC (2 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +1 -4
lines
python: revert unintended change
Revision 1.158: download - view: text, markup, annotated - select for diffs
Fri May 10 10:31:29 2024 UTC (2 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +5 -2
lines
python: remove dns from versioned_dependencies
Revision 1.157: download - view: text, markup, annotated - select for diffs
Tue Nov 7 11:36:57 2023 UTC (3 years ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +5 -1
lines
Default to python 3.10 if compiler lacks c11 support.
Revision 1.156: download - view: text, markup, annotated - select for diffs
Mon Oct 2 20:10:38 2023 UTC (3 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +7 -7
lines
pyversion.mk: allow Python 3.12
Revision 1.155: download - view: text, markup, annotated - select for diffs
Mon Aug 14 05:23:09 2023 UTC (3 years, 3 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base,
pkgsrc-2023Q3
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +6 -6
lines
python: bump default to 311
As discussed on pkgsrc-users in
'changing default python version to 3.11?'
Revision 1.154: download - view: text, markup, annotated - select for diffs
Sun Jul 30 14:43:25 2023 UTC (3 years, 3 months ago) by adam
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +4 -4
lines
Forget Python 3.7 for good
Revision 1.153: download - view: text, markup, annotated - select for diffs
Thu Jul 20 13:24:38 2023 UTC (3 years, 3 months ago) by gdt
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +5 -2
lines
pyversion.mk: Clarify PYTHON_SELF_CONFLICT
The CONFLICTS generated by PYTHON_SELF_CONFLICT are not only across
python versions but also across major versions of the package; this is
often correct but can be overbroad.
Revision 1.152: download - view: text, markup, annotated - select for diffs
Tue Jun 27 10:35:57 2023 UTC (3 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +5 -5
lines
lang/python/pyversion.mk: cmake expects to execute python executable.
So it has to be TOOL_PYTHONBIN, and presumably won't -- or at least,
sensibly can't -- be baked into the build product.
Revision 1.151: download - view: text, markup, annotated - select for diffs
Tue Jun 27 10:35:29 2023 UTC (3 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +3 -1
lines
python: Override sys.platform with PY_PLATNAME when cross-compiling.
For this purpose, factor the PY_PLATNAME definition out into a new
lang/pythonNN/platname.mk file. It's not the same for 2.x and 3.x;
perhaps we could factor it out further into a single 2.x vs 3.x
conditional but this is a more mechanical change that makes it easier
to audit for now.
Revision 1.150: download - view: text, markup, annotated - select for diffs
Tue Jun 27 10:31:21 2023 UTC (3 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +30 -8
lines
lang/python: Handle TOOLBASE/LOCALBASE split.
New TOOL_PYTHONBIN is for executing at build-time, old PYTHONBIN is
a path that will work at run-time and can be baked into the package.
Revision 1.149: download - view: text, markup, annotated - select for diffs
Wed Jun 14 11:06:46 2023 UTC (3 years, 5 months ago) by riastradh
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base,
pkgsrc-2023Q2
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +2 -2
lines
pyversion.mk: Handle multiple BUILDLINK_API_DEPENDS.pythonNN.
Otherwise PYDEPENDENCY is garbage mixing pythonNN>=N.N notation with
pythonNN>=N.N:../../lang/pythonNN notation, arising from entries in
BUILDLINK_API_DEPENDS.pythonNN contributed by:
- pyversion.mk
- buildlink3.mk
- srcdist.mk
if nothing else.
Revision 1.148: download - view: text, markup, annotated - select for diffs
Tue Mar 28 19:57:06 2023 UTC (3 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +15 -4
lines
python: add PYTHON_VERSION that is comparable with < and >
Incorporates suggestions by agc@, gdt@, kre@, and rillig@
Revision 1.147: download - view: text, markup, annotated - select for diffs
Sat Mar 25 18:29:44 2023 UTC (3 years, 7 months ago) by gdt
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base,
pkgsrc-2023Q1
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +3 -3
lines
cmake/python: Set version explicitly with cmake/build.mk
With the old cmake method, USE_CMAKE would cause pyversion.mk to add
variables to CMAKE_ARGS, resulting in the build using the correct
python. With the new cmake/build.mk, that didn't happen and cmake
would find some python. If the found python is missing some packages
(that the packges depends on, e.g. py-expat), the build can fail.
Define a variable BUILD_USES_CMAKE when using cmake/build.mk, and
perform cmake-specific processing in pyversion.mk if that is set, in
addition to still doing it if USE_CMAKE is set.
This should be rototilled after the branch; this is an attempt at a
minimally risky fix now.
Resolves failure to build doxygen when python2.7 but not py27-expat is
installed.
Reviewed by wiz@.
Revision 1.146: download - view: text, markup, annotated - select for diffs
Thu Jan 12 10:56:12 2023 UTC (3 years, 10 months ago) by markd
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +7 -1
lines
python: teach PYTHON_VERSION_REQD about 3 digit versions (eg py310).
Revision 1.145: download - view: text, markup, annotated - select for diffs
Thu Dec 1 15:16:28 2022 UTC (3 years, 11 months ago) by gdt
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base,
pkgsrc-2022Q4
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +5 -2
lines
pyversion.mk: Add comment explaining usage
Revision 1.144: download - view: text, markup, annotated - select for diffs
Sun Nov 6 13:27:57 2022 UTC (4 years ago) by gdt
Branches: MAIN
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +3 -3
lines
lang/python: Drop 37 from default PYTHON_VERSIONS_ACCEPTED
While python 3.7 is not EOL, many python packages are acting as if it
is, and the resulting fallout in bulk builds is making it difficult to
assess real breakage. Following discussion on pkgsrc-users, where
only one person said they wanted to use 3.7 in pkgsrc, 37 is being
dropped from ACCEPTED, but the package remains, at least for now.
Anyone who wants to use 3.7 can set PYTHON_VERSIONS_ACCEPTED in
mk.conf or locally modify pyversion.mk.
Shortly, I will drop 37 from PYTHON_VERSIONS_ACCEPTED from 6 packages
that set it, so that there will be essentially no py37-foo packages
built by default. We will no longer allow adding 37 to
PYTHON_VERSIONS_ACCEPTED. It remains fine to add 37 to
PYTHON_VERSIONS_INCOMPATIBLE, but 37-inspired changes that cause
failures for people with a default pyversion.mk should be avoided.
Revision 1.143: download - view: text, markup, annotated - select for diffs
Mon Oct 31 09:53:31 2022 UTC (4 years ago) by adam
Branches: MAIN
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +6 -6
lines
Support Python 3.11
Revision 1.142: download - view: text, markup, annotated - select for diffs
Sun Oct 2 22:58:52 2022 UTC (4 years, 1 month ago) by gdt
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +3 -1
lines
pyversion.mk: Define PYPKGPREFIX in error case
The specification for pyversion.mk says that it defines PYPKGPREFIX
and PYVERSSUFFIX. Various buildlink files rely on these being
defined, as they are tested without guarding them for being empty.
When there is no valid python version, _PYTHON_VERSION was set to
"none", and PKG_FAIL_REASON defined, so the user gets a reasonable
error. However, if a buildlink3 uses an unguarded PYPKGPREFIX, a
syntax error results, and the PKG_FAIL_REASON is not display.
This commit defines the two variables to "none" in the case of no
valid version, mirroring the treatment of _PYTHON_VERSION and
correcting a failure to follow the specification. In this case the
build is going to fail one way or another, but it's vastly better to
have a useful error message.
(Tested earlier, but deferred during freeze.)
Revision 1.141: download - view: text, markup, annotated - select for diffs
Thu Jun 30 10:45:36 2022 UTC (4 years, 4 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base,
pkgsrc-2022Q3
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +3 -3
lines
python: Bump default version to 3.10.
Revision 1.140: download - view: text, markup, annotated - select for diffs
Thu Dec 30 11:52:48 2021 UTC (4 years, 10 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +6 -6
lines
python36: removed
Revision 1.139: download - view: text, markup, annotated - select for diffs
Sun Oct 10 19:10:41 2021 UTC (5 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base,
pkgsrc-2021Q4
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +4 -9
lines
Set include and lib paths without calling (deprecated) distutils
Revision 1.138: download - view: text, markup, annotated - select for diffs
Tue Oct 5 19:08:13 2021 UTC (5 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +6 -6
lines
Add support for Python 3.10
Revision 1.137: download - view: text, markup, annotated - select for diffs
Fri Oct 1 12:27:47 2021 UTC (5 years, 1 month ago) by nia
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -3
lines
Switch default Python to 3.9.
Bulk builds have been running for some time, and this is expected to be
fine.
Revision 1.136: download - view: text, markup, annotated - select for diffs
Sat Jul 10 05:24:33 2021 UTC (5 years, 4 months ago) by gutteridge
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base,
pkgsrc-2021Q3
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +2 -2
lines
pyversion.mk: fix typo in comment
Revision 1.135: download - view: text, markup, annotated - select for diffs
Fri Apr 23 19:20:08 2021 UTC (5 years, 6 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base,
pkgsrc-2021Q2
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +14 -1
lines
pyversion.mk: handle more cmake module goop
Revision 1.134: download - view: text, markup, annotated - select for diffs
Sat Dec 19 13:12:00 2020 UTC (5 years, 10 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +3 -1
lines
pyversion.mk: Do not create self-conflicts for incompatible versions
This resolves a problem where graphics/py-cairo and graphics/py-cairo118
cannot be installed simulatenously despite not conflicting.
PR pkg/55881
Revision 1.133: download - view: text, markup, annotated - select for diffs
Fri Dec 4 20:43:43 2020 UTC (5 years, 11 months ago) by nia
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +3 -3
lines
Switch the default Python version to 3.8
3.7 is currently in security fixes only mode, but 3.8 will
continue to recieve a few more months of normal bug fixes.
This should give us time to prep the tree for 3.9 (a few packages
are not happy with 3.9 yet).
3.8 might be more problematic than 3.7 for Linuxes using older compilers
where shm_open isn't detected probably (however this problem doesn't
seem to be entirely absent in 3.7, as shown by certain packages like
mozjs*?). According to the CentOS 7 folks on tech-pkg this should be
possible to work around by using a newer compiler.
Revision 1.132: download - view: text, markup, annotated - select for diffs
Sat Oct 10 20:19:47 2020 UTC (6 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +6 -6
lines
python39: added version 3.9.0
3.9.0 Release highlights
New syntax features:
PEP 584, union operators added to dict;
PEP 585, type hinting generics in standard collections;
PEP 614, relaxed grammar restrictions on decorators.
New built-in features:
PEP 616, string methods to remove prefixes and suffixes.
New features in the standard library:
PEP 593, flexible function and variable annotations;
os.pidfd_open() added that allows process management without races and signals.
Interpreter improvements:
PEP 573, fast access to module state from methods of C extension types;
PEP 617, CPython now uses a new parser based on PEG;
a number of Python builtins (range, tuple, set, frozenset, list, dict) are now sped up using PEP 590 vectorcall;
garbage collection does not block on resurrected objects;
a number of Python modules (_abc, audioop, _bz2, _codecs, _contextvars, _crypt, _functools, _json, _locale, math, operator, resource, time, _weakref) now use multiphase initialization as defined by PEP 489;
a number of standard library modules (audioop, ast, grp, _hashlib, pwd, _posixsubprocess, random, select, struct, termios, zlib) are now using the stable ABI defined by PEP 384.
New library modules:
PEP 615, the IANA Time Zone Database is now present in the standard library in the zoneinfo module;
an implementation of a topological sort of a graph is now provided in the new graphlib module.
Release process changes:
PEP 602, CPython adopts an annual release cycle.
Revision 1.131: download - view: text, markup, annotated - select for diffs
Sun Mar 15 14:28:36 2020 UTC (6 years, 8 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +21 -1
lines
lang/python: add show-all-pyversion target
When devel/py-flake8 is built with PYTHON_VERSION_DEFAULT=27, it
nevertheless depends on py37-test-runner-5.2. This is surprising, and to
help researching this issue, all Python-related variables can be listed
using "bmake show-all-pyversion".
Revision 1.130: download - view: text, markup, annotated - select for diffs
Tue Oct 15 16:50:10 2019 UTC (7 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base,
pkgsrc-2019Q4
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +6 -6
lines
python38: added version 3.8.0
Major new features of the 3.8 series, compared to 3.7
PEP 572, Assignment expressions
PEP 570, Positional-only arguments
PEP 587, Python Initialization Configuration (improved embedding)
PEP 590, Vectorcall: a fast calling protocol for CPython
PEP 578, Runtime audit hooks
PEP 574, Pickle protocol 5 with out-of-band data
Typing-related: PEP 591 (Final qualifier), PEP 586 (Literal types), and PEP 589 (TypedDict)
Parallel filesystem cache for compiled bytecode
Debug builds share ABI as release builds
f-strings support a handy = specifier for debugging
continue is now legal in finally: blocks
on Windows, the default asyncio event loop is now ProactorEventLoop
on macOS, the spawn start method is now used by default in multiprocessing
multiprocessing can now use shared memory segments to avoid pickling costs between processes
typed_ast is merged back to CPython
LOAD_GLOBAL is now 40% faster
pickle now uses Protocol 4 by default, improving performance
Revision 1.129: download - view: text, markup, annotated - select for diffs
Fri Apr 26 09:44:59 2019 UTC (7 years, 6 months ago) by roy
Branches: MAIN
CVS tags: pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +6 -6
lines
Remove 34 and 35 from python versions.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Wed Apr 24 13:16:59 2019 UTC (7 years, 6 months ago) by maya
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +3 -3
lines
Default to python 3.7.
We don't want to end up defaulting to an EOL python by the end of this year,
and would like to switch early in the branch. Waiting longer isn't wise.
Revision 1.127: download - view: text, markup, annotated - select for diffs
Tue Nov 13 11:57:26 2018 UTC (8 years ago) by markd
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +5 -1
lines
python: handle pythons with pymalloc option when setting PYTHONCONFIG
Revision 1.126: download - view: text, markup, annotated - select for diffs
Fri Oct 19 16:12:36 2018 UTC (8 years ago) by bsiegert
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +5 -4
lines
Always give full interpreter path to cmake.
This was previously Darwin-only but I ran into the same situation when
building finance/gnucash on NetBSD. /usr/pkg/bin/python happened to be
2.7, but it was used instead of python3.7, leading to a build failure.
This commit fixes that.
Revision 1.125: download - view: text, markup, annotated - select for diffs
Sun Oct 7 23:56:23 2018 UTC (8 years, 1 month ago) by ryoon
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +4 -2
lines
Extend PYTHON_FOR_BUILD_ONLY to test
Revision 1.124: download - view: text, markup, annotated - select for diffs
Tue Jul 3 03:55:40 2018 UTC (8 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base,
pkgsrc-2018Q3
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +6 -6
lines
python37: added version 3.7.0
Python 3.7.0 is the newest major release of the Python language, and it contains many new features and optimizations.
Among the major new features in Python 3.7 are:
PEP 539, new C API for thread-local storage
PEP 545, Python documentation translations
New documentation translations: Japanese, French, and Korean.
PEP 552, Deterministic pyc files
PEP 553, Built-in breakpoint()
PEP 557, Data Classes
PEP 560, Core support for typing module and generic types
PEP 562, Customization of access to module attributes
PEP 563, Postponed evaluation of annotations
PEP 564, Time functions with nanosecond resolution
PEP 565, Improved DeprecationWarning handling
PEP 567, Context Variables
Avoiding the use of ASCII as a default text encoding (PEP 538, legacy C locale coercion and PEP 540, forced UTF-8 runtime mode)
The insertion-order preservation nature of dict objects is now an official part of the Python language spec.
Notable performance improvements in many areas.
Revision 1.123: download - view: text, markup, annotated - select for diffs
Sun Jan 1 14:34:26 2017 UTC (9 years, 10 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +6 -6
lines
What’s New In Python 3.6
Summary – Release highlights
New syntax features:
PEP 498, formatted string literals.
PEP 515, underscores in numeric literals.
PEP 526, syntax for variable annotations.
PEP 525, asynchronous generators.
PEP 530: asynchronous comprehensions.
New library modules:
secrets: PEP 506 – Adding A Secrets Module To The Standard Library.
CPython implementation improvements:
The dict type has been reimplemented to use a more compact representation based on a proposal by Raymond Hettinger and similar to the PyPy dict implementation. This resulted in dictionaries using 20% to 25% less memory when compared to Python 3.5.
Customization of class creation has been simplified with the new protocol.
The class attribute definition order is now preserved.
The order of elements in **kwargs now corresponds to the order in which keyword arguments were passed to the function.
DTrace and SystemTap probing support has been added.
The new PYTHONMALLOC environment variable can now be used to debug the interpreter memory allocation and access errors.
Significant improvements in the standard library:
The asyncio module has received new features, significant usability and performance improvements, and a fair amount of bug fixes. Starting with Python 3.6 the asyncio module is no longer provisional and its API is considered stable.
A new file system path protocol has been implemented to support path-like objects. All standard library functions operating on paths have been updated to work with the new protocol.
The datetime module has gained support for Local Time Disambiguation.
The typing module received a number of improvements and is no longer provisional.
The tracemalloc module has been significantly reworked and is now used to provide better output for ResourceWarning as well as provide better diagnostics for memory allocation errors. See the PYTHONMALLOC section for more information.
Security improvements:
The new secrets module has been added to simplify the generation of cryptographically strong pseudo-random numbers suitable for managing secrets such as account authentication, tokens, and similar.
On Linux, os.urandom() now blocks until the system urandom entropy pool is initialized to increase the security. See the PEP 524 for the rationale.
The hashlib and ssl modules now support OpenSSL 1.1.0.
The default settings and feature set of the ssl module have been improved.
The hashlib module received support for the BLAKE2, SHA-3 and SHAKE hash algorithms and the scrypt() key derivation function.
Revision 1.122: download - view: text, markup, annotated - select for diffs
Sat Jul 9 13:03:53 2016 UTC (10 years, 4 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +6 -6
lines
Remove python33: adapt all packages that refer to it.
Revision 1.121: download - view: text, markup, annotated - select for diffs
Sat Jul 9 10:00:26 2016 UTC (10 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +30 -30
lines
Let pkglint fix indentation of preprocessing directives.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Thu May 19 11:45:36 2016 UTC (10 years, 6 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2016Q2-base,
pkgsrc-2016Q2
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +2 -1
lines
Set the PYTHON_INCLUDE_PATH form too, as used by e.g. weechat.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Thu Feb 25 14:42:56 2016 UTC (10 years, 8 months ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2016Q1-base,
pkgsrc-2016Q1
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -5
lines
Use OPSYSVARS.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Sat Dec 5 17:12:13 2015 UTC (10 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2015Q4-base,
pkgsrc-2015Q4
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +6 -6
lines
What’s New In Python 3.5
New syntax features:
* PEP 492, coroutines with async and await syntax.
* PEP 465, a new matrix multiplication operator: a @ b.
* PEP 448, additional unpacking generalizations.
New library modules:
* typing: PEP 484 – Type Hints.
* zipapp: PEP 441 Improving Python ZIP Application Support.
New built-in features:
* bytes % args, bytearray % args: PEP 461 – Adding % formatting to bytes and bytearray.
* New bytes.hex(), bytearray.hex() and memoryview.hex() methods. (Contributed by Arnon Yaari in issue 9951.)
* memoryview now supports tuple indexing (including multi-dimensional). (Contributed by Antoine Pitrou in issue 23632.)
* Generators have a new gi_yieldfrom attribute, which returns the object being iterated by yield from expressions. (Contributed by Benno Leslie and Yury Selivanov in issue 24450.)
* A new RecursionError exception is now raised when maximum recursion depth is reached. (Contributed by Georg Brandl in issue 19235.)
CPython implementation improvements:
* When the LC_TYPE locale is the POSIX locale (C locale), sys.stdin and sys.stdout now use the surrogateescape error handler, instead of the strict error handler. (Contributed by Victor Stinner in issue 19977.)
* .pyo files are no longer used and have been replaced by a more flexible scheme that includes the optimization level explicitly in .pyc name. (See PEP 488 overview.)
* Builtin and extension modules are now initialized in a multi-phase process, which is similar to how Python modules are loaded. (See PEP 489 overview.)
Significant improvements in the standard library:
* collections.OrderedDict is now implemented in C, which makes it 4 to 100 times faster.
* The ssl module gained support for Memory BIO, which decouples SSL protocol handling from network IO.
* The new os.scandir() function provides a better and significantly faster way of directory traversal.
* functools.lru_cache() has been mostly reimplemented in C, yielding much better performance.
* The new subprocess.run() function provides a streamlined way to run subprocesses.
* The traceback module has been significantly enhanced for improved performance and developer convenience.
Security improvements:
* SSLv3 is now disabled throughout the standard library. It can still be enabled by instantiating a ssl.SSLContext manually. (See issue 22638 for more details; this change was backported to CPython 3.4 and 2.7.)
* HTTP cookie parsing is now stricter, in order to protect against potential injection attacks. (Contributed by Antoine Pitrou in issue 22796.)
Windows improvements:
* A new installer for Windows has replaced the old MSI. See Using Python on Windows for more information.
* Windows builds now use Microsoft Visual C++ 14.0, and extension modules should use the same.
Revision 1.117: download - view: text, markup, annotated - select for diffs
Mon Apr 13 23:12:44 2015 UTC (11 years, 7 months ago) by rodent
Branches: MAIN
CVS tags: pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +6 -6
lines
Removing python26. EOL'd quite some ago and discussed a couple times on
tech-pkg@ and pkgsrc-users@.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Tue Jan 27 06:33:46 2015 UTC (11 years, 9 months ago) by dbj
Branches: MAIN
CVS tags: pkgsrc-2015Q1-base,
pkgsrc-2015Q1
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +6 -1
lines
manually set CMAKE's PYTHON_INCLUDE_DIR and PYTHON_EXECUTABLE to avoid
it finding the native python versions
Revision 1.115: download - view: text, markup, annotated - select for diffs
Sat May 10 04:25:40 2014 UTC (12 years, 6 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +4 -1
lines
Let to be failed if no suituable python version.
Revision 1.114: download - view: text, markup, annotated - select for diffs
Fri May 9 05:23:41 2014 UTC (12 years, 6 months ago) by obache
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +15 -32
lines
Add python34 support and simplify.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Sat Jan 25 10:31:01 2014 UTC (12 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2014Q1-base,
pkgsrc-2014Q1
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +2 -14
lines
Remove PYTHON_VERSIONS_INCLUDE_3X.
Allow python-3.x by default.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Sat Jan 18 19:51:28 2014 UTC (12 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +14 -2
lines
Revert unintended commit; pkgsrc not ready yet.
Revision 1.111: download - view: text, markup, annotated - select for diffs
Sat Jan 18 19:50:27 2014 UTC (12 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +2 -14
lines
Support Pmw.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Sun Jan 12 09:01:50 2014 UTC (12 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +6 -14
lines
Remove python32 as proposed a week ago on pkgsrc-users.
Upstream doesn't talk about it any longer, and python-3.3 is a drop-in
replacement.
Ok bsiegert, prlw1, rodent
Revision 1.109: download - view: text, markup, annotated - select for diffs
Sun May 12 00:19:55 2013 UTC (13 years, 6 months ago) by riastradh
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +2 -1
lines
Explicitly default PYTHON_FOR_BUILD_ONLY to `no'.
Avoids problems with make on NetBSD 5 where empty(XYZ:Mfoo) fails
rather than yielding false if XYZ is undefined.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Fri May 10 20:07:34 2013 UTC (13 years, 6 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +7 -5
lines
Partially back out change to PYTHON_FOR_BUILD_ONLY.
This broke packages that needed a target Python at build-time.
Instead, change it from defined/undefined to yes/no/tool. Most cases
of defined used `yes' anyway; fix the few stragglers do that instead.
New case `tool' is for TOOL_DEPENDS rather than buildlink3.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Fri May 10 00:35:51 2013 UTC (13 years, 6 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +7 -5
lines
Use a tool dependency, not buildlink3, if PYTHON_FOR_BUILD_ONLY.
ok agc
Revision 1.106: download - view: text, markup, annotated - select for diffs
Mon Apr 29 10:49:37 2013 UTC (13 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +6 -14
lines
Remove python31.
There are three python3 versions in pkgsrc, python31, python32 and
python33.
The last published update for python was only released for python27,
python32 and python33 -- not for python31.
No reason for keeping python31 was brought up in two weeks
on pkgsrc-users, so remove it.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Mon Dec 10 03:15:48 2012 UTC (13 years, 11 months ago) by tsarna
Branches: MAIN
CVS tags: pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +15 -7
lines
Add Python 3.3.0
Revision 1.104: download - view: text, markup, annotated - select for diffs
Wed Oct 3 23:48:00 2012 UTC (14 years, 1 month ago) by cheusov
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +5 -4
lines
Move documentation for *_REQD variables to "Infrastructure variables"
as suggested by obache@
Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed Oct 3 23:39:21 2012 UTC (14 years, 1 month ago) by cheusov
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +16 -1
lines
Introduce variable PYTHON_SELF_CONFLICT
for registering conflicts between python modules.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed Oct 3 22:03:41 2012 UTC (14 years, 1 month ago) by wiz
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +7 -15
lines
Remove python25, as promised in March. EOL'd last year.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Sun Sep 16 20:03:50 2012 UTC (14 years, 2 months ago) by cheusov
Branches: MAIN
CVS tags: pkgsrc-2012Q3-base,
pkgsrc-2012Q3
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +9 -1
lines
Update documentation for {PYTHON,RUBY,PHP}_VERSION_REQD variables, move them
to "user variables" section. pkglint is now aware of them. Bump pkglint
version. Oked by wiz@
Revision 1.100: download - view: text, markup, annotated - select for diffs
Wed Aug 1 19:07:20 2012 UTC (14 years, 3 months ago) by drochner
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +8 -1
lines
oops - forgot to commit a framework change needed by py-dbus:
provide py2x and py3x PLIST_VARS to let pkgs deal easily with files
installed for one major version but not for the other
Revision 1.99: download - view: text, markup, annotated - select for diffs
Sun May 6 13:18:30 2012 UTC (14 years, 6 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2012Q2-base,
pkgsrc-2012Q2
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +14 -7
lines
Add python32 support.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Apr 8 20:17:10 2012 UTC (14 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +1 -6
lines
All supported python version in pkgsrc set PYDISTUTILS_CREATES_EGGFILES
to "yes", so remove variable and code for "no".
Revision 1.97: download - view: text, markup, annotated - select for diffs
Sun Apr 8 19:08:59 2012 UTC (14 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +7 -15
lines
Remove python24 and all traces of it from pkgsrc.
Remove devel/py-ctypes (only needed by and supporting python24).
Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE
lines that just mirror defaults now.
Miscellaneous cleanup while editing all these files.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Thu Mar 8 11:44:06 2012 UTC (14 years, 8 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2012Q1-base,
pkgsrc-2012Q1
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +5 -5
lines
Update python default version to 2.7, per announcement on pkgsrc-users
last week.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Feb 26 09:17:41 2012 UTC (14 years, 8 months ago) by sbd
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -3
lines
Revert the below change (by me).
---
Module Name: pkgsrc
Committed By: sbd
Date: Tue Feb 21 21:04:30 UTC 2012
Modified Files:
pkgsrc/lang/python: pyversion.mk
Log Message:
Add _PYTHON_VERSION_DEFAULT with the "default" python version and set
PYTHON_VERSION_DEFAULT from that.
To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 pkgsrc/lang/python/pyversion.mk
Revision 1.94: download - view: text, markup, annotated - select for diffs
Tue Feb 21 21:04:29 2012 UTC (14 years, 8 months ago) by sbd
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -2
lines
Add _PYTHON_VERSION_DEFAULT with the "default" python version and set
PYTHON_VERSION_DEFAULT from that.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Sat Jan 28 12:14:08 2012 UTC (14 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +2 -1
lines
Some packages play with PYPKGPREFIX, even if no valid Python version can
be found, so provide it.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Sat Dec 3 00:02:15 2011 UTC (14 years, 11 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2011Q4-base,
pkgsrc-2011Q4
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +14 -2
lines
Tag the 28 locations that result in a Python 3.1 package as supporting so.
Remove it from the default list for the rest.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu Jul 7 18:46:32 2011 UTC (15 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +3 -1
lines
Make sure that PYDISTUTILS_CREATES_EGGFILES is defined in all branches.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Tue Jun 21 14:11:24 2011 UTC (15 years, 4 months ago) by reed
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +2 -2
lines
Change the PYDEPENDENCY for python31 to python31.
What uses PYDEPENDENCY?
Revision 1.89: download - view: text, markup, annotated - select for diffs
Fri Jun 17 01:01:04 2011 UTC (15 years, 5 months ago) by reed
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +14 -7
lines
Add support for python31.
(I have been using this for around 18 months on several platforms;
adjusted once after python27 was added.)
Revision 1.88: download - view: text, markup, annotated - select for diffs
Sat Mar 26 07:53:30 2011 UTC (15 years, 7 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2011Q1-base,
pkgsrc-2011Q1
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -2
lines
No need to add 27 for PYTHON_VERSIONS_ACCEPTED over again.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Mar 12 14:07:13 2011 UTC (15 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +5 -1
lines
Add MULTI variable, and add it to BUILD_DEFS, to more easily find
variable settings affecting binary packages.
From Aleksey Cheusov in PR 44695.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Fri Feb 25 09:47:24 2011 UTC (15 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +2 -2
lines
Let's assume for now that everything that worked with python-2.6 also
works with python-2.7.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Tue Feb 22 11:12:51 2011 UTC (15 years, 8 months ago) by obache
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -4
lines
Use function-style `print', for python3.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Feb 22 09:12:37 2011 UTC (15 years, 8 months ago) by obache
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -3
lines
fix for python27.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Feb 22 09:01:28 2011 UTC (15 years, 8 months ago) by obache
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +16 -8
lines
Allow python27 and acceptable by default (default python is still 2.6).
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun Feb 13 08:07:39 2011 UTC (15 years, 9 months ago) by obache
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +4 -7
lines
remove "next;" in PRINT_PLIST_AWK, it may prevent additional substitute,
like ${EGG_INFODIR}.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat Jul 24 12:32:22 2010 UTC (16 years, 3 months ago) by gdt
Branches: MAIN
CVS tags: pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +4 -1
lines
Add support for packaging python "distributions" that use distutils.
Suppport conditional PLIST inclusion of the expected egg file, because
python2.4 distutils does not create them but later versions do. (Note
that PRINT_PLIST_AWK production is not working, probably due to order
of substitution.)
Earlier patch reviewed by wiz@.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Fri Feb 12 13:45:54 2010 UTC (16 years, 9 months ago) by drochner
Branches: MAIN
CVS tags: pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +5 -1
lines
allow to override cmake's Python search order, to enforce the version
selected by pkgsrc
this automatically affects pkgs which use FIND_PACKAGE(PythonInterp)
or FIND_PACKAGE(PythonLibs)
Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Feb 10 19:16:48 2010 UTC (16 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -6
lines
Make Python 2.6 the default version.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Feb 9 22:55:16 2010 UTC (16 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -1
lines
Add PYTHONCONFIG similar to PYTHONBIN.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Sep 25 13:42:26 2009 UTC (17 years, 1 month ago) by tron
Branches: MAIN
CVS tags: pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -2
lines
Simplify pattern to detect Mac OS X Intel 64-Bit.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Sep 25 13:36:19 2009 UTC (17 years, 1 month ago) by tron
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -2
lines
Re-do last change to avoid problems on Mac OS X older than Snow Leopard.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Tue Sep 22 13:46:09 2009 UTC (17 years, 1 month ago) by tron
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +5 -1
lines
Use Python 2.6 by default under Mac OS X if we compile for the 64-Bit ABI.
Not even Apple were able to build a 64-Bit version of Python 2.5.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Sep 7 18:21:43 2009 UTC (17 years, 2 months ago) by joerg
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +6 -13
lines
Retire Python 2.3 support.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Wed Jul 8 13:55:59 2009 UTC (17 years, 4 months ago) by joerg
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +5 -1
lines
Provide PY_COMPILE_ALL and PY_COMPILE_O_ALL to compile all Python
sources in a directory (tree) in pversion.mk. Adjust the various places
that called it locally.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Jul 2 09:37:12 2009 UTC (17 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q2-base,
pkgsrc-2009Q2
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +11 -1
lines
Restore PRINT_PLIST_AWK logic in so far they don't create @dirrm
entries. I pruned them too aggressively as the @dirrm matching here was
conditional. OK wiz
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Jun 14 22:58:03 2009 UTC (17 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +1 -15
lines
Remove @dirrm related logic.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Apr 19 15:14:19 2009 UTC (17 years, 7 months ago) by snj
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -2
lines
Make BUILDLINK_API_DEPENDS.python26 agree with the package.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Apr 19 15:09:51 2009 UTC (17 years, 7 months ago) by snj
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -2
lines
Add py26 to default list of PYTHON_VERSIONS_ACCEPTED and set
BUILDLINK_API_DEPENDS.python26.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Apr 19 14:48:17 2009 UTC (17 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +14 -8
lines
Add untested entries for python26.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Mar 21 06:24:48 2009 UTC (17 years, 8 months ago) by snj
Branches: MAIN
CVS tags: pkgsrc-2009Q1-base,
pkgsrc-2009Q1
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -4
lines
Remove traces of python21.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Mar 8 17:05:10 2009 UTC (17 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +11 -1
lines
Move the PYTHON_VERSION_REQD logic from extension.mk to pyversion.mk.
It shouldn't hurt and allows including application.mk and extension.mk
in any order.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed Feb 18 05:50:31 2009 UTC (17 years, 9 months ago) by obache
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2
lines
Update comments, now default python version is 25.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Mon Feb 9 22:56:24 2009 UTC (17 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -2
lines
Switch to Python 2.5 as default. Bump revision of all packages that have
changed runtime dependencies now.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Feb 9 21:09:21 2009 UTC (17 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +1 -12
lines
Remove Python 2.1 support.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Jan 23 18:02:32 2009 UTC (17 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -5
lines
Remove comment that doesn't reflect the consensus on how to mark support
Python versions.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Nov 29 19:30:33 2008 UTC (17 years, 11 months ago) by snj
Branches: MAIN
CVS tags: pkgsrc-2008Q4-base,
pkgsrc-2008Q4
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2
lines
Remove one last python15 bit.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Nov 29 18:52:22 2008 UTC (17 years, 11 months ago) by snj
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +5 -15
lines
Oops, forgot to commit these. Remove python15 support.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Apr 25 16:27:45 2008 UTC (18 years, 6 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3
lines
Remove python 2.1 from the default set of acceptable python packages
so that packages that require it must specify so explicitly.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Apr 25 16:11:11 2008 UTC (18 years, 6 months ago) by tnn
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +6 -20
lines
De-orbit support for python 2.0 and python 2.2 under the "three major
releases is enough" rule of thumb. (python 2.3 was released 5 years ago.)
Keep python 1.5 and 2.1 though, because there are a handful of packages
that still need them.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Apr 24 02:02:04 2008 UTC (18 years, 6 months ago) by tnn
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -7
lines
adjust directory for python25
Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Apr 18 12:24:21 2008 UTC (18 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +8 -6
lines
As all Python packages are required to include lang/python/pyversion.mk
anyway, simplify logic a bit:
Add Python 2.5 to the default list, but also mark it as incompatible if
wip/python25 is not present. Move the Darwin handling after setting a
default value.
Provide a new variable _PYTHON_VERSIONS_ACCEPTED that is filtered by
PYTHON_VERSIONS_INCOMPATIBLE. This helps to avoid providing broken
dependencies when a version is not supported as PYPKGPREFIX wouldn't be
set in that case.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Apr 11 15:37:30 2008 UTC (18 years, 7 months ago) by abs
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +5 -1
lines
only set 25 in PYTHON_VERSIONS_ACCEPTED if ../../wip/python25/Makefile found
Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Apr 11 13:10:15 2008 UTC (18 years, 7 months ago) by abs
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2
lines
Add 25 to PYTHON_VERSIONS_ACCEPTED, so PYTHON_VERSION_DEFAULT=25 works in mk.conf
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Mar 15 16:43:25 2008 UTC (18 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base,
pkgsrc-2008Q1
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2
lines
For Python 2.5, check that the wip directory actually exists.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Feb 20 10:43:55 2008 UTC (18 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +15 -8
lines
Removed colons from variable names so they are accessible to "bmake
help".
Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Feb 4 23:27:50 2008 UTC (18 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -2
lines
Revert last. Python 2.5 is not in the main tree and creating noise for
bulk builds is inacceptable.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Feb 1 08:17:00 2008 UTC (18 years, 9 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +13 -6
lines
python 2.5 should be supported because it's the current production release,
make it understand wip/python25 and PYTHON_VERSION_DEFAULT=25.
Change the wip path iff python25 is imported.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jan 31 19:34:35 2008 UTC (18 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +5 -4
lines
Improved the wording for the cases where PYTHON_VERSIONS_INCOMPATIBLE
should be used instead of PYTHON_VERSIONS_ACCEPTED.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Jan 31 13:47:19 2008 UTC (18 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +8 -7
lines
Explained the comment for PYTHON_VERSIONS_ACCEPTED and documented why
PYTHON_VERSIONS_INCOMPATIBLE should be used instead.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Aug 24 07:14:28 2007 UTC (19 years, 2 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -1
lines
Added PYTHON to ALL_ENV, since otherwise many packages may be confused
by other Python installations.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Jan 7 01:04:22 2007 UTC (19 years, 10 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +6 -2
lines
In the BUILD_DEFS message, print which Python version has actually been
selected.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Sep 7 22:12:15 2006 UTC (20 years, 2 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2006Q4-base,
pkgsrc-2006Q4,
pkgsrc-2006Q3-base,
pkgsrc-2006Q3
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -3
lines
Moved the BUILD_DEFS code a bit so that it only gets executed when the
PYTHON_VERSION_DEFAULT can really change things. Thanks to joerg for
noticing it.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Sep 7 16:22:54 2006 UTC (20 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +37 -1
lines
Added the usual documentation.
Whenever this file is used, PYTHON_VERSION_DEFAULT is added to
BUILD_DEFS to inform the user that the Python version is configurable.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Aug 8 09:49:57 2006 UTC (20 years, 3 months ago) by drochner
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2
lines
set the default defauly python version to 2.4
Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Jun 30 07:15:30 2006 UTC (20 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2006Q2-base,
pkgsrc-2006Q2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2
lines
py15-distutils-* => py15-distutils-[0-9]*
Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Jun 15 16:16:12 2006 UTC (20 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2
lines
Don't query distutils when bootstrapping it. Should fix problems
with devel/py-distutils from the bulk builds.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Jun 4 16:26:54 2006 UTC (20 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +19 -47
lines
Remove logic to use the current installed Python as default.
Always prefer the default version and fallback to the first entry
of PYTHON_VERSIONS_ACCEPTED, which is supported by the current
system. Also honour PYTHON_VERSIONS_ACCEPTED and _INCOMPATIBLE,
when PYTHON_VERSION_REQD is used.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Apr 6 06:22:13 2006 UTC (20 years, 7 months ago) by reed
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +13 -13
lines
Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Nov 4 18:24:37 2005 UTC (21 years ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2006Q1-base,
pkgsrc-2006Q1,
pkgsrc-2005Q4-base,
pkgsrc-2005Q4
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -2
lines
Use PTHREAD_OPTS+=require instead of a "=".
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Jul 9 01:11:15 2005 UTC (21 years, 4 months ago) by kristerw
Branches: MAIN
CVS tags: pkgsrc-2005Q3-base,
pkgsrc-2005Q3
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -2
lines
Prevent include of nonexisting file when the requested python version
is not available for the platform.
Mark packages as "unavailable" instead of "broken" when they depend on
a python version that is not available for the platform.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Jun 23 11:10:32 2005 UTC (21 years, 4 months ago) by seb
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2
lines
Fix typo: it's BUILDLINK_DEPMETHOD.python not BUILD_DEPMETHOD.python.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Mar 29 15:00:35 2005 UTC (21 years, 7 months ago) by xtraeme
Branches: MAIN
CVS tags: pkgsrc-2005Q2-base,
pkgsrc-2005Q2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2
lines
Use PKG_FAIL_REASON when the python version is not found, otherwise
will get an unassociated shell command building some packages.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Mar 24 22:44:37 2005 UTC (21 years, 7 months ago) by jlam
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -4
lines
Remove redundant inclusion of pth/buildlink3.mk. This exact same code
already exists in pthread.buildlink3.mk.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Mar 24 22:42:58 2005 UTC (21 years, 7 months ago) by jlam
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +7 -15
lines
Don't check for USE_BUILDLINK3 anymore in these files. These are included
by other package Makefiles, and with the deprecation of USE_BUILDLINK3
support in the infrastructure files, these had the potential to break
existing packages.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Jan 24 08:04:41 2005 UTC (21 years, 9 months ago) by recht
Branches: MAIN
CVS tags: pkgsrc-2005Q1-base,
pkgsrc-2005Q1
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2
lines
Remove 23 from PYTHON_VERSIONS_INCOMPATIBLE in the Darwin case.
It builds and runs just fine.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Jan 23 20:41:46 2005 UTC (21 years, 9 months ago) by recht
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +8 -73
lines
Build Python with thread support by default and turn the existing
python*-pth packages into meta-packages which will install the non-pth
packages. Bump PKGREVISIONs on the non-pth versions to propagate the
thread change, but leave the *-pth versions untouched to not affect
existing installations.
Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Dec 5 23:39:03 2004 UTC (21 years, 11 months ago) by recht
Branches: MAIN
CVS tags: pkgsrc-2004Q4-base,
pkgsrc-2004Q4
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +30 -3
lines
add Python 2.4
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Jul 23 15:35:50 2004 UTC (22 years, 3 months ago) by recht
Branches: MAIN
CVS tags: pkgsrc-2004Q3-base,
pkgsrc-2004Q3
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +15 -1
lines
Add PRINT_PLIST_AWKs for PYINC, PYSITELIB and PYLIB.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jun 6 16:24:55 2004 UTC (22 years, 5 months ago) by tv
Branches: MAIN
CVS tags: pkgsrc-2004Q2-base,
pkgsrc-2004Q2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +8 -4
lines
Add a PYTHON_VERSIONS_INCOMPATIBLE, an additive variable that can be set
by package Makefiles as well as buildlink3s to prevent usage of particular
versions of Python -- even if they appear in PYTHON_VERSIONS_ACCEPTED.
(And make Darwin exclusion use this variable instead, so that it effectively
overrides any pkg's definition of _ACCEPTED.)
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun May 23 17:15:09 2004 UTC (22 years, 5 months ago) by recht
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +6 -29
lines
Now that all Python modules have been bl3ified remove the bl2 support.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Apr 23 01:25:09 2004 UTC (22 years, 6 months ago) by danw
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6 -4
lines
set INSTALL_UNSTRIPPED on Darwin so modules will be able to resolve
symbols in the python binary. Bump PKGREVISION and require the new
versions on Darwin. Fixes pkg/25272
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Apr 22 16:03:51 2004 UTC (22 years, 6 months ago) by recht
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3
lines
Make Python 2.3 the default Python version.
ok'd by drochner@
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Mar 11 23:50:10 2004 UTC (22 years, 8 months ago) by danw
Branches: MAIN
CVS tags: pkgsrc-2004Q1-base,
pkgsrc-2004Q1
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2
lines
Fix up the supported versions on Darwin
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Jan 25 14:28:52 2004 UTC (22 years, 9 months ago) by recht
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +26 -3
lines
add buildlink3 support
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Sep 30 22:44:52 2003 UTC (23 years, 1 month ago) by kristerw
Branches: MAIN
CVS tags: pkgsrc-2003Q4-base,
pkgsrc-2003Q4
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -5
lines
DTRT for USE_BUILDLINK2=no (or [nN][oO]).
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Aug 4 08:15:47 2003 UTC (23 years, 3 months ago) by drochner
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +30 -3
lines
prepare for Python-2.3
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed May 7 20:08:18 2003 UTC (23 years, 6 months ago) by drochner
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +11 -3
lines
use the same logics for pth dependency like in python2?-pth/Makefile
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Mar 10 09:19:07 2003 UTC (23 years, 8 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2
lines
add 22pth and 21pth to default 'accepted' list
fixes PR pkg/20601 by David W. Talmage
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Dec 23 14:11:36 2002 UTC (23 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: netbsd-1-6-1-base,
netbsd-1-6-1
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -5
lines
Remove references to pth/buildlink.mk.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Nov 23 00:54:44 2002 UTC (23 years, 11 months ago) by schmonz
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -1
lines
On Darwin, since it's currently the only Python that's usable there,
force PYTHON_VERSIONS_ACCEPTED to "22".
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Oct 30 22:36:16 2002 UTC (24 years ago) by tsarna
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2
lines
Make default version of Python 2.2.x instead of 2.1.x. Since multiple
versions of Python may be installed, and packages that require an
earlier version can always specify that, this should cause no problem,
and it seems sensible that people who don't care should get the latest.
(drochner concurs)
Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Oct 25 10:52:24 2002 UTC (24 years ago) by drochner
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +16 -1
lines
another Python version
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Oct 9 11:11:51 2002 UTC (24 years, 1 month ago) by jlam
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -1
lines
Set PYPACKAGE to the ${PKGBASE} of the python package used. PYPACKAGE can
later be used to probe the values in the various buildlink2.mk files.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Oct 9 11:06:13 2002 UTC (24 years, 1 month ago) by jlam
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -7
lines
We actually refer to the pth-enable python package as "python21-pth".
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Sep 25 00:02:40 2002 UTC (24 years, 1 month ago) by seb
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2
lines
Fix typo on python21-pth pathname.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Sep 20 22:53:22 2002 UTC (24 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +12 -3
lines
Move the definitions for PYINC, PYLIB, and PYSITELIB to pyversion.mk
so that they may be used by buildlink2.mk files.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Sep 20 22:32:35 2002 UTC (24 years, 2 months ago) by jlam
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +26 -9
lines
Make this work with buildlink2.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Aug 20 20:00:14 2002 UTC (24 years, 3 months ago) by drochner
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +10 -1
lines
teach it about python21-pth
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Feb 2 13:26:01 2002 UTC (24 years, 9 months ago) by drochner
Branches: MAIN
CVS tags: pkgviews-base,
pkgviews,
netbsd-1-6-RELEASE-base,
netbsd-1-6,
netbsd-1-5-PATCH003,
buildlink2-base,
buildlink2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -1
lines
force an error if no usable Python version is found
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jan 29 19:21:58 2002 UTC (24 years, 9 months ago) by drochner
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +12 -1
lines
tell it about Python-1.5
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jan 19 12:54:52 2002 UTC (24 years, 10 months ago) by drochner
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +9 -4
lines
add an option to get a BUILD_DEPENDS only
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jan 17 11:06:42 2002 UTC (24 years, 10 months ago) by drochner
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +11 -5
lines
define a PYVERSSUFFIX (major.minor) and use it to define PYTHONBIN
add some comments
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jan 16 20:09:08 2002 UTC (24 years, 10 months ago) by drochner
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +8 -4
lines
allow to override the python minor versions
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jan 16 18:45:09 2002 UTC (24 years, 10 months ago) by drochner
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -3
lines
update for new location of the Python-2.0 pkg
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jan 15 17:18:01 2002 UTC (24 years, 10 months ago) by drochner
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +21 -3
lines
-protect against multiple inclusion
-know about Python-2.2
-add a way to override the version selection by a variable
"PYTHON_VERSION_REQD"
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:44:16 2002 UTC (24 years, 10 months ago) by drochner
Branches: MAIN
split out the python version logics into a separate file, for use by
other buildlink-style files
CVSweb <webmaster@jp.NetBSD.org>