#4071 xattr-py

open
nobody
5
2013-11-27
2012-02-02
Guru Evi
No

Does this package have OS version restrictions?
No, it's python
Which section does it belong in?
libs/pythonmods
Have you built it with -m --build-as-nobody?
Yes

Replaces xattr-py25 currently in the tree

Discussion

  • Guru Evi
    Guru Evi
    2012-02-02

     
    Attachments
  • Daniel Macks
    Daniel Macks
    2012-02-04

    Does not pass -m for me:

    Error: File in a language-versioned package is neither versioned nor in a versioned directory.
    Offending file: /sw/bin/xattr

    I see the same thing in the existing (older version) package currently in fink.

    Also, distribute-pyXX is the modern replacement for the older setuptools-pyXX package; no harm for now in using old, but may as well migrate to the new unless there's an incompatibility with it.

     
  • Daniel Macks
    Daniel Macks
    2012-02-04

    • labels: 899453 --> Updated Version of Existing
    • milestone: 373615 --> Awaiting_Update_from_Submitter
     
  • Daniel Macks
    Daniel Macks
    2012-02-04

    I see this same -m fail on xattr-py27 and other variants, on both 10.6/i386 and 10.7/x86_64

     
  • Guru Evi
    Guru Evi
    2012-02-20

    Validates

     
    Attachments
  • Guru Evi
    Guru Evi
    2012-02-20

    I modified and updated the package to pass through Fink validation.

     
  • I no longer see the error dmacks pointed out for non-versioned files. However, the package is missing a PreRmScript to resolve the symlinks that update-alternatives creates during a package removeal. If I install -py25 followed by -py26, and then remove -py26, the symlink chain xattr -> /sw32/etc/alternatives/xattr -> /sw32/bin/xattr-py26 gets broken because xattr-py26 is removed, but the broken symlinks are left behind and not modified to point back to -py25.

    I believe if you use the PreRmScript from the current in Fink copy of xattr-py-0.4, that will be enough to solve this issue.

     
  • What is the status of this item?