Bug#830825: ITP: python-openid-cla -- OpenID CLA extension for python-openid

2016-07-11 Thread Sergio Durigan Junior
Package: wnpp
Severity: wishlist
Owner: Sergio Durigan Junior 

* Package name: python-openid-cla
  Version : 1.2
  Upstream Author : Patrick Uiterwijk 
* URL : https://github.com/puiterwijk/python-openid-cla
* License : BSD-3-clause
  Programming Lang: Python
  Description : OpenID CLA extension for python-openid

 Implementation of the OpenID CLA extension for python-openid.  The
 purpose of this extension is to allow retrieving a list of signed
 contributor license agreements.

This package is a dependency necessary for pagure.

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/


signature.asc
Description: PGP signature


Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping extension causes network access during package builds

2016-07-11 Thread Dmitry Shachnev
Hi Brian,

On Tue, Jul 12, 2016 at 07:45:01AM +1000, Brian May wrote:
> How do you call Sphinx in setup.py? When I researched this before, the
> best advice I could find seemed to be along the lines of "don't do
> that".

Setuptools provides a build_sphinx command out of the box. For packages
using distutils, there is a sphinx.setup_command module provided by
Sphinx.

Some upstreams call that command during build phase, though that’s not
common.

I agree that my comment was a bit confusing because it applies only to
this rare case (it was mainly an answer to Chris’ question which mentioned
pybuild).

-- 
Dmitry Shachnev


signature.asc
Description: PGP signature


Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping extension causes network access during package builds

2016-07-11 Thread Brian May
Dmitry Shachnev  writes:

> Indeed my comment applies only if Sphinx is invoked by pybuild (for example
> if it's called by setup.py build).

How do you call Sphinx in setup.py? When I researched this before, the
best advice I could find seemed to be along the lines of "don't do
that".
-- 
Brian May 



Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping extension causes network access during package builds

2016-07-11 Thread Daniele Tricoli
Hello Dmitry,

On Monday, July 11, 2016 09:06:57 PM Dmitry Shachnev wrote:
> If it's invoked separately the only ways would be to export http(s)_proxy in
> debian/rules or patch conf.py to get correct intersphinx mapping.

Thanks for the details.
I'm already exporting http_proxy inside betamax debian/rules, maybe patch 
conf.py is needed anyway due DNS queries: it seems confirmed looking at 
tcpdump log for #830543.

Thanks! Cheers,

-- 
 Daniele Tricoli 'eriol'
 https://mornie.org

signature.asc
Description: This is a digitally signed message part.


Request to join team

2016-07-11 Thread Christopher Hoskin
Hello,

Please can I request to join the Python Modules Team? My Alioth account is
grinorcole-guest.

I have read and agree to the Python Modules Policy.

To date I have only one Python package which is good enough to submit for
consideration:

https://mentors.debian.net/package/django-setuptest

However, I have some more under preparation (pojson, txwinrm,
django-memoize) which I should like to finish off and submit.

Actually, I think my django-setuptest may deviate from the policy in that
both Python 2 and 3 binaries are built. I did this because Sid contains
both Python 2 and 3 Django packages so I assumed that both should be
supported. But perhaps this is not the case?

Thank.

Christopher Hoskin


Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping extension causes network access during package builds

2016-07-11 Thread Dmitry Shachnev
Hi Brian,

On Sun, Jul 10, 2016 at 11:34:53AM +1000, Brian May wrote:
> Not sure I understand how dh-python / pybuild help with this problem.
>
> I thought the recommended way to deal with building documentation was
> something like this in debian/rules:
>
> override_dh_auto_build:
> dh_auto_build
> PYTHONPATH=. sphinx-build -b html -N Doc/ Doc/.build/html
>
> ... in which case building the documentation happens outside
> dh_auto_build.
>
> Did I miss something here?

Indeed my comment applies only if Sphinx is invoked by pybuild (for example
if it's called by setup.py build).

If it's invoked separately the only ways would be to export http(s)_proxy in
debian/rules or patch conf.py to get correct intersphinx mapping.

Unfortunately there is no easy way for Sphinx to detect if it's invoked as
part of the package build process, so the ways I can change it are limited.

-- 
Dmitry Shachnev


signature.asc
Description: PGP signature