Import wip/py-chainmap in version 1.0.3

This module is a polyfill, implementing ChainMap for reasonably-recent versions
of Python that do not have collections.ChainMap-namely, Python 2.6, Python
3.2, and PyPy3 releases based on Python 3.2. (It will also work as expected on
Python 2.7, PyPy, and Python 3.3+, but it is not strictly needed there since
those versions' collections modules contains good ChainMap implementations.)
This commit is contained in:
Pierre Pronchery 2019-10-24 05:02:27 +02:00
parent af0c77637b
commit 97cb85203c
5 changed files with 44 additions and 0 deletions

View File

@ -3223,6 +3223,7 @@ SUBDIR+= py-cf-python
SUBDIR+= py-cgen
SUBDIR+= py-chaco
SUBDIR+= py-chainer
SUBDIR+= py-chainmap
SUBDIR+= py-chaintipy
SUBDIR+= py-chaos
SUBDIR+= py-chealpy

5
py-chainmap/DESCR Normal file
View File

@ -0,0 +1,5 @@
This module is a polyfill, implementing ChainMap for reasonably-recent versions
of Python that do not have collections.ChainMap-namely, Python 2.6, Python
3.2, and PyPy3 releases based on Python 3.2. (It will also work as expected on
Python 2.7, PyPy, and Python 3.3+, but it is not strictly needed there since
those versions' collections modules contains good ChainMap implementations.)

17
py-chainmap/Makefile Normal file
View File

@ -0,0 +1,17 @@
# $NetBSD$
DISTNAME= chainmap-1.0.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/chainmap/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://bitbucket.org/jeunice/chainmap
COMMENT= Polyfill implementing ChainMap
LICENSE= python-software-foundation
USE_LANGUAGES= # none
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"

15
py-chainmap/PLIST Normal file
View File

@ -0,0 +1,15 @@
@comment $NetBSD$
${PYSITELIB}/${EGG_FILE}/PKG-INFO
${PYSITELIB}/${EGG_FILE}/SOURCES.txt
${PYSITELIB}/${EGG_FILE}/dependency_links.txt
${PYSITELIB}/${EGG_FILE}/not-zip-safe
${PYSITELIB}/${EGG_FILE}/top_level.txt
${PYSITELIB}/chainmap/__init__.py
${PYSITELIB}/chainmap/__init__.pyc
${PYSITELIB}/chainmap/__init__.pyo
${PYSITELIB}/chainmap/chainmap.py
${PYSITELIB}/chainmap/chainmap.pyc
${PYSITELIB}/chainmap/chainmap.pyo
${PYSITELIB}/chainmap/version.py
${PYSITELIB}/chainmap/version.pyc
${PYSITELIB}/chainmap/version.pyo

6
py-chainmap/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (chainmap-1.0.3.tar.gz) = 6480a4352b2848ab75f76feef92cd92223805075
RMD160 (chainmap-1.0.3.tar.gz) = ee940983385fb5a12addae23aa768fea43f181d8
SHA512 (chainmap-1.0.3.tar.gz) = 0079f7e725d67a89402b00290bd9dfe5232c91050e68809c6fa76ce6697279ca6962a92f80a841341006d05d9a36fef639fe1e967631e21275aad03c1d871bad
Size (chainmap-1.0.3.tar.gz) = 6325 bytes