FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
py-prioritized_methods Extension to PEAK-Rules to prioritize methods
0.2.1_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
Maintainer: wenheping@gmail.com search for ports maintained by this maintainer
Port Added: 01 Jul 2009 10:47:59
Also Listed In: python
License: not specified in port
py-rioritized_methods is an extension to PEAK-Rules to prioritize
methods in order to avoid AmbiguousMethods situations.This module
provides four decorators:
    prioritized_when
    prioritized_around
    prioritized_before
    prioritized_after

These behave like their peak.rules counterparts except that they accept
an optional prio argument which can be used to provide a comparable
object (usually an integer) that will be used to disambiguate situations
in which more than rule applies to the given arguments and no rule is
more specific than another. That is, situations in which an
peak.rules.AmbiguousMethods would have been raised.

This is useful for libraries which want to be extensible via generic
functions but want their users to easily override a method without
figuring out how to write a more specific rule or when it is not
feasible.

WWW: https://pypi.python.org/pypi/prioritized_methods/
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/devel/py-prioritized_methods/ && make install clean
To add the package: pkg install py27-prioritized_methods

PKGNAME: py27-prioritized_methods

distinfo:

SHA256 (prioritized_methods-0.2.1.tar.gz) = 931da40e1ba53c6d35312371b3c84573f1a5297a0ee6a78584a2337d0180b63c
SIZE (prioritized_methods-0.2.1.tar.gz) = 4684


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. py27-PEAK-Rules>=0.5 : devel/py-PEAK-Rules
  2. py27-setuptools27>0 : devel/py-setuptools27
  3. python2.7 : lang/python27
Runtime dependencies:
  1. py27-PEAK-Rules>=0.5 : devel/py-PEAK-Rules
  2. py27-setuptools27>0 : devel/py-setuptools27
  3. python2.7 : lang/python27
There are no ports dependent upon this port

Configuration Options
     No options to configure

USES:
python

Master Sites:
  1. https://files.pythonhosted.org/packages/source/p/prioritized_methods/
  2. https://pypi.python.org/packages/source/p/prioritized_methods/

Number of commits found: 10

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
01 Apr 2016 14:00:57
Original commit files touched by this commit  0.2.1_1
Revision:412346
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
20 Oct 2014 16:04:14
Original commit files touched by this commit  0.2.1_1
Revision:371280
mva search for other commits by this committer
- Convert ports of devel/ to USES=python

Approved by:	portmgr (implicit)
10 Jun 2014 07:39:02
Original commit files touched by this commit  0.2.1_1
Revision:357277
olgeni search for other commits by this committer
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories D-F.

CR:		D196
Approved by:	portmgr (bapt)
06 Mar 2014 14:23:28
Original commit files touched by this commit  0.2.1_1
Revision:347236
miwi search for other commits by this committer
- Stage support
- Convert to autoplist
- Bump PORTREVISION
20 Nov 2013 20:51:25
Original commit files touched by this commit  0.2.1
Revision:334452
sunpoet search for other commits by this committer
- Update WWW:
  - http://cheeseshop.python.org/ -> https://pypi.python.org/
  - http://pypi.python.org/ -> https://pypi.python.org/

With hat:	python
Approved by:	bapt (portmgr)
20 Sep 2013 17:13:47
Original commit files touched by this commit  0.2.1
Revision:327724
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
21 Jan 2012 17:40:15
Original commit files touched by this commit  0.2.1
eadler search for other commits by this committer
At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.

Explicit duplication > := > = and this just moves ports one step to the left

Approved by:    portmgr
08 Jan 2012 07:01:25
Original commit files touched by this commit  0.2.1
eadler search for other commits by this committer
Repeated words are are hard to to find sometimes.

Approved by:    portmgr (itetcu)
03 Jul 2011 14:59:23
Original commit files touched by this commit  0.2.1
ohauer search for other commits by this committer
-remove MD5
01 Jul 2009 10:47:17
Original commit files touched by this commit  0.2.1
miwi search for other commits by this committer
py-rioritized_methods is an extension to PEAK-Rules to prioritize
methods in order to to avoid AmbiguousMethods situations.This module
provides four decorators:
    prioritized_when
    prioritized_around
    prioritized_before
    prioritized_after

These behave like their peak.rules counterparts except that they accept
an optional prio argument which can be used to provide a comparable
object (usually an integer) that will be used to disambiguate situations
in which more than rule applies to the given arguments and no rule is
more specific than another. That is, situations in which an
peak.rules.AmbiguousMethods would have been raised.

This is useful for libraries which want to be extensible via generic
functions but want their users to easily override a method without
figuring out how to write a more specific rule or when it is not
feasible.

WWW:    http://pypi.python.org/pypi/prioritized_methods/

PR:             ports/136094
Submitted by:   Wen Heping <wenheping at gmail.com>

Number of commits found: 10

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
firefoxDec 01
firefox-esrDec 01
libxulDec 01
linux-firefoxDec 01
linux-thunderbirdDec 01
thunderbirdDec 01
tsharkDec 01
tshark-liteDec 01
wiresharkDec 01
wireshark-liteDec 01
wireshark-qt5Dec 01
expat2*Nov 30
expat2*Nov 30
gnupg1*Nov 30
libgcrypt*Nov 30

18 vulnerabilities affecting 59 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 26920
Broken 314
Deprecated 151
Ignore 577
Forbidden 1
Restricted 213
No CDROM 82
Vulnerable 58
Expired 13
Set to expire 130
Interactive 0
new 24 hours 5
new 48 hours12
new 7 days57
new fortnight106
new month266

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.