1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-12 21:12:32 +00:00

use python3 (#51)

This commit is contained in:
Xiangyue Cai
2020-06-03 22:10:34 +08:00
committed by GitHub
parent c5d031eaa2
commit 719921a984
3 changed files with 8 additions and 6 deletions

10
debian/control vendored
View File

@@ -4,10 +4,11 @@ Priority: extra
Maintainer: m.eik michalke <meik.michalke@hhu.de> Maintainer: m.eik michalke <meik.michalke@hhu.de>
Build-Depends: Build-Depends:
debhelper (>= 7), debhelper (>= 7),
dh-python,
autotools-dev, autotools-dev,
intltool, intltool,
libglib2.0-dev, libglib2.0-dev,
python, python3 (>= 3.5),
libtool, libtool,
libjansson-dev libjansson-dev
Standards-Version: 3.9.5 Standards-Version: 3.9.5
@@ -30,7 +31,7 @@ Section: libdevel
Architecture: any Architecture: any
Depends: Depends:
${misc:Depends}, ${misc:Depends},
python (>= 2.7), python3 (>= 3.5),
libsearpc1 (= ${binary:Version}) libsearpc1 (= ${binary:Version})
Conflicts: seafile Conflicts: seafile
Description: Development files for the libsearpc1 package. Description: Development files for the libsearpc1 package.
@@ -49,9 +50,10 @@ Package: python-searpc
Section: python Section: python
Multi-Arch: foreign Multi-Arch: foreign
Architecture: all Architecture: all
Depends: ${python:Depends}, Depends: ${python3:Depends},
${shlibs:Depends}, ${shlibs:Depends},
${misc:Depends} ${misc:Depends},
python3-future
Description: simple and easy-to-use C language RPC framework Description: simple and easy-to-use C language RPC framework
Searpc handles the serialization/deserialization part of RPC, the Searpc handles the serialization/deserialization part of RPC, the
transport part is left to users. transport part is left to users.

View File

@@ -1 +1 @@
usr/lib/python*/dist-packages/pysearpc/*.py usr/lib/python*/site-packages/pysearpc/*.py

2
debian/rules vendored
View File

@@ -2,7 +2,7 @@
# -*- makefile -*- # -*- makefile -*-
%: %:
dh $@ --with python2 --with autotools_dev --builddirectory=build dh $@ --with python3 --with autotools_dev --builddirectory=build
override_dh_auto_configure: override_dh_auto_configure:
./autogen.sh ./autogen.sh