pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-simplegeneric Add py-simplegeneric 0.8.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/acb4212e1cc2
branches:  trunk
changeset: 361602:acb4212e1cc2
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Apr 23 03:43:15 2017 +0000

description:
Add py-simplegeneric 0.8.1

The simplegeneric module lets you define simple single-dispatch generic
functions, akin to Python's built-in generic functions like len(), iter()
and so on. However, instead of using specially-named methods,these
generic functions use simple lookup tables, akin to those used by e.g.
pickle.dump() and other generic functions found in
the Python standard library

diffstat:

 devel/py-simplegeneric/DESCR    |   6 ++++++
 devel/py-simplegeneric/Makefile |  15 +++++++++++++++
 devel/py-simplegeneric/PLIST    |   8 ++++++++
 devel/py-simplegeneric/distinfo |   5 +++++
 4 files changed, 34 insertions(+), 0 deletions(-)

diffs (50 lines):

diff -r bff42d131ae4 -r acb4212e1cc2 devel/py-simplegeneric/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-simplegeneric/DESCR      Sun Apr 23 03:43:15 2017 +0000
@@ -0,0 +1,6 @@
+The simplegeneric module lets you define simple single-dispatch generic
+functions, akin to Python's built-in generic functions like len(), iter()
+and so on. However, instead of using specially-named methods,these
+generic functions use simple lookup tables, akin to those used by e.g.
+pickle.dump() and other generic functions found in
+the Python standard library
diff -r bff42d131ae4 -r acb4212e1cc2 devel/py-simplegeneric/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-simplegeneric/Makefile   Sun Apr 23 03:43:15 2017 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2017/04/23 03:43:15 markd Exp $
+
+DISTNAME=      simplegeneric-0.8.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=s/simplegeneric/}
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    kamelderouiche%yahoo.com@localhost
+HOMEPAGE=      http://cheeseshop.python.org/pypi/simplegeneric
+COMMENT=       Simple generic functions for Python
+LICENSE=       zpl-2.0
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r bff42d131ae4 -r acb4212e1cc2 devel/py-simplegeneric/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-simplegeneric/PLIST      Sun Apr 23 03:43:15 2017 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/23 03:43:15 markd Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/simplegeneric.py
+${PYSITELIB}/simplegeneric.pyc
+${PYSITELIB}/simplegeneric.pyo
diff -r bff42d131ae4 -r acb4212e1cc2 devel/py-simplegeneric/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-simplegeneric/distinfo   Sun Apr 23 03:43:15 2017 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2017/04/23 03:43:15 markd Exp $
+
+SHA1 (simplegeneric-0.8.1.zip) = 5acde1287e8368a44d2ef0b8f15e348bbfdc9f1c
+RMD160 (simplegeneric-0.8.1.zip) = a464ef9b3dc774be8d13c0578c15c17dfd392eb0
+Size (simplegeneric-0.8.1.zip) = 12663 bytes



Home | Main Index | Thread Index | Old Index