Python installer

Scott Hannahs <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
Unfortunately I maintain a python utility for fink.  But not being terribly up on the versioning issues with python I am having some problems with some utilities.  I would appreciate a bit of help from the collective wisdom.

I have set up  a couple of python libraries by copying another library I am updating.  But they each gives a different error.

pbr-py: gives the following
Validating .deb dir /sw/src/fink.build/root-pbr-py27-1.9.1-1...
Error: File in a language-versioned package does not have a pathname specific to that version.
	Offending file: /sw/bin/pbr

pycryptopp gives the following:
Validating .deb dir /sw/src/fink.build/root-pycryptopp-py27-0.7.1-1...
Error: File in a language-versioned package does not have a pathname specific to that version.
	Offending file: /sw/share/doc/pycryptopp/COPYING.GPL
	Offending file: /sw/share/doc/pycryptopp/COPYING.MIT.txt
	Offending file: /sw/share/doc/pycryptopp/COPYING.SPL.txt
	Offending file: /sw/share/doc/pycryptopp/COPYING.TGPPL.rst
	Offending file: /sw/share/doc/pycryptopp/README.rst

As far as I can tell fink wants to version the utility in sw/bin and the documentation in /sw/share/doc
This is fine, but I don’t see the switch to tell fink or the install script to do special handling for the tools or the documentation.

Any suggestions of where to go for an example on how to handle this?  I find it odd, because fink automatically did this for the lockfile-py27 installation that I used as a template.
For example on the pycryptopp library I use
InstallScript: %p/bin/python%type_raw[python] setup.py install --prefix=%p --root=%d
DocFiles: COPYING.GPL COPYING.MIT.txt COPYING.SPL.txt COPYING.TGPPL.rst MANIFEST.in NEWS.rst PKG-INFO README.ed25519.rst README.rst

-Scott


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.