devel/py-functools32: Backport of the functools module from Python 3 for use on 2.7
This is a backport of the Python 3.2 functools module for use on Python versions 2.7 and PyPy. It includes new features lru_cache (Least-recently-used cache decorator). WWW: https://github.com/MiCHiLU/python-functools32
This commit is contained in:
parent
5a6db92ec0
commit
f5504afe4c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401344
4 changed files with 29 additions and 0 deletions
|
@ -4025,6 +4025,7 @@
|
|||
SUBDIR += py-fsm
|
||||
SUBDIR += py-fudge
|
||||
SUBDIR += py-funcparserlib
|
||||
SUBDIR += py-functools32
|
||||
SUBDIR += py-fusefs
|
||||
SUBDIR += py-future
|
||||
SUBDIR += py-futures
|
||||
|
|
21
devel/py-functools32/Makefile
Normal file
21
devel/py-functools32/Makefile
Normal file
|
@ -0,0 +1,21 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= functools32
|
||||
PORTVERSION= 3.2.3
|
||||
CATEGORIES= devel python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= wg@FreeBSD.org
|
||||
COMMENT= Backport of the functools module from Python 3.2.3 for use on 2.7
|
||||
|
||||
LICENSE= PSFL
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= MiCHiLU
|
||||
GH_PROJECT= python-functools32
|
||||
GH_TAGNAME= ad90fa8
|
||||
|
||||
USES= python:2
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/py-functools32/distinfo
Normal file
2
devel/py-functools32/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (MiCHiLU-python-functools32-3.2.3-ad90fa8_GH0.tar.gz) = 93cb95e0bf53b84b36857d7d65192f1fab8e632500035203f116301352e12b95
|
||||
SIZE (MiCHiLU-python-functools32-3.2.3-ad90fa8_GH0.tar.gz) = 31582
|
5
devel/py-functools32/pkg-descr
Normal file
5
devel/py-functools32/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
This is a backport of the Python 3.2 functools module for use on Python
|
||||
versions 2.7 and PyPy. It includes new features lru_cache (Least-recently-used
|
||||
cache decorator).
|
||||
|
||||
WWW: https://github.com/MiCHiLU/python-functools32
|
Loading…
Reference in a new issue