public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-libs/libselinux: ChangeLog libselinux-1.34.14.ebuild
       [not found] <E1JJs8v-0000zr-D6@stork.gentoo.org>
@ 2008-01-29 15:16 ` Christian Faulhammer
  2008-01-30  1:38   ` Doug Klima
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Faulhammer @ 2008-01-29 15:16 UTC (permalink / raw
  To: gentoo-dev, pebenito

[-- Attachment #1: Type: text/plain, Size: 1001 bytes --]

Hi,

"Chris PeBenito (pebenito)" <pebenito@gentoo.org>:
> pebenito    08/01/29 15:12:57
> 
>   Modified:             ChangeLog
>   Added:                libselinux-1.34.14.ebuild
>   Log:
>   sys-apps/libselinux: new upstream bugfix release.
>   (Portage version: 2.1.4)

> 	cd ${S}

> 	cat ${FILESDIR}/compat.py >> ${S}/src/selinux.py || die

> pkg_postinst() {
> 	python_version
> 	python_mod_optimize
> ${ROOT}usr/lib/python${PYVER}/site-packages }
> 
> pkg_postrm() {
> 	python_version
> 	python_mod_cleanup ${ROOT}usr/lib/python${PYVER}/site-packages
> }

 Those need quoting, too.

> src_install() {
> 	python_version
> 	make DESTDIR="${D}" PYLIBVER="python${PYVER}" install
> install-pywrap || die }

 And the same question for emake.  If it is not possible, please add a
comment about that fact.

V-Li

-- 
Christian Faulhammer, Gentoo Lisp project
<URL:http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode

<URL:http://www.faulhammer.org/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-libs/libselinux: ChangeLog libselinux-1.34.14.ebuild
  2008-01-29 15:16 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-libs/libselinux: ChangeLog libselinux-1.34.14.ebuild Christian Faulhammer
@ 2008-01-30  1:38   ` Doug Klima
  0 siblings, 0 replies; 2+ messages in thread
From: Doug Klima @ 2008-01-30  1:38 UTC (permalink / raw
  To: gentoo-dev

Christian Faulhammer wrote:
> Hi,
> 
> "Chris PeBenito (pebenito)" <pebenito@gentoo.org>:
>> pebenito    08/01/29 15:12:57
>>
>>   Modified:             ChangeLog
>>   Added:                libselinux-1.34.14.ebuild
>>   Log:
>>   sys-apps/libselinux: new upstream bugfix release.
>>   (Portage version: 2.1.4)
>>
>> pkg_postrm() {
>> 	python_version
>> 	python_mod_cleanup ${ROOT}usr/lib/python${PYVER}/site-packages
>> }
> 

Per python.eclass, prefixing ${ROOT} to python_mod_cleanup is incorrect.

Donnie and I were going to look into making stuff like this a bit more 
consistent but haven't had a chance.


-- 
Doug Klima <cardoe@gentoo.org>
http://dev.gentoo.org/~cardoe/
-- 
gentoo-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-30  1:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1JJs8v-0000zr-D6@stork.gentoo.org>
2008-01-29 15:16 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-libs/libselinux: ChangeLog libselinux-1.34.14.ebuild Christian Faulhammer
2008-01-30  1:38   ` Doug Klima

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox