pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel This is a backport of the functools standard lib...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f32c1ebade48
branches:  trunk
changeset: 363236:f32c1ebade48
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jun 05 07:27:02 2017 +0000

description:
This is a backport of the functools standard library module from Python 3.2.3
for use on Python 2.7 and PyPy. It includes new features lru_cache
(Least-recently-used cache decorator).

diffstat:

 devel/Makefile                |   3 ++-
 devel/py-functools32/DESCR    |   3 +++
 devel/py-functools32/Makefile |  20 ++++++++++++++++++++
 devel/py-functools32/PLIST    |  14 ++++++++++++++
 devel/py-functools32/distinfo |   6 ++++++
 5 files changed, 45 insertions(+), 1 deletions(-)

diffs (76 lines):

diff -r b4d5166164a6 -r f32c1ebade48 devel/Makefile
--- a/devel/Makefile    Mon Jun 05 04:48:01 2017 +0000
+++ b/devel/Makefile    Mon Jun 05 07:27:02 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2441 2017/06/04 15:54:38 taca Exp $
+# $NetBSD: Makefile,v 1.2442 2017/06/05 07:27:02 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -1846,6 +1846,7 @@
 SUBDIR+=       py-freezegun
 SUBDIR+=       py-funcparserlib
 SUBDIR+=       py-funcsigs
+SUBDIR+=       py-functools32
 SUBDIR+=       py-future
 SUBDIR+=       py-futures
 SUBDIR+=       py-game
diff -r b4d5166164a6 -r f32c1ebade48 devel/py-functools32/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-functools32/DESCR        Mon Jun 05 07:27:02 2017 +0000
@@ -0,0 +1,3 @@
+This is a backport of the functools standard library module from Python 3.2.3
+for use on Python 2.7 and PyPy. It includes new features lru_cache
+(Least-recently-used cache decorator).
diff -r b4d5166164a6 -r f32c1ebade48 devel/py-functools32/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-functools32/Makefile     Mon Jun 05 07:27:02 2017 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/06/05 07:27:02 adam Exp $
+
+DISTNAME=      functools32-3.2.3-2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:C/-([0-9])$/.\1/}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=f/functools32/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/MiCHiLU/python-functools32
+COMMENT=       Backport of the functools module from Python 3.2.3
+LICENSE=       python-software-foundation
+
+USE_LANGUAGES=         # none
+
+PYTHON_VERSIONS_ACCEPTED=      27
+
+EGG_NAME=      ${DISTNAME:C/-([0-9])$/_\1/}
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b4d5166164a6 -r f32c1ebade48 devel/py-functools32/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-functools32/PLIST        Mon Jun 05 07:27:02 2017 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2017/06/05 07:27:02 adam Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/functools32/__init__.py
+${PYSITELIB}/functools32/__init__.pyc
+${PYSITELIB}/functools32/__init__.pyo
+${PYSITELIB}/functools32/_dummy_thread32.py
+${PYSITELIB}/functools32/_dummy_thread32.pyc
+${PYSITELIB}/functools32/_dummy_thread32.pyo
+${PYSITELIB}/functools32/functools32.py
+${PYSITELIB}/functools32/functools32.pyc
+${PYSITELIB}/functools32/functools32.pyo
+${PYSITELIB}/functools32/reprlib32.py
+${PYSITELIB}/functools32/reprlib32.pyc
+${PYSITELIB}/functools32/reprlib32.pyo
diff -r b4d5166164a6 -r f32c1ebade48 devel/py-functools32/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-functools32/distinfo     Mon Jun 05 07:27:02 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/06/05 07:27:02 adam Exp $
+
+SHA1 (functools32-3.2.3-2.tar.gz) = a520082a56af52c7af8d2d1390856bf1a0d755df
+RMD160 (functools32-3.2.3-2.tar.gz) = f96924aa207ac835157f734a785216f57cdb123a
+SHA512 (functools32-3.2.3-2.tar.gz) = ad944019f4aefde292b6872bfe06862d01920a2f44adf8740c36ed51d16d879be7638591aaddf9dac4ec83b6f05bbf81972d5f32854abedcce3dde080459f7f7
+Size (functools32-3.2.3-2.tar.gz) = 31171 bytes



Home | Main Index | Thread Index | Old Index