pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-dicttoxml Add py-dicttoxml-1.7.4:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/11ec9801cb8d
branches:  trunk
changeset: 369403:11ec9801cb8d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Sep 29 13:39:59 2017 +0000

description:
Add py-dicttoxml-1.7.4:

This module converts a Python dictionary or other native data type into a
valid XML string.

Supported item are int, float, long, decimal.Decimal, bool, str, unicode,
datetime, None and other number-like objects. Supported collection are
list, set, tuple and dict, as well as iterable and dict-like objects.
Items with a datetime type are converted to ISO format strings. Items
with a None type become empty XML elements.

diffstat:

 textproc/py-dicttoxml/DESCR    |   8 ++++++++
 textproc/py-dicttoxml/Makefile |  18 ++++++++++++++++++
 textproc/py-dicttoxml/PLIST    |   5 +++++
 textproc/py-dicttoxml/distinfo |   6 ++++++
 4 files changed, 37 insertions(+), 0 deletions(-)

diffs (53 lines):

diff -r 4871620436d4 -r 11ec9801cb8d textproc/py-dicttoxml/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-dicttoxml/DESCR       Fri Sep 29 13:39:59 2017 +0000
@@ -0,0 +1,8 @@
+This module converts a Python dictionary or other native data type into a
+valid XML string.
+
+Supported item are int, float, long, decimal.Decimal, bool, str, unicode,
+datetime, None and other number-like objects. Supported collection are
+list, set, tuple and dict, as well as iterable and dict-like objects.
+Items with a datetime type are converted to ISO format strings. Items
+with a None type become empty XML elements.
diff -r 4871620436d4 -r 11ec9801cb8d textproc/py-dicttoxml/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-dicttoxml/Makefile    Fri Sep 29 13:39:59 2017 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2017/09/29 13:39:59 joerg Exp $
+
+DISTNAME=      dicttoxml-1.7.4
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=d/dicttoxml/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/quandyfactory/dicttoxml
+COMMENT=       Library for simple XML serialization
+LICENSE=       gnu-gpl-v2
+
+# No real tests
+do-test:
+       ${NADA}
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4871620436d4 -r 11ec9801cb8d textproc/py-dicttoxml/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-dicttoxml/PLIST       Fri Sep 29 13:39:59 2017 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2017/09/29 13:39:59 joerg Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/dicttoxml.py
+${PYSITELIB}/dicttoxml.pyc
+${PYSITELIB}/dicttoxml.pyo
diff -r 4871620436d4 -r 11ec9801cb8d textproc/py-dicttoxml/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-dicttoxml/distinfo    Fri Sep 29 13:39:59 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/09/29 13:39:59 joerg Exp $
+
+SHA1 (dicttoxml-1.7.4.tar.gz) = dc5c2776518ae57ac5a567baa652e7abd8554b76
+RMD160 (dicttoxml-1.7.4.tar.gz) = 0e5d2626b7388226abf8213d6c2d67961f75c251
+SHA512 (dicttoxml-1.7.4.tar.gz) = 91abcf2b9b248717618e9fc1c8694e881b9deaa16438dd4674f94a22b4aabfdab3b13f95c3d44a60577d49eca82fb268f59b33d1312cf5388bdaf949a2865cbf
+Size (dicttoxml-1.7.4.tar.gz) = 18190 bytes



Home | Main Index | Thread Index | Old Index