import py-dicttoxml-1.7.4

Converts a Python dictionary or other native data type into a valid XML
string.

ok rpointel@
This commit is contained in:
jasper 2017-11-30 20:12:49 +00:00
parent 683da7f1f8
commit 7b99f1e583
4 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/11/30 20:12:49 jasper Exp $
COMMENT = convert dicts and other data types into XML
MODPY_EGG_VERSION = 1.7.4
DISTNAME = dicttoxml-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = textproc
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_PI = Yes
FLAVORS = python3
FLAVOR ?=
NO_TEST = Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (dicttoxml-1.7.4.tar.gz) = 6kTMTsbA+FCYxXpDGh7okbNUk0ewe3QUyKJGEezzfkU=
SIZE (dicttoxml-1.7.4.tar.gz) = 18190

View File

@ -0,0 +1,9 @@
Converts a Python dictionary or other native data type into a valid XML
string.
Supports item (int, float, long, decimal.Decimal, bool, str, unicode,
datetime, none and other number-like objects) and collection (list, set,
tuple and dict, as well as iterable and dict-like objects) data types,
with arbitrary nesting for the collections. Items with a datetime type
are converted to ISO format strings. Items with a None type become empty
XML elements.

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/11/30 20:12:49 jasper Exp $
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}dicttoxml.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/dicttoxml-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/dicttoxml.py