[aur-general] python pkging

Tim Yang tdy at gmx.com
Thu Jun 18 01:06:05 EDT 2009


On 06/17/2009 04:57 PM, nathan owe. wrote:
> Biru Ionut wrote:
>> nathan owe. wrote:
>>> Biru Ionut wrote:
>>>> nathan owe. wrote:
>>>>> I am using the example PKGBUILD for python apps, namcap gives that 
>>>>> some  files are in non-standard dirs, does that matter for python 
>>>>> apps. and how do i fix it
>>>> it would be usefully if had posted the output of namcap and also 
>>>> the PKGBUILD
>>>>
>>>
>>>
>>> [ndowens at Arch eddie-tool]$ namcap EDDIE-Tool-0.37.3.1-1-i686.pkg.tar.gz
>>> EDDIE-Tool W: File (usr/config-sample) exists in a non-standard 
>>> directory.
>>> EDDIE-Tool W: File (usr/doc) exists in a non-standard directory.
>>> EDDIE-Tool W: File (usr/doc/manual.html) exists in a non-standard 
>>> directory.
>>> EDDIE-Tool W: File (usr/config-sample/eddie.cf) exists in a 
>>> non-standard directory.
>>> EDDIE-Tool W: File (usr/config-sample/rules) exists in a 
>>> non-standard directory.
>>> EDDIE-Tool W: File (usr/config-sample/rules/cache.rules) exists in a 
>>> non-standard directory.
>>> EDDIE-Tool W: File (usr/config-sample/rules/host.rules) exists in a 
>>> non-standard directory.
>>> EDDIE-Tool W: File (usr/config-sample/rules/rrd.rules) exists in a 
>>> non-standard directory.
>>> EDDIE-Tool W: File (usr/config-sample/rules/common.rules) exists in 
>>> a non-standard directory.
>>> EDDIE-Tool W: File (usr/config-sample/rules/win32_sample.rules) 
>>> exists in a non-standard directory.
>>> EDDIE-Tool W: File (usr/config-sample/rules/message.rules) exists in 
>>> a non-standard directory.
>>> EDDIE-Tool W: File (usr/config-sample/rules/sys_solaris.rules) 
>>> exists in a non-standard directory.
>>> EDDIE-Tool W: File (usr/config-sample/rules/dns.rules) exists in a 
>>> non-standard directory.
>>> EDDIE-Tool W: File (usr/config-sample/rules/sys_linux.rules) exists 
>>> in a non-standard directory.
>>> EDDIE-Tool W: File (usr/config-sample/rules/news.rules) exists in a 
>>> non-standard directory.
>>>
>>>
>> the right place where you should put them is in /usr/share/eddie-tool/
>>
> how do i tell it to put it in the /usr/share/eddie-tool dir?

python setup.py install --prefix=/usr --install-data=/usr/share/$pkgname 
--root="$pkgdir" || return 1

.. but then the doc dir is non-standard.  It might not be possible to 
put everything in the right place automatically with setuptools.


More information about the aur-general mailing list