[Python-modules-commits] r31900 - in packages/pysvn/trunk/debian (8 files)
noahfx-guest at users.alioth.debian.org
noahfx-guest at users.alioth.debian.org
Sun Feb 22 23:09:35 UTC 2015
Date: Sunday, February 22, 2015 @ 23:09:34
Author: noahfx-guest
Revision: 31900
python3-svn doc and installation files
Added:
packages/pysvn/trunk/debian/python3-svn.dirs
packages/pysvn/trunk/debian/python3-svn.doc-base
packages/pysvn/trunk/debian/python3-svn.docs
packages/pysvn/trunk/debian/python3-svn.examples
packages/pysvn/trunk/debian/python3-svn.install
Modified:
packages/pysvn/trunk/debian/control
packages/pysvn/trunk/debian/copyright
packages/pysvn/trunk/debian/rules
Modified: packages/pysvn/trunk/debian/control
===================================================================
--- packages/pysvn/trunk/debian/control 2015-02-22 19:22:01 UTC (rev 31899)
+++ packages/pysvn/trunk/debian/control 2015-02-22 23:09:34 UTC (rev 31900)
@@ -14,8 +14,13 @@
python-all-dev (>= 2.7.8),
python-cxx-dev (>= 6.2.5),
python-setuptools,
+ python3-all (>= 3.4.2),
+ python3-all-dev (>= 3.4.2),
+ python3-setuptools (>= 5.5.1),
+ python3-cxx-dev (>= 6.2.5),
subversion (>= 1.8.10)
-X-Python-Version: all
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.4
Standards-Version: 3.9.6
Homepage: http://pysvn.tigris.org/
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pysvn/trunk/
@@ -31,6 +36,16 @@
control system. This API exposes client interfaces for managing a
working copy, querying a repository, and synchronizing the two.
+Package: python3-svn
+Architecture: any
+Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
+Provides: python3-pysvn
+Suggests: python-svn-dbg
+Description: A(nother) Python 3 interface to Subversion
+ The pysvn module is a Python 3 interface to the Subversion version
+ control system. This API exposes client interfaces for managing a
+ working copy, querying a repository, and synchronizing the two.
+
Package: python-svn-dbg
Priority: extra
Section: debug
Modified: packages/pysvn/trunk/debian/copyright
===================================================================
--- packages/pysvn/trunk/debian/copyright 2015-02-22 19:22:01 UTC (rev 31899)
+++ packages/pysvn/trunk/debian/copyright 2015-02-22 23:09:34 UTC (rev 31900)
@@ -9,13 +9,13 @@
Files: Import/pycxx-6.2.6/*
Copyright: Barry Scott, Paul F. Dubois
-License: BSD-clause-4
+License: BSD-4-clause
Files: debian/*
Copyright: 2004-2011, Matthias Klose
2011, Julian Taylor
2015, Josue Ortega <josueortega at debian.org.gt>
-License: BSD-clause-4
+License: BSD-4-clause
Comment: This package was originaly debianized by Matthias Klose
<m at klose.in-berlin.de> on Fri, 3 Dec 2004 17:16:12 +0100.
@@ -62,6 +62,7 @@
SUCH DAMAGE.
=================================================================
+
License: BSD-4-clause
Copyright (c) 1998 - 2007
The Regents of the University of California
Added: packages/pysvn/trunk/debian/python3-svn.dirs
===================================================================
--- packages/pysvn/trunk/debian/python3-svn.dirs (rev 0)
+++ packages/pysvn/trunk/debian/python3-svn.dirs 2015-02-22 23:09:34 UTC (rev 31900)
@@ -0,0 +1 @@
+usr/lib/python3.4/dist-packages/pysvn
Added: packages/pysvn/trunk/debian/python3-svn.doc-base
===================================================================
--- packages/pysvn/trunk/debian/python3-svn.doc-base (rev 0)
+++ packages/pysvn/trunk/debian/python3-svn.doc-base 2015-02-22 23:09:34 UTC (rev 31900)
@@ -0,0 +1,12 @@
+Document: pysvn
+Title: pysvn - Python interface to Subversion
+Author: Barry A. Scott
+Abstract: This document contains the pysvn Programmer's Guide (covering the
+ use of pysvn in a tutorial style with lots of examples) and the pysvn
+ Programmer's Reference (detailed descriptions of all the classes, functions
+ and variables of pysvn).
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-svn/pysvn.html
+Files: /usr/share/doc/python-svn/*.html
Added: packages/pysvn/trunk/debian/python3-svn.docs
===================================================================
--- packages/pysvn/trunk/debian/python3-svn.docs (rev 0)
+++ packages/pysvn/trunk/debian/python3-svn.docs 2015-02-22 23:09:34 UTC (rev 31900)
@@ -0,0 +1 @@
+Docs/*
Added: packages/pysvn/trunk/debian/python3-svn.examples
===================================================================
--- packages/pysvn/trunk/debian/python3-svn.examples (rev 0)
+++ packages/pysvn/trunk/debian/python3-svn.examples 2015-02-22 23:09:34 UTC (rev 31900)
@@ -0,0 +1 @@
+Examples/*
Added: packages/pysvn/trunk/debian/python3-svn.install
===================================================================
--- packages/pysvn/trunk/debian/python3-svn.install (rev 0)
+++ packages/pysvn/trunk/debian/python3-svn.install 2015-02-22 23:09:34 UTC (rev 31900)
@@ -0,0 +1,2 @@
+Source/pysvn/__init__.py usr/lib/python3.4/dist-packages/pysvn/
+Source/pysvn/_pysvn_3_4.so usr/lib/python3.4/dist-packages/pysvn/
Modified: packages/pysvn/trunk/debian/rules
===================================================================
--- packages/pysvn/trunk/debian/rules 2015-02-22 19:22:01 UTC (rev 31899)
+++ packages/pysvn/trunk/debian/rules 2015-02-22 23:09:34 UTC (rev 31900)
@@ -9,6 +9,7 @@
DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
PYVERS := $(shell pyversions -vr debian/control)
+PY3VERS := $(shell py3versions -vr debian/control)
APR_INC = $(strip $(shell apr-config --includes | sed 's/-I//'))
CONFIG_OPTS = --pycxx-src-dir=/usr/share/python${PYVERS}/CXX \
@@ -20,17 +21,33 @@
--norpath \
--platform=$(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+CONFIG3_OPTS = --pycxx-src-dir=/usr/share/python${PY3VERS}/CXX \
+ --pycxx-dir=/usr/share/python${PY3VERS}/CXX \
+ --svn-lib-dir=/usr/lib/$(DEB_HOST_MULTIARCH) \
+ --apr-inc-dir=$(APR_INC) \
+ --apu-inc-dir=$(APR_INC) \
+ --apr-lib-dir=/usr/lib/$(DEB_HOST_MULTIARCH) \
+ --norpath \
+ --platform=$(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
%:
- dh $@ --with=python2 --buildsystem=pybuild
+ dh $@ --with=python2,python3 --buildsystem=pybuild
-override_dh_auto_configure:
+override_dh_auto_configure:
cd $(CURDIR)/Source; python setup.py configure $(CONFIG_OPTS)
+ mv $(CURDIR)/Source/Makefile $(CURDIR)/Source/MakefilePy2
+ cd $(CURDIR)/Source; python3 setup.py configure $(CONFIG3_OPTS)
+ mv $(CURDIR)/Source/Makefile $(CURDIR)/Source/MakefilePy3
+
override_dh_auto_build:
+ mv $(CURDIR)/Source/MakefilePy2 $(CURDIR)/Source/Makefile
$(MAKE) -C $(CURDIR)/Source
+ mv $(CURDIR)/Source/MakefilePy3 $(CURDIR)/Source/Makefile
+ $(MAKE) -C $(CURDIR)/Source
override_dh_strip:
dh_strip --dbg-package=python-svn-dbg
override_dh_installdocs:
- dh_installdocs --link-doc=python-svn
\ No newline at end of file
+ dh_installdocs --link-doc=python-svn
More information about the Python-modules-commits
mailing list