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:
parent
683da7f1f8
commit
7b99f1e583
24
textproc/py-dicttoxml/Makefile
Normal file
24
textproc/py-dicttoxml/Makefile
Normal 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>
|
2
textproc/py-dicttoxml/distinfo
Normal file
2
textproc/py-dicttoxml/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (dicttoxml-1.7.4.tar.gz) = 6kTMTsbA+FCYxXpDGh7okbNUk0ewe3QUyKJGEezzfkU=
|
||||
SIZE (dicttoxml-1.7.4.tar.gz) = 18190
|
9
textproc/py-dicttoxml/pkg/DESCR
Normal file
9
textproc/py-dicttoxml/pkg/DESCR
Normal 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.
|
5
textproc/py-dicttoxml/pkg/PLIST
Normal file
5
textproc/py-dicttoxml/pkg/PLIST
Normal 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
|
Loading…
Reference in New Issue
Block a user