Package: python-stem
Version: 1.6.0-2
Severity: wishlist

Hi,

Please build a pypy package for stem. This will have to happen after the next
upstream release due to tor#26207 [0].

I have attached a patch for the control and rules file. Feel free to
ignore it if you prefer to implement this differently.

I am looking at packaging for vanguards [1] and this blocks that work.

Thanks,
Iain.

[0] https://trac.torproject.org/projects/tor/ticket/26207
[1] https://github.com/mikeperry-tor/vanguards
diff --git a/debian/control b/debian/control
index 2632df1..4b7906a 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: python-stem
 Section: python
 Priority: optional
 Maintainer: Ulises Vitulli <der...@debian.org>
-Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-6), python3-all, 
dh-python
+Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-6), python3-all, pypy, 
dh-python
 Standards-Version: 4.1.1.1
 Homepage: https://gitweb.torproject.org/stem.git
 X-Python-Version: >= 2.7
@@ -26,3 +26,11 @@ Description: Tor control library for Python 3 series
  Stem is a Python controller library for Tor. With it you can use
  Tor's control protocol to script against the Tor process and read
  descriptor data relays publish about themselves.
+
+Package: pypy-stem
+Architecture: all
+Depends: ${pypy:Depends}, ${misc:Depends}
+Description: Tor control library for PyPy
+ Stem is a Python controller library for Tor. With it you can use
+ Tor's control protocol to script against the Tor process and read
+ descriptor data relays publish about themselves.
diff --git a/debian/rules b/debian/rules
index 992ed9e..bb02423 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ export DH_VERBOSE=1
 export PYBUILD_NAME=stem
 
 %:
-               dh $@ --with python2,python3  --buildsystem=pybuild
+               dh $@ --with python2,python3,pypy  --buildsystem=pybuild
 
 override_dh_auto_clean:
        dh_auto_clean

Reply via email to