ASN.1 library for Python.

ok djm@.
This commit is contained in:
xsa 2006-09-28 17:13:32 +00:00
parent bdd01b6005
commit 0d7ecb7be2
4 changed files with 105 additions and 0 deletions

35
devel/py-asn1/Makefile Normal file
View File

@ -0,0 +1,35 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/09/28 17:13:32 xsa Exp $
COMMENT= "ASN.1 library for Python"
DISTNAME= pyasn1-0.0.5a
PKGNAME= ${DISTNAME:S/py/py-/}
CATEGORIES= devel security
PKG_ARCH= *
HOMEPAGE= http://pyasn1.sourceforge.net/
# BSD-style
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyasn1/}
MODULES= lang/python
DOCSDIR= ${PREFIX}/share/doc/py-asn1
EXAMPLESDIR= ${PREFIX}/share/examples/py-asn1
post-install:
${INSTALL_DATA_DIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
do-regress: fake
@cd ${WRKSRC}/test && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./suite.py
.include <bsd.port.mk>

4
devel/py-asn1/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (pyasn1-0.0.5a.tar.gz) = 5ebbcfa99ad6cde5ccd320d744bc7d04
RMD160 (pyasn1-0.0.5a.tar.gz) = a5e343dbfb8de167d4e10fe2d88e2f4a40feed6c
SHA1 (pyasn1-0.0.5a.tar.gz) = dbe60ab2c268fda4baa1fffeedcc904ccd6ae28f
SIZE (pyasn1-0.0.5a.tar.gz) = 33093

4
devel/py-asn1/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
pyasn1 is an implementation of ASN.1 types and codecs in Python
programming language. It has been first written to support particular
protocol (SNMP) but then generalized to be suitable for a wide range of
protocols based on ASN.1 specification.

62
devel/py-asn1/pkg/PLIST Normal file
View File

@ -0,0 +1,62 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/09/28 17:13:32 xsa Exp $
lib/python${MODPY_VERSION}/site-packages/pyasn1/
lib/python${MODPY_VERSION}/site-packages/pyasn1/__init__.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/__init__.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/__init__.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/ber/
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/ber/__init__.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/ber/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/ber/decoder.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/ber/decoder.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/ber/encoder.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/ber/encoder.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/ber/eoo.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/ber/eoo.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/cer/
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/cer/__init__.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/cer/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/cer/decoder.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/cer/decoder.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/cer/encoder.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/cer/encoder.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/der/
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/der/__init__.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/der/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/der/decoder.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/der/decoder.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/der/encoder.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/codec/der/encoder.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/error.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/error.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/__init__.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/base.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/base.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/char.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/char.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/constraint.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/constraint.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/error.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/error.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/namedtype.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/namedtype.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/namedval.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/namedval.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/tag.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/tag.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/univ.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/univ.pyc
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/useful.py
lib/python${MODPY_VERSION}/site-packages/pyasn1/v1/type/useful.pyc
share/doc/py-asn1/
share/doc/py-asn1/notes.html
share/examples/py-asn1/
share/examples/py-asn1/snmp.py
share/examples/py-asn1/sshkey.py
share/examples/py-asn1/x509.py