Re: The python command in Debian

2020-07-18 Thread Sebastian Humenda
Hi

Rene Engelhard schrieb am 18.07.2020,  8:26 +0200:
>Am 14.07.20 um 11:00 schrieb Piotr Ożarowski:
>> FTR: I didn't change my mind. /usr/bin/python is still used outside
>> Debian packages, in /usr/local/bin scripts and applications and I
>> strongly disagree to touch it.
>
>Unfortunately (at least if I remember correctly I came up with an
>example of this lately...) also new stuff does #!/usr/bin/python and
>assumes it is python3...
>
>
>Do some distros set /usr/bin/python to python 3?

Yup, Arch does. From the wiki: https://wiki.archlinux.org/index.php/Python

Any program requiring Python 2 needs to point to /usr/bin/python2, instead of
/usr/bin/python, which points to Python 3. 

Cheers
Sebastian


signature.asc
Description: PGP signature


RFS: gladtex: new upstream version 2.1

2016-10-14 Thread Sebastian Humenda
Hi

I have packaged GladTeX 2.1 from :

 GladTeX is a preprocessor that enables the use of LaTeX equations within HTML
 files. The equations, embedded in ... tags, as if within $$..$$ in
 LaTeX, is fed through LaTeX and replaced by images.
 .
 Additionally all images get an alt-tag for alternative texts that contains the
 LaTeX-equivalent of the image. This is handy for text-mode browsers or blind
 people using a screen reader.

It builds the binary packages python3-gleetex and gladtex and has been checked 
to be
lintian-clean. It also builds fine in a clean pbuilder chroot.
It would be great if you could have a look and upload the package, if
everything is as expected.

Thanks
Sebastian
-- 
Web: http://www.crustulus.de (English|Deutsch)  | Blog: 
http://www.crustulus.de/blog
FreeDict: Free multilingual dictionaries - http://www.freedict.org
Freies Latein-Deutsch-Wörterbuch: http://www.crustulus.de/freedict.de.html


signature.asc
Description: PGP signature


Re: Building a module and an application package from one source

2016-08-31 Thread Sebastian Humenda
Hi

Sebastian Humenda schrieb am 25.08.2016, 12:10 +0200:
>Ben Finney schrieb am 25.08.2016, 15:41 +1000:
[...]
>>Is the “command-line application” just a single program file, which
>>imports the library and does its stuff?
>>
>>If so, that file should be installed to the right place (‘/usr/bin/foo’
>>probably) by the build system. You then configure ‘dh_install’ to
>>install that file specifically to the ‘foo’ binary package.
>How would I do that? dh_auto_install moves the script too 
>debian/gladtex/usr/bin
>along with the module (to */usr/lib). I now set the PYBUILD_NAME to the name 
>of the library package
>(python3-gleetex) and move the file manually after dh_auto_install. Looks hacky
>though.
>I've uploaded the package to 
>ssh://git.debian.org/git/python-modules/packages/gladtex.git.
I would ask whether you please could have a look at the package, so that I can
finish the packaging.

Thanks
Sebastian
-- 
Web: http://www.crustulus.de (English|Deutsch)  | Blog: 
http://www.crustulus.de/blog
FreeDict: Free multilingual dictionaries - http://www.freedict.org
Freies Latein-Deutsch-Wörterbuch: http://www.crustulus.de/freedict.de.html


signature.asc
Description: PGP signature


Re: Building a module and an application package from one source

2016-08-25 Thread Sebastian Humenda
Hi

Ben Finney schrieb am 25.08.2016, 15:41 +1000:
>Sebastian Humenda  writes:
>> I want to repackage GladTeX (it used to be Perl and has been rewritten
>> in Python).
>
>Thank you for working on this package for Debian.
>
>> GladTeX comes with a module and an command-line application. Pybuild
>> copies all files into the package defined first in debian/control and
>> I am not sure how to separate the module from the application.
>
>Is the “command-line application” just a single program file, which
>imports the library and does its stuff?
>
>If so, that file should be installed to the right place (‘/usr/bin/foo’
>probably) by the build system. You then configure ‘dh_install’ to
>install that file specifically to the ‘foo’ binary package.
How would I do that? dh_auto_install moves the script too debian/gladtex/usr/bin
along with the module (to */usr/lib). I now set the PYBUILD_NAME to the name of 
the library package
(python3-gleetex) and move the file manually after dh_auto_install. Looks hacky
though.
I've uploaded the package to 
ssh://git.debian.org/git/python-modules/packages/gladtex.git.

It would be great if somebody could have a look.

Thanks
Sebastian
-- 
Web: http://www.crustulus.de (English|Deutsch)  | Blog: 
http://www.crustulus.de/blog
FreeDict: Free multilingual dictionaries - http://www.freedict.org
Freies Latein-Deutsch-Wörterbuch: http://www.crustulus.de/freedict.de.html


signature.asc
Description: PGP signature


Building a module and an application package from one source

2016-08-24 Thread Sebastian Humenda
Hi,

I want to repackage GladTeX (it used to be Perl and has been rewritten in
Python). GladTeX comes with a module and an command-line application. Pybuild
copies all files into the package defined first in debian/control and I am not
sure how to separate the module from the application.

Is there an easy way to tell pybuild to distribute different parts of the build
output to different packages?

I have uploaded a snapshot of the package to . The
old version was maintained within the pkg-a11y domain, but it does not belong
there. Since I'm using gbp, I didn't want to fiddle around with svn-buildpackage
yet (used by PAPT).

Thanks
Sebastian


signature.asc
Description: PGP signature


Re: python-pandocfilters_1.2.1-1_amd64.changes ACCEPTED into unstable, unstable

2014-07-28 Thread Sebastian Humenda
Hello Matthias,

Matthias Klose schrieb am 28.07.2014, 14:27 +0200:
>Am 28.07.2014 um 14:00 schrieb Debian FTP Masters:
>> 
>> 
>> Accepted:
>> 
>> Format: 1.8
>> Date: Mon, 30 Jun 2014 10:04:06 +0200
>> Source: python-pandocfilters
>> Binary: python-pandocfilters python3-pandocfilters
>> Architecture: source all
>> Version: 1.2.1-1
>> Distribution: unstable
>> Urgency: low
>> Maintainer: Debian Python Team 
>> Changed-By: Sebastian Humenda 
>
>please can we avoid using debian-python@lists.debian.org as a maintainer list
>for packages?
Please tell me an alternate address and I'll fix it with the next upload. Before
requesting the upload, I had asked on the list for someone to have a look at the
package. After not receiving any comments after a while, I thought my package to
be ok, including the maintainer address.

Thanks
Sebastian
-- 
Web: http://www.crustulus.de | Blog: 
http://www.crustulus.de/cgi-bin/blog.cgi?de-0
Freies Latein-Deutsch-Wörterbuch: http://www.crustulus.de/freedict.de.html
FreeDict: Free multilingual dictionary databases - http://www.freedict.org


signature.asc
Description: Digital signature


RFS: pandocfilters

2014-07-09 Thread Sebastian Humenda
Hi,

I would like to request sponsorship for my package python-pandocfilters:

Source: python-pandocfilters
Version: 1.2.1
Section: python
Homepage: https://pypi.python.org/pypi/pandocfilters/
Vcs-Svn: 
svn://anonscm.debian.org/python-modules/packages/python-pandocfilters/trunk/
Vcs-Browser: 
http://anonscm.debian.org/viewvc/python-modules/packages/python-pandocfilters/trunk/
Description: python bindings for Pandoc's filters
 Pandoc is a powerful utility to transform various input formats into a wide
 range of output formats. To alter the exported output document, Pandoc allows
 the usage of filters, which are pipes that read a JSON serialization of the
 Pandoc AST from stdin, transform it in some way, and write it to stdout. It
 allows therewith to alter the processing of Pandoc's supported input formats,
 for instance one can add new syntax elements to markdown, etc.
 .
 This package provides Python bindings.

It is Lintian-clean and I have tested it with Python2 and Python3.

The upload would close #746745.

Thanks
Sebastian
-- 
Web: http://www.crustulus.de | Blog: 
http://www.crustulus.de/cgi-bin/blog.cgi?de-0
Freies Latein-Deutsch-Wörterbuch: http://www.crustulus.de/freedict.de.html
FreeDict: Free multilingual dictionary databases - http://www.freedict.org


signature.asc
Description: Digital signature


Pandocfilters

2014-06-26 Thread Sebastian Humenda
Hi,

I would like to request sponsorship for my package python-pandocfilters:

Source: python-pandocfilters
Version: 1.2
Section: python
Homepage: https://pypi.python.org/pypi/pandocfilters/
Vcs-Svn: 
svn://anonscm.debian.org/python-modules/packages/python-pandocfilters/trunk/
Vcs-Browser: 
http://anonscm.debian.org/viewvc/python-modules/packages/python-pandocfilters/trunk/
Description: python bindings for Pandoc's filters
 Pandoc is a powerful utility to transform various input formats into a wide
 range of output formats. To alter the exported output document, Pandoc allows
 the usage of filters, which are pipes that read a JSON serialization of the
 Pandoc AST from stdin, transform it in some way, and write it to stdout. It
 allows therewith to alter the processing of Pandoc's supported input formats,
 for instance one can add new syntax elements to markdown, etc.
 .
 This package provides Python bindings.

It is Lintian-clean and I have tested it with Python2 and Python3.

The upload would close #746745.

Thanks
Sebastian
-- 
Web: http://www.crustulus.de | Blog: 
http://www.crustulus.de/cgi-bin/blog.cgi?de-0
Freies Latein-Deutsch-Wörterbuch: http://www.crustulus.de/freedict.de.html
FreeDict: Free multilingual dictionary databases - http://www.freedict.org


signature.asc
Description: Digital signature


Re: python-Pandocfilters

2014-06-16 Thread Sebastian Humenda
Hello Vincent and all,

Vincent Cheng schrieb am 02.06.2014,  0:50 -0700:
>On Thu, May 29, 2014 at 12:59 PM, Sebastian Humenda  wrote:
>> I have prepared a package for python-pandocfilters. AFAIT, it should 
>> correspond
>> to the python packaging guidelines and it builds nicely with Debhelper. BTW,
>> thanks to the developers and to those who documented the process, great job!
>>
>> It is Lintian-clean, but I would love to have someone looking over it, 
>> because
>> this is my first Python-related package. I think it would make also sense to
>> include it in the debian-python team repositories, if you wish. If so, please
>> add me on alioth (moomoc-guest), and I'll create a git repository there.
[...]
>If you'd like to maintain your package within the team, you'll have to
>file a request to join the DPMT/PAPT on alioth (and then wait for an
>admin to approve your request). Note that for various reasons (feel
>free to dig into the list archives), DPMT/PAPT packages are only
>maintained in svn, so you'd have to maintain python-pandocfilters in
>svn, not git, if you choose to maintain it within the team.
It is uploaded to the SVN. It builds fine with svn-buildpackage. I would be glad
if someone could have a glance at this little package; if there are no errors, I
would ask my sponsor to upload it.

Thank you!
Sebastian
-- 
Web: http://www.crustulus.de | Blog: 
http://www.crustulus.de/cgi-bin/blog.cgi?de-0
Freies Latein-Deutsch-Wörterbuch: http://www.crustulus.de/freedict.de.html
FreeDict: Free multilingual dictionary databases - http://www.freedict.org


signature.asc
Description: Digital signature


Re: python-Pandocfilters

2014-06-03 Thread Sebastian Humenda
Hello Vincent,

Vincent Cheng schrieb am 02.06.2014,  0:50 -0700:
>(Please let me know if you're subscribed to the list, so I can stop cc-ing 
>you.)
I am subscribed. :)

>On Thu, May 29, 2014 at 12:59 PM, Sebastian Humenda  wrote:
>> I have prepared a package for python-pandocfilters. AFAIT, it should 
>> correspond
>> to the python packaging guidelines and it builds nicely with Debhelper. BTW,
>> thanks to the developers and to those who documented the process, great job!
>>
>> It is Lintian-clean, but I would love to have someone looking over it, 
>> because
>> this is my first Python-related package. I think it would make also sense to
>> include it in the debian-python team repositories, if you wish. If so, please
>> add me on alioth (moomoc-guest), and I'll create a git repository there.
>
>Please follow the instructions at mentors.debian.net [1] to upload
>your package for review and file a sponsorship request.
I already have a sponsor and am maintaining some packages. The point is rather
that I would like too see me following all debian-python conventions from the
very beginning and therefore would like to see someone with some experience.

The package is really small (one Python file, actually) and I think you wouldn't
have too much trouble with it.

>If you'd like to maintain your package within the team, you'll have to
>file a request to join the DPMT/PAPT on alioth (and then wait for an
>admin to approve your request). Note that for various reasons (feel
>free to dig into the list archives), DPMT/PAPT packages are only
>maintained in svn, so you'd have to maintain python-pandocfilters in
>svn, not git, if you choose to maintain it within the team.
I am not that familiar with SVN packaging, but since I think it would be better
to maintain Python packages in the Python team, I'll file a request.

Thanks!
Sebastian
-- 
Web: http://www.crustulus.de | Blog: 
http://www.crustulus.de/cgi-bin/blog.cgi?de-0
Freies Latein-Deutsch-Wörterbuch: http://www.crustulus.de/freedict.de.html
FreeDict: Free multilingual dictionary databases - http://www.freedict.org


signature.asc
Description: Digital signature


python-Pandocfilters

2014-05-29 Thread Sebastian Humenda
Hello,

I have prepared a package for python-pandocfilters. AFAIT, it should correspond
to the python packaging guidelines and it builds nicely with Debhelper. BTW,
thanks to the developers and to those who documented the process, great job!

It is Lintian-clean, but I would love to have someone looking over it, because
this is my first Python-related package. I think it would make also sense to
include it in the debian-python team repositories, if you wish. If so, please
add me on alioth (moomoc-guest), and I'll create a git repository there.

Thanks
Sebastian
-- 
Web: http://www.crustulus.de | Blog: 
http://www.crustulus.de/cgi-bin/blog.cgi?de-0
Freies Latein-Deutsch-Wörterbuch: http://www.crustulus.de/freedict.de.html
FreeDict: Free multilingual dictionary databases - http://www.freedict.org


signature.asc
Description: Digital signature