Bug#709376: Acknowledgement (python-dap: Incomplete namespace_packages causes spurrious warning messages)

2013-07-05 Thread Mike Neish

On 13-06-21 06:03 AM, Jakub Wilk wrote:


Anyway, please go ahead and commit the patch.



The patch has been submitted to the Subversion repository.

Kind regards,
Mike


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#709376: Acknowledgement (python-dap: Incomplete namespace_packages causes spurrious warning messages)

2013-06-21 Thread Mike Neish

On 13-06-21 06:03 AM, Jakub Wilk wrote:

* Mike Neish nei...@atmosp.physics.utoronto.ca, 2013-06-19, 12:56:
I was going to apply the patch myself, but my alioth request to join 
the Python Modules Packaging Team seems to have fallen through the 
cracks.  I got one response telling me to resend my request to the 
debian-python list.  I did, but the only response from the list was 
some guy who wrote something in German.


I would swear that my reply was in English... :)

Anyway, please go ahead and commit the patch.

My apologies, I missed that entire thread on the mailing list!  I'll go 
ahead and apply the patch :)


Thanks,
Mike


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#709376: Acknowledgement (python-dap: Incomplete namespace_packages causes spurrious warning messages)

2013-06-19 Thread Mike Neish
It's literally just a one-line change, I don't think it would take much 
effort for some nice person to put in.


I was going to apply the patch myself, but my alioth request to join the 
Python Modules Packaging Team seems to have fallen through the cracks.  
I got one response telling me to resend my request to the debian-python 
list.  I did, but the only response from the list was some guy who wrote 
something in German.  I think he was complaining about me resending my 
request to the mailing list.


Anyway, I believe the following bugs are actually symptoms of this bug:
 #666914: /usr/lib/python2.7/dist-packages/zope/__init__.py:3: 
UserWarning: Module dap was already imported from None
 #701465: virtualenvwrapper: Module dap was already imported from None, 
but /usr/lib/python2.7/dist-packages is being added to sys.path

 #644633: [pyflakes] pyflakes is broken after the switch to python 2.7


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#709376: python-dap: Incomplete namespace_packages causes spurrious warning messages

2013-05-22 Thread Mike Neish

Package: python-dap
Version: 2.2.6.7-1
Severity: minor
Tags: upstream patch

Dear Maintainer,

With python-dap installed, I get the following warning message:

Module dap was already imported from None, but 
/usr/lib/python2.7/dist-packages

is being added to sys.path

The easiest way to trigger this message is to run import pkg_resources.

A gentoo bug report at https://bugs.gentoo.org/show_bug.cgi?id=54161#c29
suggests that the 'dap' package needs to be added to the top of
/usr/lib/python2.7/dist-packages//dap-2.2.6.7.egg-info/namespace_packages.txt
(or whatever the equivalent location is).

The easiest way to fix this is to change the 'namespace_packages' parameter
being used in setup.py, in the Debian source package.

I've attached a patch which adds the root 'dap' package to 
namespace_package.

This fixes the warning message in my local tests.

Thanks,
Mike



-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500,
'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-43-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-dap depends on:
ii  python   2.7.3-0ubuntu2
ii  python-httplib2  0.7.2-1ubuntu2
ii  python2.72.7.3-0ubuntu3.1

Versions of packages python-dap recommends:
pn  python-cheetah  none
pn  python-pastenone
pn  python-pastedeploy  none
pn  python-pastescript  none

python-dap suggests no packages.




*** 
/home/neish/test_source/pydap-2.2.6.7/debian/patches/fix_namespace_packages

--- pydap-2.2.6.7.orig/setup.py
+++ pydap-2.2.6.7/setup.py
@@ -59,7 +59,7 @@ The latest version is available in a `Su
   url='http://pydap.org/',
   license='MIT',
   packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
-  namespace_packages=['dap.plugins', 'dap.responses'],
+  namespace_packages=['dap', 'dap.plugins', 'dap.responses'],
   include_package_data=True,


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#666914: /usr/lib/python2.7/dist-packages/zope/__init__.py:3: UserWarning: Module dap was already imported from None

2013-05-22 Thread Mike Neish

Package: python-zope.interface
Version: 3.6.1-1ubuntu3
Followup-For: Bug #666914

I believe this is related to bug #709376.  It doesn't look like it has 
anything to do with python-zope.interface, but rather python-dap.


If you uninstall python-dap, does the message go away?


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#704555: Info received (Bug#704555: RFS: quadrule/0~20121001-1 [ITP] -- C library of quadrature rules for numerical integration)

2013-04-19 Thread Mike Neish

Package quadrule has been removed from mentors.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#704151: ITP: quadrule -- C library of quadrature rules for numerical integration

2013-04-18 Thread Mike Neish

Hi Anton,

Thanks for sponsoring this package, and for all the help in making the 
package suitable for Debian!


Mike


On 13-04-18 04:01 AM, Anton Gladky wrote:

Hi,

I sponsored the package last night. Thanks for contribution!
Please, consider for the future uploads an adding of auto-tests.
It is always useful.

Anton




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#704151: ITP: quadrule -- C library of quadrature rules for numerical integration

2013-04-17 Thread Mike Neish

User: debian-scie...@lists.debian.org

In a response to my RFS 
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704555) it was 
suggested that I maintain this package under the debian-science team.  
So, I will be moving the package to the Debian Science VCS at 
http://git.debian.org/?p=debian-science/packages/quadrule.git


I hope I'm doing this right.

Thanks,
Mike Neish


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#704151: ITP: quadrule -- C library of quadrature rules for numerical integration

2013-04-17 Thread Mike Neish

User: debian-scie...@lists.debian.org

In a response to my RFS 
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704555) it was 
suggested that I maintain this package under the debian-science team. 
So, I will be moving the package to the Debian Science VCS at 
http://git.debian.org/?p=debian-science/packages/quadrule.git


I hope I'm doing this right.

Thanks,
Mike Neish


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#704555: RFS: quadrule/0~20121001-1 [ITP] -- C library of quadrature rules for numerical integration

2013-04-16 Thread Mike Neish

Hi Anton,

Thank you for taking the time to look at this package!  I'll try to 
address all your questions below.


I've signed up as a maintainer in the debian-science team, and will push 
the package to their git repository shortly.  I've changed the Section 
to 'math' instead of 'libs', to follow the debian-science policy.


In regard to the other scientific-oriented packages on the upstream 
website, I don't have any immediate plans to package them.  There are a 
couple of obstacles I would have to deal with first:
1) There is no upstream version control (or even a version number).  
Each package consists of a single source file (and header file), that 
may be periodically updated on the website. For quadrule, I went up one 
level to the directory listing, and used the modification date as a 
version number.  I can periodically check this modification date to 
see if a new version is available, and do a diff to ascertain what the 
changes are.  However, I would not want to do this for a few dozen 
independent packages!
2) I don't have enough time available to properly test all these 
packages.  I would just be turning a crank to produce an autotools 
build, followed by a Debian package.  I would need help to verify that 
the software actually works, and to produce relevant documentation.
Having said that, I would be more than willing to help with the 
packaging for these other upstream libraries if there was interest in 
having them.


In regard to your technical questions:
1) The 'build-aux' directory is defined by 'AC_CONFIG_AUX_DIR' in 
configure.ac.  This was suggested in the GNU Autotools tutorial 
(http://www.lrde.epita.fr/~adl/autotools.html), which I used as a 
reference when creating my configuration file.  AFAIK, it contains 
helper scripts for the build process, which are auto-generated with 
'autoreconf --install'.


Items (2)-(8) have been addressed in the latest package on the mentors 
site.  I also had to modify the *.install files when switching to compat 
level 9, as this triggered multi-arch library paths.


(9) I added the symbols-file because it was suggested in The Debian New 
Maintainers' Guide
http://www.debian.org/doc/manuals/maint-guide/advanced.en.html#librarysymbols 
.  It can be removed if necessary.


I've addressed some of the lintian warnings, such as 
hyphen-used-as-minus-sign in the man page.  There are a couple of 
lingering warnings that I can't address:
- no-upstream-changelog:  There is no upstream changelog!  All I have to 
work with is a C source file and a header file.
- shlib-calls-exit:  The C functions will call exit() if there's an 
error, which is not what you would expect in a shared library. It would 
be ideal if they returned an integer error code to the caller, but 
they're all defined as void type.  I could patch them up to return ints 
and never exit(), but then I would be changing the API of the upstream 
source.  I'm not sure what the best course of action is here.


Cheers,
Mike


On 13-04-11 04:58 PM, Anton Gladky wrote:

Hi Mike,

thanks for providing a new package for Debian! But I have some
notes/questions about your package.

First of all I would like to propose you to maintain your package under
the debian-science team [1], which I think the most suitable team for
such kind of software.

You created an autotools-build for the c-file, which is provided by
upstream. There are also a lot of other scientific-oriented packages
[2]. Are there any plans to package them as well? If yes, will it be
different packages, or they will be integrated into one meta-package?

Some technical questions:

1) there is a folder in the source build-aux. What is it for?
2) use compat level 9.
3) quilt is not needed in Build-Depends sections.
4) use DEP-5 for debian/copyright.
5) remove docs-file, it is empty.
6) remove libquadrule-dev,dirs and libquadrule1,dirs. They are useless.
7) la-files should not be installed at all.
8) clean debian/rules. It should be 3 lines long in your case.
9) I am not sure about symbols-file, whether it is necessary to provide
it explicitly.

After you build a binary, please, start lintian -IE --pedantic over
your .changes files. You will get some warnings and errors, which need
to be fixed as well.

Cheers,

Anton

[1] http://debian-science.alioth.debian.org/debian-science-policy.html
[2] http://people.sc.fsu.edu/~jburkardt/c_src/quadrule/quadrule.html

On 04/02/2013 11:48 PM, Mike Neish wrote:

Package: sponsorship-requests
Severity: wishlist

Dear mentors,

I am looking for a sponsor for my package quadrule

Package name: quadrule
Version : 0~20121001-1
Upstream Author : John Burkardt jburka...@fsu.edu
URL :
http://people.sc.fsu.edu/~jburkardt/c_src/quadrule/quadrule.html
License : LGPL3
Section : libs

It builds those binary packages:

  libquadrule-dev - Development files for quadrule
  libquadrule1 - A variety of quadrature rules

To access further information about this package, please

Bug#704555: RFS: quadrule/0~20121001-1 [ITP] -- C library of quadrature rules for numerical integration

2013-04-02 Thread Mike Neish

Package: sponsorship-requests
Severity: wishlist

Dear mentors,

I am looking for a sponsor for my package quadrule

Package name: quadrule
Version : 0~20121001-1
Upstream Author : John Burkardt jburka...@fsu.edu
URL : 
http://people.sc.fsu.edu/~jburkardt/c_src/quadrule/quadrule.html

License : LGPL3
Section : libs

It builds those binary packages:

 libquadrule-dev - Development files for quadrule
 libquadrule1 - A variety of quadrature rules

To access further information about this package, please visit the 
following URL:


  http://mentors.debian.net/package/quadrule


Alternatively, one can download the package with dget using this command:

dget -x 
http://mentors.debian.net/debian/pool/main/q/quadrule/quadrule_0~20121001-1.dsc


More information about quadrule can be obtained from 
http://www.atmosp.physics.utoronto.ca/~neishm/quadrule/quadrule.html.


Changes since the last upload:

 quadrule (0~20121001-1) unstable; urgency=low
 .
   * Initial release (Closes: #704151)


Regards,
 Mike Neish


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#704151: ITP: quadrule -- C library of quadrature rules for numerical integration

2013-03-28 Thread Mike Neish
Package: wnpp
Severity: wishlist
Owner: Mike Neish nei...@atmosp.physics.utoronto.ca


* Package name: quadrule
  Version : 0~20121001
  Upstream Author : John Burkardt jburka...@fsu.edu
* URL : 
http://people.sc.fsu.edu/~jburkardt/c_src/quadrule/quadrule.html
* License : LGPL3
  Programming Lang: C
  Description : C library of quadrature rules for numerical integration

The original code consists of a single header file (quadrule.h) and C source 
file (quadrule.c).  There is an autoconf-wrapped version that I've put 
together, at http://www.atmosp.physics.utoronto.ca/~neishm/quadrule/.  I've 
shared this version with the original author, and have his permission to use it 
as a basis for creating a Debian package.

I've played around with making a Debian package that I can build and install on 
my local desktop, although I'm probably missing a few details.  It takes the 
source package and generates two binary packages:
libquadrule1 - The shared library, for run-time use
libquadrule-dev - The header file, man page, and generic libquadrule.so soft 
link.

I don't expect the upstream code to change very often (or at all), so I would 
have no problem with maintaining the package over the long term.


quadrule_0~20121001-1.debian.tar.gz
Description: GNU Zip compressed data