Re: RFS: nautilus-clamscan

2008-05-17 Thread Vincent Bernat
OoO En ce  début de soirée du mercredi 14 mai  2008, vers 21:27, Clement
Lorteau <[EMAIL PROTECTED]> disait:

> Thank you for the review. I followed your recommendations and uploaded
> the new package to debian.mentors.net. See my comments below.

You  can use  "test_files/*" for  debian/nautilus-clamscan.examples. You
may also add a debian/watch file this is very useful.

Your GPG  key is not  signed by anyone.  You should try to  meet someone
that can sign  it, preferably a DD  or someone whose key is  signed by a
DD. Look at this page:
 https://nm.debian.org/gpg.php

If you live in Paris or near Paris, I can sign your key.
-- 
panic("bad_user_access_length executed (not cool, dude)");
2.0.38 /usr/src/linux/kernel/panic.c


pgpf7teLX085W.pgp
Description: PGP signature


debhelper 7 and python-central

2008-05-17 Thread Ben Finney
Howdy all,

debhelper version 7 introduces a number of new features
http://kitenet.net/~joey/blog/entry/dh_implementation/> that can
greatly simplify a 'debian/rules' file.

One important feature, that can dramatically cut the number of
'dh_foo' commands specified in the 'debian/rules' file, is called
"sequences", that are automagically-determined sequences of 'dh_foo'
commands that will be run, logging the fact and not re-running a
command unnecessarily.

One can simply call 'dh install' to run all the commands that
debhelper determines need to be done for the install sequence; one can
also partially run sequences up to a certain point, or resume from a
certain point. See 'dh(1)' for more on this feature.

Early in the 7.0.x series, debhelper gained the ability to detect a
Python package and run 'dh_pysupport' in the 'install' sequence,
allowing a single-line 'dh install' to perform all the tasks needed in
an 'install' target. However, it currently seems to lack corresponding
support for 'python-central'.


I'm using 'python-central' in 'bugs-everywhere' and have partially
converted it to debhelper 7; the Bazaar repository is online
http://bzr.debian.org/bzr/collab-maint/bugs-everywhere/be.debian/>.

The 'debian/rules' file currently needs to explicitly skip the steps
that would otherwise call 'dh_pysupport', which would fail on this
'python-central'-using package.

e.g. instead of being able to say 'dh install', I need to write::

install: build
dh install --until installdirs
$(CURRENT_PYTHON_VERSION) setup.py install 
${DEB_PYTHON_INSTALL_ARGS_ALL}
dh install --before pysupport
dh install --after pysupport

and instead of 'dh binary-indep', I need to write::

binary-indep: build install
dh binary-indep --before pysupport
dh_pycentral
dh binary-indep --after pysupport

Does anyone know debhelper better than me, and can suggest ways to
improve that package's current 'debian/rules' file to make better use
of debhelper 7 with 'python-central'?

-- 
 \  "Ignorance more frequently begets confidence than does |
  `\   knowledge." —Charles Darwin, _The Descent of Man_, 1871 |
_o__)  |
Ben Finney


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: debhelper 7 and python-central

2008-05-17 Thread Joey Hess
Ben Finney wrote:
> Does anyone know debhelper better than me, and can suggest ways to
> improve that package's current 'debian/rules' file to make better use
> of debhelper 7 with 'python-central'?

python-central could include a dh sequence file, then you could use
something like:

dh binary-indep --with python-central

I might need to add a Debian::Debhelper::Dh_Lib::remove_command to the
sequence file interface, if it needs a way to actually remove the
dh_pysupport call, rather than just adding a dh_pycentral call.

-- 
see shy jo


signature.asc
Description: Digital signature


Re: debhelper 7 and python-central

2008-05-17 Thread Ben Finney
Joey Hess <[EMAIL PROTECTED]> writes:

> Ben Finney wrote:
> > Does anyone know debhelper better than me, and can suggest ways to
> > improve that package's current 'debian/rules' file to make better use
> > of debhelper 7 with 'python-central'?
> 
> python-central could include a dh sequence file, then you could use
> something like:
> 
>   dh binary-indep --with python-central

That would be ideal, yes.

> I might need to add a Debian::Debhelper::Dh_Lib::remove_command to
> the sequence file interface, if it needs a way to actually remove
> the dh_pysupport call, rather than just adding a dh_pycentral call.

Sounds like a good feature. I'd vote for calling it 'skip_command'
though, with the resulting '--skip-command foo' interface.

-- 
 \“I don't accept the currently fashionable assertion that any |
  `\   view is automatically as worthy of respect as any equal and |
_o__)   opposite view.” —Douglas Adams |
Ben Finney


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]