Port details |
- py-pycerberus Highly flexible, no magic input validation library
- 0.6 devel
=0 Version of this port present on the latest quarterly branch. - Maintainer: douglas@douglasthrift.net
 - Port Added: 2010-10-12 02:54:24
- Last Update: 2023-01-11 15:58:34
- Commit Hash: 77d6847
- Also Listed In: python
- License: MIT
- Description:
- Pycerberus is a framework to check user data thoroughly so that you can
protect your application from malicious (or just garbled) input data.
* Remove stupid code which converts input values: After values are
validated, you can work with real Python types instead of strings -
e.g. 42 instead of '42', convert database IDs to model objects
transparently.
* Implement custom validation rules: Writing custom validators is
straightforward, everything is well documented and pycerberus only
uses very little Python magic.
* Focus on your value-adding application code: Save time by
implementing every input validation rule only once, but 100% right
instead of implementing a dozen different half-baked solutions.
* Ready for global business: i18n support (based on GNU gettext) is
built in, adding custom translations is easy.
* Tune it for your needs: You can implement custom behavior in your
validators, e.g. fetch translations from a database instead of using
gettext or define custom translations for built-in validators.
* Use it wherever you like: pycerberus is used in a SMTP server, trac
macros as well as web applications - there are no dependecies on a
specific context like web development.
¦ ¦ ¦ ¦ 
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}pycerberus>0:devel/py-pycerberus@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-pycerberus/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-pycerberus
- pkg install py39-pycerberus
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 py39-pycerberus listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-pycerberus
- Package flavors (<flavor>: <package>)
- distinfo:
- SHA256 (pycerberus-0.6.tar.gz) = 1e0fc73b6c9619b3b780831299e2bb0a62094a0f6cc3f80a6a46c2072d5b79d1
SIZE (pycerberus-0.6.tar.gz) = 152848
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- devel_py-pycerberus
- USES:
- python:3.6+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.6 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
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) |
0.6 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
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 ) |
0.6 20 Jul 2022 14:21:35
    |
Tobias C. Berner (tcberner)  |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
0.6 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.6 03 Jan 2021 09:11:52
  |
antoine  |
Remove python 2.7 support from a few ports |
0.6 18 Nov 2015 19:59:51
  |
rm  |
devel/py-pycerberus: update to 0.6
0.6 (24.11.2014)
====================
- stop using 2to3 for Python 3 compatibility and use exactly the same source
for all Python versions.
- drop support for Python 2.4 and 2.5
- bug fix: detect validator message keys correctly also when messages are
specified during validator initialization
PR: 204585
Submitted by: douglas@douglasthrift.net (maintainer) |
0.5_1 20 Oct 2014 16:04:14
  |
mva  |
- Convert ports of devel/ to USES=python
Approved by: portmgr (implicit) |
0.5_1 08 Jun 2014 18:17:55
  |
mva  |
- Remove easy_install dependency
- Bump PORTREVISION to enforce a cleanup for the easy_install references
With hat: python@
Approved by: portmgr (implicit) |
0.5 10 Nov 2013 22:30:31
  |
wg  |
devel/py-pycerberus: allow staging
- Allow staging
- Use python auto plist
PR: ports/183850
Submitted by: maintainer |
0.5 20 Sep 2013 17:13:47
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3) |
0.5 12 Aug 2013 08:08:41
  |
culot  |
- Update to 0.5
- Trim Makefile's header
Changes: http://www.schwarz.eu/opensource/hg/pycerberus/file/9c1ca986cc1d/Changelog.txt
PR: ports/181232
Submitted by: Douglas William Thrift <douglas@douglasthrift.net> (maintainer) |
0.4.2 06 May 2011 06:49:16
 |
wen  |
- Update to 0.4.2
PR: ports/156841
Submitted by: Douglas William Thrift <douglas@douglasthrift.net> (maintainer) |
0.3.3 12 Oct 2010 02:54:01
 |
sunpoet  |
- Add py-pycerberus 0.3.3
Pycerberus is a framework to check user data thoroughly so that you can
protect your application from malicious (or just garbled) input data.
* Remove stupid code which converts input values: After values are
validated, you can work with real Python types instead of strings -
e.g. 42 instead of '42', convert database IDs to model objects
transparently.
* Implement custom validation rules: Writing custom validators is
straightforward, everything is well documented and pycerberus only
uses very little Python magic.
* Focus on your value-adding application code: Save time by
implementing every input validation rule only once, but 100% right
instead of implementing a dozen different half-baked solutions. (Only the first 15 lines of the commit message are shown above ) |