./devel/py-atpublic, @public decorator for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.0, Package name: py311-atpublic-5.0, Maintainer: pkgsrc-users

This is a very simple decorator and function which populates a
module's __all__ and optionally the module globals.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 14.303 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-03 11:33:09 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-atpublic: updated to 4.1.0

4.1.0

Add support for Python 3.12.
Switch to hatch, replacing pdm and tox.
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-07-30 17:24:05 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-atpublic: updated to 4.0

4.0 (2023-06-05)
Drop Python 3.7 support
Remove public.install() which was used to inject the public and private \ 
functions into the builtins namespace. This isn’t very helpful and could be \ 
actively harmful. Explicit is better than implicit.
The functional form of public() now returns the argument values in the order \ 
they are given. This allows you to explicitly bind those values to names in the \ 
global namespace. While this is redundant, it does solve some linter problems.
Switch from flake8 and isort to ruff for code quality.
Bump dependencies.
   2023-03-29 11:34:15 by Thomas Klausner | Files touched by this commit (96)
Log message:
*: use PYTHON_VERSION instead of _PYTHON_VERSION
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-04-16 07:40:25 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-atpublic: updated to 2.3

2.3 (2021-04-13)
================
* Do type hinting the right way.

2.2 (2021-04-13)
================
* ``public()`` and ``private()`` can't be correctly type annotated, so the
  type hints on these two functions have been removed.  The ``ModuleAware``
  was also removed.
* Added a ``py.typed`` file to satisfy type checkers.
* Fixed a documentation cross-reference bug.