Skip to content

Commit e11cb5a

Browse files
committed
Reworked Debian packaging
1 parent 306b79d commit e11cb5a

3 files changed

Lines changed: 11 additions & 9 deletions

File tree

debian/control

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@ Section: python
33
Priority: optional
44
Maintainer: Dan Pascu <dan@ag-projects.com>
55
Uploaders: Saul Ibarra <saul@ag-projects.com>
6-
Build-Depends: cdbs (>= 0.4.47), debhelper (>= 5.0.42), python-all-dev (>= 2.4.4-1), python-central (>= 0.5.6)
7-
XS-Python-Version: all
6+
Build-Depends: debhelper (>= 7.3.5), python-all-dev (>= 2.5)
87
Standards-Version: 3.9.2
98

109
Package: python-cjson
1110
Architecture: any
12-
Depends: ${python:Depends}, ${shlibs:Depends}
11+
Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}
1312
Provides: ${python:Provides}
14-
XB-Python-Version: ${python:Versions}
1513
Description: Very fast JSON encoder/decoder for Python
1614
This module provides a very fast implementation of a JSON encoder/decoder
1715
for the python language.

debian/rules

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

3-
DEB_PYTHON_SYSTEM=pycentral
3+
#export DH_VERBOSE=1
44

5-
include /usr/share/cdbs/1/rules/debhelper.mk
6-
include /usr/share/cdbs/1/class/python-distutils.mk
5+
%:
6+
dh $@ --with python2
77

8-
clean::
9-
-rm -rf build dist MANIFEST cjson.so
8+
override_dh_clean:
9+
dh_clean
10+
rm -rf build dist MANIFEST
11+
12+
.PHONY: override_dh_clean

debian/source/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (native)

0 commit comments

Comments
 (0)