notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
py-autoprop Infer properties from accessor methods
1.0.1 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.0.1Version of this port present on the latest quarterly branch.
Maintainer: db@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-03-20 14:43:23
Last Update: 2021-04-07 08:09:01
Commit Hash: cf118cc
Also Listed In: python
License: MIT
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}autoprop>0:devel/py-autoprop@${PY_FLAVOR}
To install the port: cd /usr/ports/devel/py-autoprop/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-autoprop
  • pkg install py37-autoprop
NOTE: This is a Python port. Instead of py37-autoprop listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py37-autoprop
Package flavors (<flavor>: <package>)
  • py37: py37-autoprop
distinfo:
Packages (timestamps in pop-ups are UTC):
py37-autoprop
ABIlatestquarterly
FreeBSD:11:aarch64-1.0.1
FreeBSD:11:amd64--
FreeBSD:11:armv6-1.0.1
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64-1.0.1
FreeBSD:12:aarch64--
FreeBSD:12:amd64--
FreeBSD:12:armv6-1.0.1
FreeBSD:12:armv7-1.0.1
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64-1.0.1
FreeBSD:12:powerpc64-1.0.1
FreeBSD:13:aarch641.0.1-
FreeBSD:13:amd64--
FreeBSD:13:armv61.0.11.0.1
FreeBSD:13:armv71.0.11.0.1
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc641.0.1-
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv61.0.1-
FreeBSD:14:armv71.0.1-
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc641.0.1-
 
py38-autoprop
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd641.0.11.0.1
FreeBSD:11:armv6--
FreeBSD:11:i3861.0.11.0.1
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-1.0.1
FreeBSD:12:amd641.0.11.0.1
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3861.0.11.0.1
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64-1.0.1
FreeBSD:13:amd641.0.11.0.1
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i3861.0.11.0.1
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64-1.0.1
FreeBSD:14:aarch641.0.1-
FreeBSD:14:amd641.0.1-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3861.0.1-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py37-setuptools>0 : devel/py-setuptools@py37
  2. python3.7 : lang/python37
Runtime dependencies:
  1. py37-setuptools>0 : devel/py-setuptools@py37
  2. python3.7 : lang/python37
This port is required by:
for Build
  1. graphics/py-glooey

Configuration Options:
Options name:

USES:

Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/a/autoprop/
  2. https://pypi.org/packages/source/a/autoprop/
Collapse this list.

Number of commits found: 4

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  1.0.1
mat search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  1.0.1
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
20 Mar 2020 16:23:28
Original commit files touched by this commit Revision:528789  1.0.1
db search for other commits by this committer
Wrong COMMENT
Should have been "Infer properties from accessor methods"
20 Mar 2020 14:43:18
Original commit files touched by this commit Revision:528779  1.0.1
db search for other commits by this committer
Properties are a feature in python that allow accessor functions (i.e. getters
and setters) to masquerade as regular attributes. This makes it possible to
provide transparent APIs for classes that need to cache results, lazily load
data, maintain invariants, or react in any other way to attribute access.

Unfortunately, making a property requires an annoying amount of boilerplate
code. There are a few ways to do it, but the most common and most succinct
requires you to decorate two functions (with two different decorators) and
to type the name of the attribute three times:

WWW: https://pypi.org/project/autoprop/

Number of commits found: 4