Bug#970289: RM: python-flask-rdf -- ROM; no rdepends, no popcon

2020-09-14 Thread Iain R. Learmonth
Package: ftp.debian.org
Severity: normal
X-Debbugs-Cc: debian-python@lists.debian.org

Hi,

Please remove python-flask-rdf from unstable. It has no reverse
dependencies, almost no popcon.

Python team in CC in case anyone does want to grab this and adopt it,
but I don't think it's likely enough to risk filing an O and letting it
rot unattended.

Thanks,
Iain.



Bug#970282: O: python-inflect -- Generate plurals, singular nouns, ordinals, indefinite articles

2020-09-14 Thread Iain R. Learmonth
Package: wnpp
Severity: normal
X-Debbugs-Cc: debian-python@lists.debian.org

I intend to orphan the python-inflect package. This would be a good
candidate for the Python team. It has reverse dependencies in Debian:
python3-jaraco.itertools and sqlacodegen.

The package description is:
 The inflect Python module correctly generates plurals, singular nouns,
 ordinals and indefinite articles. It can also convert numbers to words.



Bug#827877: RFP: python-pypandoc -- Thin Python wrapper for pandoc

2016-06-21 Thread Iain R. Learmonth
Package: wnpp
Severity: wishlist
Control: block 810629 by -1

* Package name: python-pypandoc
  Version : 1.1.3
  Upstream Author : Juho Vepsäläinen
* URL : https://github.com/bebraw/pypandoc
* License : MIT
  Programming Lang: Python
  Description : Thin Python wrapper for pandoc

pypandoc provides a thin wrapper for pandoc, a universal document
converter, for converting between document types easily in Python.

Releases are available at: https://pypi.python.org/pypi/pypandoc

-- 



Bug#827875: RFP: python-bugzilla -- Python library and command line tool for interacting with Bugzilla

2016-06-21 Thread Iain R. Learmonth
Package: wnpp
Severity: wishlist
Control: block 810629 by -1

* Package name: python-bugzilla
  Version : 1.2.2
  Upstream Author : Cole Robinson
* URL : https://github.com/python-bugzilla/python-bugzilla
* License : GPL-2
  Programming Lang: Python
  Description : Python library and command line tool for interacting with 
Bugzilla

This package provides two features, a 'bugzilla' python module for
talking to a Bugzilla instance over XMLRPC and /usr/bin/bugzilla command
line tool for performing actions from the command line: create or edit
bugs, various queries, etc.

Releases are available at: https://pypi.python.org/pypi/python-bugzilla/1.2.2

-- 



Bug#827873: RFP: python-pytz -- World timezone definitions, modern and historical

2016-06-21 Thread Iain R. Learmonth
Package: wnpp
Severity: wishlist
Control: block 810629 by -1

* Package name: python-pytz
  Version : 2016.4
  Upstream Author : Stuart Bishop
* URL : http://pythonhosted.org/pytz
* License : MIT
  Programming Lang: Python
  Description : World timezone definitions, modern and historical

pytz brings the Olson tz database into Python. This library allows
accurate and cross platform timezone calculations using Python 2.4
or higher. It also solves the issue of ambiguous times at the end
of daylight saving time, which you can read more about in the Python
Library Reference (``datetime.tzinfo``).

Almost all of the Olson timezones are supported.

Releases are available at: https://pypi.python.org/pypi/pytz

-- 



Bug#827872: RFP: python-offtrac -- Trac xmlrpc library for Python

2016-06-21 Thread Iain R. Learmonth
Package: wnpp
Severity: wishlist
Control: block 810629 by -1

* Package name: python-offtrac
  Version : 0.1.0
  Upstream Author : Jesse Keating
* URL : http://fedorahosted.org/offtrac
* License : GPL-2+
  Programming Lang: Python
  Description : Trac xmlrpc library for Python

offtrac aims to be a python based xmlrpc client library for trac instances.

There is the offtrac python library which offers the !TracServer class.
This object is how one interacts with a Trac instance via xmlrpc.

Releases are available at: https://pypi.python.org/pypi/offtrac

-- 



Bug#827871: RFP: python-twiggy -- a Pythonic logger

2016-06-21 Thread Iain R. Learmonth
Package: wnpp
Severity: wishlist
Control: block 810629 by -1

* Package name: python-twiggy
  Version : 0.4.7
  Upstream Author : Pete Fein
* URL : http://twiggy.wearpants.org
* License : BSD
  Programming Lang: Python
  Description : a Pythonic logger

Twiggy is a Pythonic logging library. It uses new-style
format strings by default, uses loose coupling between loggers and
outputs for configuration and supports asynchronous logging using the
multiprocessing module which makes logging basically free.

Releases are available on PyPI: https://pypi.python.org/pypi/Twiggy

-- 



Bug#785524: RFP: python-flask-frozen -- freezes a Flask application into a set of static files

2015-05-17 Thread Iain R. Learmonth
Package: wnpp
Severity: wishlist

* Package name: python-flask-frozen
  Version : 0.11
  Upstream Author : Simon Sapin
* URL : http://pythonhosted.org/Frozen-Flask/
* License : BSD-3-clause
  Programming Lang: Python
  Description : freezes a Flask application into a set of static files

Frozen-Flask freezes a Flask application into a set of static files. The
result can be hosted without any server-side software other than a
traditional web server.

Note: This project used to be called Flask-Static.

PyPI: http://pythonhosted.org/Frozen-Flask/
Source code: https://github.com/SimonSapin/Frozen-Flask



Hi,

I would like to use this Python module as part of a Debian service
(rdf.debian.net) but do not currently have the time to package this
myself. I would appreciate it if someone could package this in Debian.

Thanks,
Iain.


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150517123157.12393.15921.reportbug@orbiter



Re: Dependency on python-oauth2

2014-02-10 Thread Iain R. Learmonth
On 10/02/14 05:57, Thomas Goirand wrote:
> On 02/10/2014 02:41 AM, Iain R. Learmonth wrote:
> [...]
> 
> python-oauth2 is indeed not maintained anymore upstream, and has
> security problems. As a consequence, I worked out a patch for keystone
> so that it uses oauthlib instead. I would recommend that you do the
> same, and that you do not rely on oauth2. Note that the API of oauthlib
> is different from oauth2, even though they are supposed to do the same
> kind of thing.
> 

Cool. Thanks everyone for your help. I'm going to ask upstream if
they'll consider moving to oauthlib then instead of python-oauth2.

Iain.

-- 
urn:x-human:Iain R. Learmonth
http://iain.learmonth.me/
mailto:i...@fsfe.org
xmpp:i...@jabber.fsfe.org
tel:+447875886930

GPG Fingerprint: 1F72 607C 5FF2 CCD5 3F01 600D 56FF 9EA4 E984 6C49
Please verify out-of-band before trusting with sensitive information.

[[[ To any GCHQ or other security service agents reading my email: ]]]
[[[ Please consider if any professional body code of conduct to]]]
[[[ which you subscribe requires you to follow Snowden's example.  ]]]
[[[ Your professional membership, chartered or incorporated status ]]]
[[[ may be at risk.]]]



signature.asc
Description: OpenPGP digital signature


Dependency on python-oauth2

2014-02-09 Thread Iain R. Learmonth
Hi,

I am attempting to get a package into Debian. I have it packaged and
accepted into unstable but due to a dependency on python-oauth2 it has
been held back from entering testing.

https://security-tracker.debian.org/tracker/source-package/python-oauth2

There are two open security problems with python-oauth2. It has been
removed from testing also and will not be in the next stable release of
Debian unless these bugs are fixed.

irl@orbiter:~$ apt-cache rdepends python-oauth2
python-oauth2
Reverse Depends:
  turses
  python-django-social-auth
  python-keystone
  python-django-oauth-plus
  python-djangorestframework
  python-django-social-auth

There are also a number of packages that depend on python-oauth2 that
will disappear on the next stable release.

Is there currently any effort to patch these problems in python-oauth2?
I notice these bugs were filed on the 13th Sep 2013. There has been no
activity in the python-oauth2 on GitHub in over 2 years as far as I can see.

If there is no effort to fix these bugs, could someone recommend an
alternative package to depend on to provide OAuth2 client functionality
for a Python module? I think upstream would likely be willing to
refactor for the new library.

Thanks,
Iain.

-- 
urn:x-human:Iain R. Learmonth
http://iain.learmonth.me/
mailto:i...@fsfe.org
xmpp:i...@jabber.fsfe.org
tel:+447875886930

GPG Fingerprint: 1F72 607C 5FF2 CCD5 3F01 600D 56FF 9EA4 E984 6C49
Please verify out-of-band before trusting with sensitive information.

[[[ To any GCHQ or other security service agents reading my email: ]]]
[[[ Please consider if any professional body code of conduct to]]]
[[[ which you subscribe requires you to follow Snowden's example.  ]]]
[[[ Your professional membership, chartered or incorporated status ]]]
[[[ may be at risk.]]]



signature.asc
Description: OpenPGP digital signature


Re: Python 3 package build dep on Python 2?

2014-02-02 Thread Iain R. Learmonth
On 02/02/14 20:38, Piotr Ożarowski wrote:
> [Iain R. Learmonth, 2014-02-02]
>> That works perfectly! The Python packaging page on the wiki didn't have
>> that. Is that a cue for dh_python3?
> 
> If you meant https://wiki.debian.org/Python/LibraryStyleGuide then it's
> for libraries... and since binary package name is python3-fitbitscraper,
> installing files to a private directory is not a good idea (we do that
> fro applications only, if you meant to install it as a public library,
> just remove PYBUILD_INSTALL... line)
> 

That makes sense. I've checked in the deb and everything seems to be in
the right place.

> and yes, as someone pointed out recently, I'm not that good at writing
> documentation. I'd be happy to answer all questions from someone who
> wants to improve the docs, though.
> 

I will be packaging two more Python packages in the next couple of
weeks. If I feel I understand it well enough after that, I may take a
look at the docs with a view to improving them.

Thanks,
Iain.

-- 
urn:x-human:Iain R. Learmonth
http://iain.learmonth.me/
mailto:i...@fsfe.org
xmpp:i...@jabber.fsfe.org
tel:+447875886930

GPG Fingerprint: 1F72 607C 5FF2 CCD5 3F01 600D 56FF 9EA4 E984 6C49
Please verify out-of-band before trusting with sensitive information.

[[[ To any GCHQ or other security service agents reading my email: ]]]
[[[ Please consider if any professional body code of conduct to]]]
[[[ which you subscribe requires you to follow Snowden's example.  ]]]
[[[ Your professional membership, chartered or incorporated status ]]]
[[[ may be at risk.]]]



signature.asc
Description: OpenPGP digital signature


Re: Python 3 package build dep on Python 2?

2014-02-02 Thread Iain R. Learmonth
On 02/02/14 19:32, Piotr Ożarowski wrote:
> [Iain R. Learmonth, 2014-02-02]
>> I'm packaging a Python module for Debian and lintian is giving the message:
>>
>> E: python3-fitbitscraper source: missing-python-build-dependency
>>
>> Should a Python 3 only module have a build dependency on Python 2?
> 
> you're using python (2.X) in debian/rules line 8, so lintian is right
> about missing python build dependency
> 

You are observant. I totally missed that. Thanks.

> You most probably want to remove this line and set
> PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/python3-fitbitscraper/
> instead
> 

That works perfectly! The Python packaging page on the wiki didn't have
that. Is that a cue for dh_python3?

> PS you probably also want to change Architecture to all
> 

Done.

Thanks for your help. This is my first package and I believe it's ready now.

Iain.

-- 
urn:x-human:Iain R. Learmonth
http://iain.learmonth.me/
mailto:i...@fsfe.org
xmpp:i...@jabber.fsfe.org
tel:+447875886930

GPG Fingerprint: 1F72 607C 5FF2 CCD5 3F01 600D 56FF 9EA4 E984 6C49
Please verify out-of-band before trusting with sensitive information.

[[[ To any GCHQ or other security service agents reading my email: ]]]
[[[ Please consider if any professional body code of conduct to]]]
[[[ which you subscribe requires you to follow Snowden's example.  ]]]
[[[ Your professional membership, chartered or incorporated status ]]]
[[[ may be at risk.]]]



signature.asc
Description: OpenPGP digital signature


Python 3 package build dep on Python 2?

2014-02-02 Thread Iain R. Learmonth
Hi,

I'm packaging a Python module for Debian and lintian is giving the message:

E: python3-fitbitscraper source: missing-python-build-dependency

Should a Python 3 only module have a build dependency on Python 2?

When I tried adding it, I ended up with compiled bytecode in the 2.7
dist-packages folder, which definitely shouldn't be there.

The source for the package can be found at:

http://anonscm.debian.org/gitweb/?p=debian-med/python3-fitbitscraper.git

Thanks,
Iain.

-- 
urn:x-human:Iain R. Learmonth
http://iain.learmonth.me/
mailto:i...@fsfe.org
xmpp:i...@jabber.fsfe.org
tel:+447875886930

GPG Fingerprint: 1F72 607C 5FF2 CCD5 3F01 600D 56FF 9EA4 E984 6C49
Please verify out-of-band before trusting with sensitive information.

[[[ To any GCHQ or other security service agents reading my email: ]]]
[[[ Please consider if any professional body code of conduct to]]]
[[[ which you subscribe requires you to follow Snowden's example.  ]]]
[[[ Your professional membership, chartered or incorporated status ]]]
[[[ may be at risk.]]]



signature.asc
Description: OpenPGP digital signature