aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-asn1
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-04-17 19:22:21 +0800
committergarga <garga@FreeBSD.org>2006-04-17 19:22:21 +0800
commit519804f3eefa40639e6874bed8f49983a84b4f40 (patch)
tree99b8adbeec77d2d4e7d3aedca084cd3535b027fe /devel/py-asn1
parent047c82f2e21c8cf5cd851278f74f61ade28b71af (diff)
downloadfreebsd-ports-graphics-519804f3eefa40639e6874bed8f49983a84b4f40.tar.gz
freebsd-ports-graphics-519804f3eefa40639e6874bed8f49983a84b4f40.tar.zst
freebsd-ports-graphics-519804f3eefa40639e6874bed8f49983a84b4f40.zip
ASN.1 types and codecs (BER, CER, DER) implementation in Python programming
language. Author: Ilya Etingof (ilya@glas.net) WWW: http://sourceforge.net/projects/pyasn1/ PR: ports/95672 Submitted by: Martin Jackson <mhjacks@swbell.net>
Diffstat (limited to 'devel/py-asn1')
-rw-r--r--devel/py-asn1/Makefile52
-rw-r--r--devel/py-asn1/distinfo3
-rw-r--r--devel/py-asn1/pkg-descr5
-rw-r--r--devel/py-asn1/pkg-plist90
4 files changed, 150 insertions, 0 deletions
diff --git a/devel/py-asn1/Makefile b/devel/py-asn1/Makefile
new file mode 100644
index 00000000000..9968159f9c6
--- /dev/null
+++ b/devel/py-asn1/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: py-pyasn1
+# Date created: Sat Apr 8 21:37:32 CDT 2006
+# Whom: Martin Jackson <mhjacks@swbell.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= asn1
+PORTVERSION= 0.0.4a
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= py${PORTNAME}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= py${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= mhjacks@swbell.net
+COMMENT= ASN.1 toolkit for Python
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+
+BASEDOCS= CHANGES \
+ README \
+ LICENSE \
+ TODO
+
+DOCDOCS= notes.html
+
+EXAMPLE_FILES= snmp.py \
+ x509.py
+
+post-install:
+# docs
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+. for f in ${BASEDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+. endfor
+. for f in ${DOCDOCS}
+ @${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 --git a/devel/py-asn1/distinfo b/devel/py-asn1/distinfo
new file mode 100644
index 00000000000..25a02a4ec3e
--- /dev/null
+++ b/devel/py-asn1/distinfo
@@ -0,0 +1,3 @@
+MD5 (pyasn1-0.0.4a.tar.gz) = 85a1c06c34b301efbf08bb8c52e43f15
+SHA256 (pyasn1-0.0.4a.tar.gz) = c8f3046374e72d71b9e6e323394fe5387b97e839c01b78f5633e2334a67c5727
+SIZE (pyasn1-0.0.4a.tar.gz) = 31445
diff --git a/devel/py-asn1/pkg-descr b/devel/py-asn1/pkg-descr
new file mode 100644
index 00000000000..dc4f4fc3326
--- /dev/null
+++ b/devel/py-asn1/pkg-descr
@@ -0,0 +1,5 @@
+ASN.1 types and codecs (BER, CER, DER) implementation in Python programming
+language.
+
+Author: Ilya Etingof (ilya@glas.net)
+WWW: http://sourceforge.net/projects/pyasn1/
diff --git a/devel/py-asn1/pkg-plist b/devel/py-asn1/pkg-plist
new file mode 100644
index 00000000000..bb53274a527
--- /dev/null
+++ b/devel/py-asn1/pkg-plist
@@ -0,0 +1,90 @@
+%%PYTHON_SITELIBDIR%%/pyasn1/__init__.py
+%%PYTHON_SITELIBDIR%%/pyasn1/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/__init__.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/error.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/error.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/error.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/base.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/base.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/base.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/tag.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/tag.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/tag.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/univ.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/univ.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/univ.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/__init__.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/namedtype.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/namedtype.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/namedtype.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/namedval.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/namedval.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/namedval.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/error.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/error.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/error.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/constraint.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/constraint.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/constraint.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/char.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/char.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/char.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/useful.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/useful.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/type/useful.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/__init__.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/ber/decoder.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/ber/decoder.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/ber/decoder.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/ber/encoder.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/ber/encoder.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/ber/encoder.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/ber/__init__.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/ber/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/ber/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/ber/eoo.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/ber/eoo.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/ber/eoo.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/cer/__init__.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/cer/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/cer/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/cer/encoder.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/cer/encoder.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/cer/encoder.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/cer/decoder.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/cer/decoder.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/cer/decoder.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/der/__init__.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/der/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/der/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/der/decoder.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/der/decoder.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/der/decoder.pyo
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/der/encoder.py
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/der/encoder.pyc
+%%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/der/encoder.pyo
+%%EXAMPLESDIR%%/snmp.py
+%%EXAMPLESDIR%%/x509.py
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/notes.html
+@dirrm %%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/der
+@dirrm %%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/cer
+@dirrm %%PYTHON_SITELIBDIR%%/pyasn1/v1/codec/ber
+@dirrm %%PYTHON_SITELIBDIR%%/pyasn1/v1/codec
+@dirrm %%PYTHON_SITELIBDIR%%/pyasn1/v1/type
+@dirrm %%PYTHON_SITELIBDIR%%/pyasn1/v1
+@dirrm %%PYTHON_SITELIBDIR%%/pyasn1
+@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry %%PYTHON_SITELIBDIR%%
+@dirrmtry %%PYTHON_LIBDIR%%