[Python-modules-commits] r31901 - in packages/pysvn/trunk/debian (7 files)

noahfx-guest at users.alioth.debian.org noahfx-guest at users.alioth.debian.org
Mon Feb 23 01:06:36 UTC 2015


    Date: Monday, February 23, 2015 @ 01:06:34
  Author: noahfx-guest
Revision: 31901

d/rules: Added rules to build python3 and python2 packages with pycxx

Modified:
  packages/pysvn/trunk/debian/changelog
  packages/pysvn/trunk/debian/python-svn.install
  packages/pysvn/trunk/debian/python3-svn.install
  packages/pysvn/trunk/debian/rules
Deleted:
  packages/pysvn/trunk/debian/python3-svn.doc-base
  packages/pysvn/trunk/debian/python3-svn.docs
  packages/pysvn/trunk/debian/python3-svn.examples

Modified: packages/pysvn/trunk/debian/changelog
===================================================================
--- packages/pysvn/trunk/debian/changelog	2015-02-22 23:09:34 UTC (rev 31900)
+++ packages/pysvn/trunk/debian/changelog	2015-02-23 01:06:34 UTC (rev 31901)
@@ -8,6 +8,7 @@
   * debian/copyright:
      - Updated BSD license tag name to BSD-4-clause.
      - Paragraphs redordered.
+  * Added Python 3 version of the package.
 
  -- Josue Ortega <josueortega at debian.org.gt>  Sun, 22 Feb 2015 11:26:41 -0600
 

Modified: packages/pysvn/trunk/debian/python-svn.install
===================================================================
--- packages/pysvn/trunk/debian/python-svn.install	2015-02-22 23:09:34 UTC (rev 31900)
+++ packages/pysvn/trunk/debian/python-svn.install	2015-02-23 01:06:34 UTC (rev 31901)
@@ -1,2 +1,2 @@
-Source/pysvn/__init__.py	usr/lib/python2.7/dist-packages/pysvn/
-Source/pysvn/_pysvn_2_7.so	usr/lib/python2.7/dist-packages/pysvn/
+Source/pysvn/python2/__init__.py	usr/lib/python2.7/dist-packages/pysvn/
+Source/pysvn/python2/_pysvn_2_7.so	usr/lib/python2.7/dist-packages/pysvn/

Deleted: packages/pysvn/trunk/debian/python3-svn.doc-base
===================================================================
--- packages/pysvn/trunk/debian/python3-svn.doc-base	2015-02-22 23:09:34 UTC (rev 31900)
+++ packages/pysvn/trunk/debian/python3-svn.doc-base	2015-02-23 01:06:34 UTC (rev 31901)
@@ -1,12 +0,0 @@
-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

Deleted: packages/pysvn/trunk/debian/python3-svn.docs
===================================================================
--- packages/pysvn/trunk/debian/python3-svn.docs	2015-02-22 23:09:34 UTC (rev 31900)
+++ packages/pysvn/trunk/debian/python3-svn.docs	2015-02-23 01:06:34 UTC (rev 31901)
@@ -1 +0,0 @@
-Docs/*

Deleted: packages/pysvn/trunk/debian/python3-svn.examples
===================================================================
--- packages/pysvn/trunk/debian/python3-svn.examples	2015-02-22 23:09:34 UTC (rev 31900)
+++ packages/pysvn/trunk/debian/python3-svn.examples	2015-02-23 01:06:34 UTC (rev 31901)
@@ -1 +0,0 @@
-Examples/*

Modified: packages/pysvn/trunk/debian/python3-svn.install
===================================================================
--- packages/pysvn/trunk/debian/python3-svn.install	2015-02-22 23:09:34 UTC (rev 31900)
+++ packages/pysvn/trunk/debian/python3-svn.install	2015-02-23 01:06:34 UTC (rev 31901)
@@ -1,2 +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/
+Source/pysvn/python3/__init__.py	usr/lib/python3.4/dist-packages/pysvn/
+Source/pysvn/python3/_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 23:09:34 UTC (rev 31900)
+++ packages/pysvn/trunk/debian/rules	2015-02-23 01:06:34 UTC (rev 31901)
@@ -41,11 +41,22 @@
 
 
 override_dh_auto_build:
+	mkdir $(CURDIR)/Source/pysvn/python2
 	mv $(CURDIR)/Source/MakefilePy2 $(CURDIR)/Source/Makefile
 	$(MAKE) -C $(CURDIR)/Source
+
+	mv $(CURDIR)/Source/pysvn/__init__.py $(CURDIR)/Source/pysvn/python2/
+	mv $(CURDIR)/Source/pysvn/_pysvn_2_*.so $(CURDIR)/Source/pysvn/python2/
+	$(MAKE) clean -C $(CURDIR)/Source
+
+	mkdir $(CURDIR)/Source/pysvn/python3
 	mv $(CURDIR)/Source/MakefilePy3 $(CURDIR)/Source/Makefile
 	$(MAKE) -C $(CURDIR)/Source
 
+	mv $(CURDIR)/Source/pysvn/__init__.py $(CURDIR)/Source/pysvn/python3/
+	mv $(CURDIR)/Source/pysvn/_pysvn_3_*.so $(CURDIR)/Source/pysvn/python3/
+	$(MAKE) -C $(CURDIR)/Source
+
 override_dh_strip:
 	dh_strip --dbg-package=python-svn-dbg
 




More information about the Python-modules-commits mailing list