pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-dicttoxml



Module Name:    pkgsrc
Committed By:   joerg
Date:           Fri Sep 29 13:39:59 UTC 2017

Added Files:
        pkgsrc/textproc/py-dicttoxml: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-dicttoxml/DESCR \
    pkgsrc/textproc/py-dicttoxml/Makefile pkgsrc/textproc/py-dicttoxml/PLIST \
    pkgsrc/textproc/py-dicttoxml/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/textproc/py-dicttoxml/DESCR
diff -u /dev/null pkgsrc/textproc/py-dicttoxml/DESCR:1.1
--- /dev/null   Fri Sep 29 13:39:59 2017
+++ pkgsrc/textproc/py-dicttoxml/DESCR  Fri Sep 29 13:39:59 2017
@@ -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.
Index: pkgsrc/textproc/py-dicttoxml/Makefile
diff -u /dev/null pkgsrc/textproc/py-dicttoxml/Makefile:1.1
--- /dev/null   Fri Sep 29 13:39:59 2017
+++ pkgsrc/textproc/py-dicttoxml/Makefile       Fri Sep 29 13:39:59 2017
@@ -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"
Index: pkgsrc/textproc/py-dicttoxml/PLIST
diff -u /dev/null pkgsrc/textproc/py-dicttoxml/PLIST:1.1
--- /dev/null   Fri Sep 29 13:39:59 2017
+++ pkgsrc/textproc/py-dicttoxml/PLIST  Fri Sep 29 13:39:59 2017
@@ -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
Index: pkgsrc/textproc/py-dicttoxml/distinfo
diff -u /dev/null pkgsrc/textproc/py-dicttoxml/distinfo:1.1
--- /dev/null   Fri Sep 29 13:39:59 2017
+++ pkgsrc/textproc/py-dicttoxml/distinfo       Fri Sep 29 13:39:59 2017
@@ -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