diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-01-11 10:51:54 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-01-11 10:51:54 +0000 |
commit | 49f979926a32934e2de54d74e7316ca2f08a64e4 (patch) | |
tree | ed4e4ced8bb16e1475f57d180ee87b29a7b015a2 | |
parent | - Fix build on HEAD (diff) |
Read and write Ruby-marshalled data.
Only basics Ruby data types can be read and written:
* `float`,
* `bool`,
* `int`,
* `str` (mapped to `unicode` in Python 2),
* `nil` (mapped to `None` in Python),
* `array` (mapped to `list`),
* `hash` (mapped to `dict`),
* symbols and other classes are mapped to specific Python classes.
WWW: https://pypi.python.org/pypi/rubymarshal
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-rubymarshal/Makefile | 21 | ||||
-rw-r--r-- | devel/py-rubymarshal/distinfo | 3 | ||||
-rw-r--r-- | devel/py-rubymarshal/pkg-descr | 13 |
4 files changed, 38 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index a94d4b5667cd..26981a634496 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4604,6 +4604,7 @@ SUBDIR += py-rtslib-fb SUBDIR += py-ruamel.ordereddict SUBDIR += py-ruamel.yaml + SUBDIR += py-rubymarshal SUBDIR += py-ruledispatch SUBDIR += py-sanetime SUBDIR += py-sarge diff --git a/devel/py-rubymarshal/Makefile b/devel/py-rubymarshal/Makefile new file mode 100644 index 000000000000..02c346d30125 --- /dev/null +++ b/devel/py-rubymarshal/Makefile @@ -0,0 +1,21 @@ +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= rubymarshal +PORTVERSION= 1.0.3 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Read and write Ruby-marshalled data + +LICENSE= WTFPL +LICENSE_NAME= WTFPL +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +USES= python +USE_PYTHON= autoplist distutils +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-rubymarshal/distinfo b/devel/py-rubymarshal/distinfo new file mode 100644 index 000000000000..a8d93f518c6a --- /dev/null +++ b/devel/py-rubymarshal/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1484074388 +SHA256 (rubymarshal-1.0.3.tar.gz) = 2227fbfcb5a9b34f603d06f4dd0dc76f84af2b897bdd26fcaa340f8d025b348c +SIZE (rubymarshal-1.0.3.tar.gz) = 9386 diff --git a/devel/py-rubymarshal/pkg-descr b/devel/py-rubymarshal/pkg-descr new file mode 100644 index 000000000000..31dc8796149c --- /dev/null +++ b/devel/py-rubymarshal/pkg-descr @@ -0,0 +1,13 @@ +Read and write Ruby-marshalled data. +Only basics Ruby data types can be read and written: + + * `float`, + * `bool`, + * `int`, + * `str` (mapped to `unicode` in Python 2), + * `nil` (mapped to `None` in Python), + * `array` (mapped to `list`), + * `hash` (mapped to `dict`), + * symbols and other classes are mapped to specific Python classes. + +WWW: https://pypi.python.org/pypi/rubymarshal |