[Python-modules-commits] r25936 - in packages/pyasn1/trunk/debian (9 files)
bernat at users.alioth.debian.org
bernat at users.alioth.debian.org
Tue Sep 24 07:44:50 UTC 2013
Date: Tuesday, September 24, 2013 @ 07:44:49
Author: bernat
Revision: 25936
Add Python 3 supports.
Also run test only if they have not been disabled by
DEB_BUILD_OPTIONS.
The documentation is only in python-pyasn1. Don't ship examples, they
don't exist any more. Ship more HTML documentation.
Added:
packages/pyasn1/trunk/debian/python-pyasn1.doc-base
(from rev 25934, packages/pyasn1/trunk/debian/doc-base)
packages/pyasn1/trunk/debian/python-pyasn1.docs
(from rev 25934, packages/pyasn1/trunk/debian/docs)
packages/pyasn1/trunk/debian/python-pyasn1.install
packages/pyasn1/trunk/debian/python3-pyasn1.install
Modified:
packages/pyasn1/trunk/debian/control
packages/pyasn1/trunk/debian/rules
Deleted:
packages/pyasn1/trunk/debian/doc-base
packages/pyasn1/trunk/debian/docs
packages/pyasn1/trunk/debian/examples
Modified: packages/pyasn1/trunk/debian/control
===================================================================
--- packages/pyasn1/trunk/debian/control 2013-09-24 07:34:02 UTC (rev 25935)
+++ packages/pyasn1/trunk/debian/control 2013-09-24 07:44:49 UTC (rev 25936)
@@ -7,8 +7,8 @@
Standards-Version: 3.9.4
Build-Depends: debhelper (>= 5.0.37.2),
cdbs (>= 0.4.90~),
- python-all (>= 2.6.6-3~),
-Build-Depends-Indep: python-setuptools
+ python-all (>= 2.6.6-3~), python3-all
+Build-Depends-Indep: python-setuptools, python3-setuptools
X-Python-Version: >= 2.4
Homepage: http://pyasn1.sourceforge.net/
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pyasn1/trunk/
@@ -18,8 +18,22 @@
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}
Suggests: doc-base
-Description: ASN.1 library for Python
+Description: ASN.1 library for Python (Python 2 module)
This 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.
+ .
+ This package contains the Python 2 module.
+
+Package: python3-pyasn1
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: doc-base
+Description: ASN.1 library for Python (Python 3 module)
+ This 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.
+ .
+ This package contains the Python 3 module.
Deleted: packages/pyasn1/trunk/debian/doc-base
===================================================================
--- packages/pyasn1/trunk/debian/doc-base 2013-09-24 07:34:02 UTC (rev 25935)
+++ packages/pyasn1/trunk/debian/doc-base 2013-09-24 07:44:49 UTC (rev 25936)
@@ -1,9 +0,0 @@
-Document: python-pyasn1
-Title: PyASN1 programmer's manual
-Author: Ilya Etingof
-Abstract: This manual describes PyASN1 API and how to use it.
-Section: Programming
-
-Format: HTML
-Index: /usr/share/doc/python-pyasn1/pyasn1-tutorial.html
-Files: /usr/share/doc/python-pyasn1/*.html
Deleted: packages/pyasn1/trunk/debian/docs
===================================================================
--- packages/pyasn1/trunk/debian/docs 2013-09-24 07:34:02 UTC (rev 25935)
+++ packages/pyasn1/trunk/debian/docs 2013-09-24 07:44:49 UTC (rev 25936)
@@ -1 +0,0 @@
-doc/pyasn1-tutorial.html
Deleted: packages/pyasn1/trunk/debian/examples
===================================================================
--- packages/pyasn1/trunk/debian/examples 2013-09-24 07:34:02 UTC (rev 25935)
+++ packages/pyasn1/trunk/debian/examples 2013-09-24 07:44:49 UTC (rev 25936)
@@ -1 +0,0 @@
-examples/*
Copied: packages/pyasn1/trunk/debian/python-pyasn1.doc-base (from rev 25934, packages/pyasn1/trunk/debian/doc-base)
===================================================================
--- packages/pyasn1/trunk/debian/python-pyasn1.doc-base (rev 0)
+++ packages/pyasn1/trunk/debian/python-pyasn1.doc-base 2013-09-24 07:44:49 UTC (rev 25936)
@@ -0,0 +1,9 @@
+Document: python-pyasn1
+Title: PyASN1 programmer's manual
+Author: Ilya Etingof
+Abstract: This manual describes PyASN1 API and how to use it.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/python-pyasn1/pyasn1-tutorial.html
+Files: /usr/share/doc/python-pyasn1/*.html
Copied: packages/pyasn1/trunk/debian/python-pyasn1.docs (from rev 25934, packages/pyasn1/trunk/debian/docs)
===================================================================
--- packages/pyasn1/trunk/debian/python-pyasn1.docs (rev 0)
+++ packages/pyasn1/trunk/debian/python-pyasn1.docs 2013-09-24 07:44:49 UTC (rev 25936)
@@ -0,0 +1 @@
+doc/*.html
Added: packages/pyasn1/trunk/debian/python-pyasn1.install
===================================================================
--- packages/pyasn1/trunk/debian/python-pyasn1.install (rev 0)
+++ packages/pyasn1/trunk/debian/python-pyasn1.install 2013-09-24 07:44:49 UTC (rev 25936)
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python2*
Added: packages/pyasn1/trunk/debian/python3-pyasn1.install
===================================================================
--- packages/pyasn1/trunk/debian/python3-pyasn1.install (rev 0)
+++ packages/pyasn1/trunk/debian/python3-pyasn1.install 2013-09-24 07:44:49 UTC (rev 25936)
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python3*
Modified: packages/pyasn1/trunk/debian/rules
===================================================================
--- packages/pyasn1/trunk/debian/rules 2013-09-24 07:34:02 UTC (rev 25935)
+++ packages/pyasn1/trunk/debian/rules 2013-09-24 07:44:49 UTC (rev 25936)
@@ -11,11 +11,11 @@
DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed \
--install-layout=deb
-test-build:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+install/python-pyasn1 install/python3-pyasn1::
set -e; cd test; for buildver in $(cdbs_python_build_versions); do \
echo "I: Running pyasn1 unittests using python$$buildver"; \
pd=$$(/bin/ls -d $(CURDIR)/build/lib.*-$$buildver) && \
PYTHONPATH=$$pd $(call cdbs_python_binary,python$$buildver) suite.py; \
done
-
-install/python-pyasn1:: test-build
+endif
More information about the Python-modules-commits
mailing list