Packages that already support Python 3 in Squeeze
source package |
version that uses /usr/lib/python3/dist-packages |
bug# |
who will work on it |
notes |
distribute |
0.6.14-2 |
|
doko |
done |
gearman-interface |
0.13.2-2+b1 |
|
|
done |
jinja2 |
2.5.2-3 |
|
piotr |
done |
markupsafe |
0.9.2-3 |
|
piotr |
done |
pycxx |
6.2.0-4 |
|
|
done |
python-bsddb3 |
4.8.3-2 |
|
doko |
done |
python-httplib2 |
0.6.0-4 |
|
|
done |
pyyaml |
3.09-5 |
|
piotr |
done |
sqlalchemy |
0.6.3-3 |
|
piotr |
done |
cython |
|
|
piotr |
cython script generates Python 3.X compatible code, some packages import Cython public module, though |
Packages that qualify for Squeeze exception
source package |
version that provides python3-foo |
bug# |
who will work on it |
notes |
beaker |
1.5.4-3 |
|
piotr |
done |
beautifulsoup |
|
|
|
|
docutils |
|
|
|
|
lxml |
2.2.8-1 |
|
|
done |
mako |
0.3.4-5 |
|
piotr |
done |
pygments |
|
|
piotr |
|
python-apt |
0.7.98.1 |
|
piotr |
done |
python-qt4 |
|
|
|
|
python-slimmer |
0.1.30-2 |
|
|
|
sip4-qt3 |
|
|
Michał Zając (guided by piotr) |
|
Other source packages that support Python 3
source package |
version that provides python3-foo |
who will work on it |
notes |
chardet |
|
piotr |
requires NEW source package |
decorator |
|
piotr |
|
pyenchant |
|
piotr |
|
python-coverage |
|
|
requires NEW source package |
python-distutils-extra |
2.22-1 |
|
|
python3-stdlib-extensions |
2.6.6-1 |
|
|
python3-ipaddr |
2.1.5-1 |
ScottK |
List of packages that support Python 3 in Fedora
How to add new python3-foo binary package?
- add python3 or python3-all or python3-all-dev to Build-Depends(-Indep) (+ python3-all-dbg for -dbg package)
add python3-foo binary package (with ${python3:Depends} in Depends)
optionally: set minimum required Python 3 version via X-Python3-Version (example: X-Python3-Version: >= 3.1)
build extensions for all py3versions -vr versions
- for dh "rules.tiny" packages:
add --with python3 to dh call (--with python2,python3 will also use dh_python2), or:
override_dh_pysupport: dh_pysupport dh_python3
- for all other debian/rules (including CDBS for now):
- invoke dh_python3 (make sure to do that before dh_strip in arch:any packages)
Notes
you can use -p and -N with dh_py* tools to decide which one should handle private directories
dh_python3 ignores public Python 2.X locations and python-* packages
dh_pysupport and dh_pycentral ignore python3-* packages
if you need to change files in dist-packages directory, you can use py_libdir & py_pkgname¹ macros to get the right directory or use something like:
pkgdir = $(CURDIR)/debian/python$(if $(patsubst 3.%,,$(1)),,3)-mako
