diff options
author | yuri <yuri@FreeBSD.org> | 2019-03-31 14:08:08 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2019-03-31 14:08:08 +0800 |
commit | 1656bbadcf5be4389d28923fca8ef57fac3fe6bf (patch) | |
tree | 5e4b968a984032dac75d65678e3c9d2fef047a5a | |
parent | c569115975c926b5b18817e0826e649052291ca9 (diff) | |
download | freebsd-ports-gnome-1656bbadcf5be4389d28923fca8ef57fac3fe6bf.tar.gz freebsd-ports-gnome-1656bbadcf5be4389d28923fca8ef57fac3fe6bf.tar.zst freebsd-ports-gnome-1656bbadcf5be4389d28923fca8ef57fac3fe6bf.zip |
New port: devel/py-dataclasses: Backport of the dataclasses module for Python 3.6
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-dataclasses/Makefile | 20 | ||||
-rw-r--r-- | devel/py-dataclasses/distinfo | 3 | ||||
-rw-r--r-- | devel/py-dataclasses/pkg-descr | 8 |
4 files changed, 32 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 04d6b0f7d8ee..c504c6ccdb94 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4520,6 +4520,7 @@ SUBDIR += py-dal SUBDIR += py-darcsver SUBDIR += py-darts.util.lru + SUBDIR += py-dataclasses SUBDIR += py-datatest SUBDIR += py-dateparser SUBDIR += py-dateutil diff --git a/devel/py-dataclasses/Makefile b/devel/py-dataclasses/Makefile new file mode 100644 index 000000000000..73acfb22d822 --- /dev/null +++ b/devel/py-dataclasses/Makefile @@ -0,0 +1,20 @@ +# $FreeBSD$ + +PORTNAME= dataclasses +PORTVERSION= 0.6 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Backport of the dataclasses module for Python 3.6 + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= python:3.6 +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-dataclasses/distinfo b/devel/py-dataclasses/distinfo new file mode 100644 index 000000000000..ed1a76f1094d --- /dev/null +++ b/devel/py-dataclasses/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1554012196 +SHA256 (dataclasses-0.6.tar.gz) = 6988bd2b895eef432d562370bb707d540f32f7360ab13da45340101bc2307d84 +SIZE (dataclasses-0.6.tar.gz) = 36819 diff --git a/devel/py-dataclasses/pkg-descr b/devel/py-dataclasses/pkg-descr new file mode 100644 index 000000000000..85514eddb9a4 --- /dev/null +++ b/devel/py-dataclasses/pkg-descr @@ -0,0 +1,8 @@ +This is an implementation of PEP 557, Data Classes. It is a backport for +Python 3.6. Because dataclasses will be included in Python 3.7, any discussion +of dataclass features should occur on the python-dev mailing list at +https://mail.python.org/mailman/listinfo/python-dev. At this point this repo +should only be used for historical purposes (it's where the original dataclasses +discussions took place) and for discussion of the actual backport to Python 3.6. + +WWW: https://github.com/ericvsmith/dataclasses |