pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/py-ranking Import ranking-0.3.1 as games/py-rank...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e4f47bf13dde
branches: trunk
changeset: 621261:e4f47bf13dde
user: kleink <kleink%pkgsrc.org@localhost>
date: Sat Jul 06 17:36:39 2013 +0000
description:
Import ranking-0.3.1 as games/py-ranking.
In most cases, enumerate (a Python standard function) is the best tool
to make a ranking. But how about tie scores?
This module implements Ranking that looks like enumerate but generates
ranks instead of indexes and various strategies to assign ranks to
tie scores.
diffstat:
games/py-ranking/DESCR | 6 ++++++
games/py-ranking/Makefile | 18 ++++++++++++++++++
games/py-ranking/PLIST | 8 ++++++++
games/py-ranking/distinfo | 5 +++++
4 files changed, 37 insertions(+), 0 deletions(-)
diffs (53 lines):
diff -r f603ebc7274f -r e4f47bf13dde games/py-ranking/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/py-ranking/DESCR Sat Jul 06 17:36:39 2013 +0000
@@ -0,0 +1,6 @@
+In most cases, enumerate (a Python standard function) is the best tool
+to make a ranking. But how about tie scores?
+
+This module implements Ranking that looks like enumerate but generates
+ranks instead of indexes and various strategies to assign ranks to
+tie scores.
diff -r f603ebc7274f -r e4f47bf13dde games/py-ranking/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/py-ranking/Makefile Sat Jul 06 17:36:39 2013 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2013/07/06 17:36:39 kleink Exp $
+
+DISTNAME= ranking-0.3.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= games python
+MASTER_SITES= http://pypi.python.org/packages/source/r/ranking/
+
+MAINTAINER= kleink%NetBSD.org@localhost
+HOMEPAGE= http://pythonhosted.org/ranking/
+COMMENT= Library for ranking collection
+LICENSE= modified-bsd
+
+USE_LANGUAGES= # empty
+
+PYTHON_VERSIONS_INCLUDE_3X= yes
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f603ebc7274f -r e4f47bf13dde games/py-ranking/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/py-ranking/PLIST Sat Jul 06 17:36:39 2013 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2013/07/06 17:36:39 kleink Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/ranking.py
+${PYSITELIB}/ranking.pyc
+${PYSITELIB}/ranking.pyo
diff -r f603ebc7274f -r e4f47bf13dde games/py-ranking/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/py-ranking/distinfo Sat Jul 06 17:36:39 2013 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/06 17:36:39 kleink Exp $
+
+SHA1 (ranking-0.3.1.tar.gz) = 66514d2ab5ef72ffe2d1373356bc7422102c0dfa
+RMD160 (ranking-0.3.1.tar.gz) = 8af18a999c0bf907e394810aed4beb0c2d069e18
+Size (ranking-0.3.1.tar.gz) = 5110 bytes
Home |
Main Index |
Thread Index |
Old Index