Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2019 01:31:28 +0000 (UTC)
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498629 - in head: . security security/py-xmlsec security/py-xmlsec/files
Message-ID:  <201904110131.x3B1VSUr010772@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Thu Apr 11 01:31:28 2019
New Revision: 498629
URL: https://svnweb.freebsd.org/changeset/ports/498629

Log:
  security/py-xmlsec: Unbreak and resurrect
  
  - Update version 0.3.0=>1.3.6 from fork

Added:
  head/security/py-xmlsec/
     - copied from r453965, head/security/py-xmlsec/
Deleted:
  head/security/py-xmlsec/files/
Modified:
  head/MOVED
  head/security/Makefile
  head/security/py-xmlsec/Makefile
  head/security/py-xmlsec/distinfo
  head/security/py-xmlsec/pkg-descr

Modified: head/MOVED
==============================================================================
--- head/MOVED	Thu Apr 11 00:56:12 2019	(r498628)
+++ head/MOVED	Thu Apr 11 01:31:28 2019	(r498629)
@@ -9522,7 +9522,6 @@ databases/elixir-ecto_migrate||2017-11-11|Has expired:
 audio/gspeakers||2017-11-11|Has expired: Broken for more than 6 months
 net/p5-Filesys-SmbClient||2017-11-11|Has expired: Broken for more than 6 months
 audio/tclmidi||2017-11-11|Has expired: Broken for more than 6 months
-security/py-xmlsec||2017-11-11|Has expired: Broken for more than 6 months
 security/samba-virusfilter||2017-11-11|Has expired: Broken for more than 6 months
 textproc/ocaml-pxp||2017-11-11|Has expired: Broken for more than 6 months
 audio/sooperlooper||2017-11-11|Has expired: Broken for more than 6 months

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Thu Apr 11 00:56:12 2019	(r498628)
+++ head/security/Makefile	Thu Apr 11 01:31:28 2019	(r498629)
@@ -1055,6 +1055,7 @@ PORTREVISION=	1
     SUBDIR += py-virustotal-api
     SUBDIR += py-volatility
     SUBDIR += py-vulndb
+    SUBDIR += py-xmlsec
     SUBDIR += py-yara
     SUBDIR += py-yubikey-manager
     SUBDIR += py-zope.app.authentication

Modified: head/security/py-xmlsec/Makefile
==============================================================================
--- head/security/py-xmlsec/Makefile	Sat Nov 11 09:24:00 2017	(r453965)
+++ head/security/py-xmlsec/Makefile	Thu Apr 11 01:31:28 2019	(r498629)
@@ -2,45 +2,32 @@
 # $FreeBSD$
 
 PORTNAME=	xmlsec
-PORTVERSION=	0.3.0
-PORTREVISION=	4
+PORTVERSION=	1.3.6
 CATEGORIES=	security python
-MASTER_SITES=	http://labs.libre-entreprise.org/frs/download.php/430/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	py${PORTNAME}-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Python bindings for XML Security Library
 
-LICENSE=	GPLv2+
-LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN=		does not build (x509.c:46:60: error: too many arguments to function call, expected 2, have 3)
-DEPRECATED=	Broken for more than 6 months
-EXPIRATION_DATE=	2017-11-09
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=3.8.0:devel/py-lxml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pkgconfig>=0:devel/py-pkgconfig@${PY_FLAVOR}
+LIB_DEPENDS=	libltdl.so:devel/libltdl \
+		libxmlsec1-nss.so:security/xmlsec1
 
-LIB_DEPENDS=	libxmlsec1.so:security/xmlsec1
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2
+USES=		gnome pkgconfig python
+USE_GITHUB=	yes
+USE_GNOME=	libxml2 libxslt
+USE_PYTHON=	autoplist distutils flavors
 
-USES=		python:2 ssl
-USE_PYTHON=	distutils autoplist
+GH_ACCOUNT=	mehcode
+GH_PROJECT=	python-xmlsec
 
-DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
-EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
-PORTDOCS=	*
-PORTEXAMPLES=	*
+INSTALL_TARGET=	install-strip
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/xmlsecmod.so
-
-post-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/)
-
-post-install-EXAMPLES-on:
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/xmlsec.so
 
 .include <bsd.port.mk>

Modified: head/security/py-xmlsec/distinfo
==============================================================================
--- head/security/py-xmlsec/distinfo	Sat Nov 11 09:24:00 2017	(r453965)
+++ head/security/py-xmlsec/distinfo	Thu Apr 11 01:31:28 2019	(r498629)
@@ -1,2 +1,3 @@
-SHA256 (pyxmlsec-0.3.0.tar.gz) = 4ddb5a548fb44d77463cae11b8f3e77c4e8c0e84d5c562e146e752fc653e2c35
-SIZE (pyxmlsec-0.3.0.tar.gz) = 224312
+TIMESTAMP = 1554943903
+SHA256 (mehcode-python-xmlsec-1.3.6_GH0.tar.gz) = 8b9aec1836f6dfedca79d63108ac82fe8849d473a2c61f5093fbf36af5b10545
+SIZE (mehcode-python-xmlsec-1.3.6_GH0.tar.gz) = 51174

Modified: head/security/py-xmlsec/pkg-descr
==============================================================================
--- head/security/py-xmlsec/pkg-descr	Sat Nov 11 09:24:00 2017	(r453965)
+++ head/security/py-xmlsec/pkg-descr	Thu Apr 11 01:31:28 2019	(r498629)
@@ -1,3 +1,3 @@
 PyXMLSec is a set of Python bindings for the XML Security library (XMLSec).
 
-WWW: http://pyxmlsec.labs.libre-entreprise.org/
+WWW: https://github.com/mehcode/python-xmlsec/



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