Skip to content

Commit

Permalink
use python3
Browse files Browse the repository at this point in the history
  • Loading branch information
caixiangyue committed Jun 3, 2020
1 parent c5d031e commit fe1e1e5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ Priority: extra
Maintainer: m.eik michalke <[email protected]>
Build-Depends:
debhelper (>= 7),
dh-python,
autotools-dev,
intltool,
libglib2.0-dev,
python,
python3 (>= 3.5),
libtool,
libjansson-dev
Standards-Version: 3.9.5
Expand All @@ -30,7 +31,7 @@ Section: libdevel
Architecture: any
Depends:
${misc:Depends},
python (>= 2.7),
python3 (>= 3.5),
libsearpc1 (= ${binary:Version})
Conflicts: seafile
Description: Development files for the libsearpc1 package.
Expand All @@ -49,9 +50,10 @@ Package: python-searpc
Section: python
Multi-Arch: foreign
Architecture: all
Depends: ${python:Depends},
Depends: ${python3:Depends},
${shlibs:Depends},
${misc:Depends}
${misc:Depends},
python3-future
Description: simple and easy-to-use C language RPC framework
Searpc handles the serialization/deserialization part of RPC, the
transport part is left to users.
Expand Down
2 changes: 1 addition & 1 deletion debian/python-searpc.install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
usr/lib/python*/dist-packages/pysearpc/*.py
usr/lib/python*/site-packages/pysearpc/*.py
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- makefile -*-

%:
dh $@ --with python2 --with autotools_dev --builddirectory=build
dh $@ --with python3 --with autotools_dev --builddirectory=build

override_dh_auto_configure:
./autogen.sh
Expand Down

0 comments on commit fe1e1e5

Please sign in to comment.