ports/155520: [UPDATE] devel/py-asn1: update to 0.0.13a

Ruslan Mahmatkhanov cvs-src at yandex.ru
Sun Mar 13 12:00:33 UTC 2011


>Number:         155520
>Category:       ports
>Synopsis:       [UPDATE] devel/py-asn1: update to 0.0.13a
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 13 12:00:32 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Mahmatkhanov
>Release:        8.2-STABLE
>Organization:
>Environment:
8.2-STABLE i386
tested with bundled test suite
>Description:
- update to 0.0.13a
- add LICENSE
- there is no more examples (moved into tutorial), so remove them
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruNa py-asn1.orig/Makefile py-asn1/Makefile
--- py-asn1.orig/Makefile	2011-03-01 06:00:00.000000000 +0300
+++ py-asn1/Makefile	2011-03-13 14:52:50.000000000 +0300
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	asn1
-PORTVERSION=	0.0.12a
+PORTVERSION=	0.0.13a
 CATEGORIES=	devel python
 MASTER_SITES=	SF/py${PORTNAME}/py${PORTNAME}-devel/${PORTVERSION}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,29 +15,22 @@
 MAINTAINER=	mhjacks at swbell.net
 COMMENT=	ASN.1 toolkit for Python
 
+LICENSE=	BSD
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	easy_install
 PYDISTUTILS_PKGNAME=	pyasn1
 
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
-EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 
 BASEDOCS=	CHANGES \
 		README \
-		LICENSE \
 		TODO
 
-DOCDOCS=	notes.html
-
-EXAMPLE_FILES=	ldap.py \
-		ocsp.py \
-		pkcs7.py \
-		snmp.py \
-		sshkey.py \
-		x509.py
+DOCDOCS=	pyasn1-tutorial.html
 
 post-install:
-# docs
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 . for f in ${BASEDOCS}
@@ -47,10 +40,5 @@
 	@${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
 . endfor
 .endif
-# examples
-	@${MKDIR} ${EXAMPLESDIR}
-.for f in ${EXAMPLE_FILES}
-	@${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLESDIR}
-.endfor
 
 .include <bsd.port.mk>
diff -ruNa py-asn1.orig/distinfo py-asn1/distinfo
--- py-asn1.orig/distinfo	2011-03-01 06:00:00.000000000 +0300
+++ py-asn1/distinfo	2011-03-13 13:58:43.000000000 +0300
@@ -1,2 +1,2 @@
-SHA256 (pyasn1-0.0.12a.tar.gz) = 975f6b512b2afaa04192a7d6d925924391c359c2f0cec1da6857d90d24b25a97
-SIZE (pyasn1-0.0.12a.tar.gz) = 40817
+SHA256 (pyasn1-0.0.13a.tar.gz) = 2db53c0cac65d44eec34e8d76bdfb33680963d5ba3df3249cd9c6b38878d4bd4
+SIZE (pyasn1-0.0.13a.tar.gz) = 48815
diff -ruNa py-asn1.orig/pkg-plist py-asn1/pkg-plist
--- py-asn1.orig/pkg-plist	2011-03-01 06:00:00.000000000 +0300
+++ py-asn1/pkg-plist	2011-03-13 14:52:03.000000000 +0300
@@ -1,16 +1,6 @@
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/notes.html
-%%EXAMPLESDIR%%/ldap.py
-%%EXAMPLESDIR%%/ocsp.py
-%%EXAMPLESDIR%%/pkcs7.py
-%%EXAMPLESDIR%%/snmp.py
-%%EXAMPLESDIR%%/sshkey.py
-%%EXAMPLESDIR%%/x509.py
- at dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/pyasn1-tutorial.html
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
- at dirrmtry %%PYTHON_SITELIBDIR%%
- at dirrmtry %%PYTHON_LIBDIR%%


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list