Skip to content

Commit 1fc22b2

Browse files
committed
More packaging changes for move to python3
1 parent c883cd2 commit 1fc22b2

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

debian/control

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ Maintainer: Ralph Hempel <[email protected]>
33
Section: python
44
Priority: optional
55
Standards-Version: 3.9.5
6-
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 3.4), debhelper (>= 9), dh-python
6+
Build-Depends: python3-setuptools (>= 0.6b3), python3-all (>= 3.4), debhelper (>= 9), dh-python
77
VCS-Git: git://github.com/rhempel/ev3dev-lang-python.git
88
VCS-Browser: https://github.com/rhempel/ev3dev-lang-python
99

10-
Package: python-ev3dev
10+
Package: python3-ev3dev
1111
Architecture: all
12-
Depends: ${misc:Depends}, ${python:Depends}
12+
Depends: ${misc:Depends}, ${python3:Depends}
1313
Description: Python language bindings for ev3dev
1414
This package is a pure Python binding to the peripheral
1515
devices on hardware that is supported by ev3dev.org - a

debian/rules

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
#!/usr/bin/make -f
22

3-
export PYBUILD_NAME=python-ev3dev
3+
export PYBUILD_NAME=python3-ev3dev
44

5-
VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: (.*),\1,p')
5+
VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: (.*),\1,p' | sed 's,~,,')
66

77
%:
88
dh $@ --with python3 --buildsystem=pybuild
99

1010
override_dh_auto_configure:
11-
echo VERSION > RELEASE-VERSION
11+
echo $(VERSION) > RELEASE-VERSION
1212
dh_auto_configure
1313

1414
override_dh_auto_clean:
15-
echo VERSION > RELEASE-VERSION
15+
echo $(VERSION) > RELEASE-VERSION
1616
dh_auto_clean
1717
rm -f RELEASE-VERSION

0 commit comments

Comments
 (0)