Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 2021 13:15:13 +0000 (UTC)
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561725 - in head/textproc: . py-xmlschema
Message-ID:  <202101161315.10GDFD8f058945@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbaio
Date: Sat Jan 16 13:15:13 2021
New Revision: 561725
URL: https://svnweb.freebsd.org/changeset/ports/561725

Log:
  Add textproc/py-xmlschema: Implementation of XML Schema for Python
  
  The xmlschema library is an implementation of XML Schema for Python (supports
  Python 3.6+).
  
  This library arises from the needs of a solid Python layer for processing XML
  Schema based files for MaX (Materials design at the Exascale) European project.
  A significant problem is the encoding and the decoding of the XML data files
  produced by different simulation software. Another important requirement is the
  XML data validation, in order to put the produced data under control. The lack
  of a suitable alternative for Python in the schema-based decoding of XML data
  has led to build this library. Obviously this library can be useful for other
  cases related to XML Schema based processing, not only for the original scope.
  
  WWW: https://pypi.org/project/xmlschema/

Added:
  head/textproc/py-xmlschema/
  head/textproc/py-xmlschema/Makefile   (contents, props changed)
  head/textproc/py-xmlschema/distinfo   (contents, props changed)
  head/textproc/py-xmlschema/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Sat Jan 16 12:49:03 2021	(r561724)
+++ head/textproc/Makefile	Sat Jan 16 13:15:13 2021	(r561725)
@@ -1454,6 +1454,7 @@
     SUBDIR += py-xlwt
     SUBDIR += py-xml-default-dict
     SUBDIR += py-xmldiff
+    SUBDIR += py-xmlschema
     SUBDIR += py-yapf
     SUBDIR += py-zope.i18nmessageid
     SUBDIR += py-zope.structuredtext

Added: head/textproc/py-xmlschema/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-xmlschema/Makefile	Sat Jan 16 13:15:13 2021	(r561725)
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME=	xmlschema
+DISTVERSION=	1.4.1
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	dbaio@FreeBSD.org
+COMMENT=	Implementation of XML Schema for Python
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}elementpath>=2.0.4<3.0.0:textproc/py-elementpath@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}elementpath>=2.0.4<3.0.0:textproc/py-elementpath@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/textproc/py-xmlschema/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-xmlschema/distinfo	Sat Jan 16 13:15:13 2021	(r561725)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1610801347
+SHA256 (xmlschema-1.4.1.tar.gz) = ade693114ff2e4a9ed5a2371ce29ae888f689bc58e326e5796f8a7dc8954dd4a
+SIZE (xmlschema-1.4.1.tar.gz) = 329488

Added: head/textproc/py-xmlschema/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-xmlschema/pkg-descr	Sat Jan 16 13:15:13 2021	(r561725)
@@ -0,0 +1,13 @@
+The xmlschema library is an implementation of XML Schema for Python (supports
+Python 3.6+).
+
+This library arises from the needs of a solid Python layer for processing XML
+Schema based files for MaX (Materials design at the Exascale) European project.
+A significant problem is the encoding and the decoding of the XML data files
+produced by different simulation software. Another important requirement is the
+XML data validation, in order to put the produced data under control. The lack
+of a suitable alternative for Python in the schema-based decoding of XML data
+has led to build this library. Obviously this library can be useful for other
+cases related to XML Schema based processing, not only for the original scope.
+
+WWW: https://pypi.org/project/xmlschema/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101161315.10GDFD8f058945>