Re: [gentoo-dev] Last standing Python 2.7 dependency

2020-05-03 Thread Brian Dolbec
On Sun, 3 May 2020 08:37:27 -0400
Brian Evans  wrote:

> On 5/3/20 2:58 AM, Fabian Groffen wrote:
> > On 02-05-2020 23:24:42 -0700, Brian Dolbec wrote:  
> >> On Sun, 3 May 2020 07:28:50 +0200
> >> Viktar Patotski  wrote:
> >>  
> >>> Hi all,
> >>>
> >>> I'd also like to clean my system and have it Python 2.7 free. Are
> >>> there any guidelines to check which packages are still using
> >>> pyton2_7 in my system?
> >>>
> >>> Thanks,
> >>> Viktar
> >>>  
> >>
> >> There are both equery and enalyze commands in gentoolkit that can
> >> give you reports about what pkgs are installed.
> >>
> >> equery hasuse
> >> enalyze analyze [use|pkguse]
> >>
> >> for help on them:
> >> equery -h
> >> equery hasuse -h
> >> enalyze -h
> >> enalyze a -h  
> > 
> > In addition to these great tools, portage-utils' quse might also be
> > useful:
> > 
> > % quse python2_7
> > ...
> > 
> > 
> > Thanks,
> > Fabian
> >   
> 
> All of the mentioned tools will show if packages have the flag but not
> necessarily have it active.

Not True:  

enalyze does strictly installed pkgs analysis, plus has the
ability to rebuild package.accept_keywords and package.use files after
profile changes or disaster (file loss, etc) 




> 
> eix has an option to search the active flag:
> 
> eix --installed-with-use 
> 
> However, this still skips build-time dependencies that may keep python
> 2.7 around.
> 
> The most accurate way to see what's tied to python 2.7 is to pretend
> to remove it:
> emerge -pvc dev-lang/python:2.7
> 
> Brian
> 




Re: [gentoo-dev] Last standing Python 2.7 dependency

2020-05-03 Thread Brian Evans
On 5/3/20 2:58 AM, Fabian Groffen wrote:
> On 02-05-2020 23:24:42 -0700, Brian Dolbec wrote:
>> On Sun, 3 May 2020 07:28:50 +0200
>> Viktar Patotski  wrote:
>>
>>> Hi all,
>>>
>>> I'd also like to clean my system and have it Python 2.7 free. Are
>>> there any guidelines to check which packages are still using pyton2_7
>>> in my system?
>>>
>>> Thanks,
>>> Viktar
>>>
>>
>> There are both equery and enalyze commands in gentoolkit that can give
>> you reports about what pkgs are installed.
>>
>> equery hasuse
>> enalyze analyze [use|pkguse]
>>
>> for help on them:
>> equery -h
>> equery hasuse -h
>> enalyze -h
>> enalyze a -h
> 
> In addition to these great tools, portage-utils' quse might also be
> useful:
> 
> % quse python2_7
> ...
> 
> 
> Thanks,
> Fabian
> 

All of the mentioned tools will show if packages have the flag but not
necessarily have it active.

eix has an option to search the active flag:

eix --installed-with-use 

However, this still skips build-time dependencies that may keep python
2.7 around.

The most accurate way to see what's tied to python 2.7 is to pretend to
remove it:
emerge -pvc dev-lang/python:2.7

Brian



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] Last standing Python 2.7 dependency

2020-05-02 Thread Fabian Groffen
On 02-05-2020 23:24:42 -0700, Brian Dolbec wrote:
> On Sun, 3 May 2020 07:28:50 +0200
> Viktar Patotski  wrote:
> 
> > Hi all,
> > 
> > I'd also like to clean my system and have it Python 2.7 free. Are
> > there any guidelines to check which packages are still using pyton2_7
> > in my system?
> > 
> > Thanks,
> > Viktar
> > 
> 
> There are both equery and enalyze commands in gentoolkit that can give
> you reports about what pkgs are installed.
> 
> equery hasuse
> enalyze analyze [use|pkguse]
> 
> for help on them:
> equery -h
> equery hasuse -h
> enalyze -h
> enalyze a -h

In addition to these great tools, portage-utils' quse might also be
useful:

% quse python2_7
...


Thanks,
Fabian

-- 
Fabian Groffen
Gentoo on a different level


signature.asc
Description: PGP signature


Re: [gentoo-dev] Last standing Python 2.7 dependency

2020-05-02 Thread Brian Dolbec
On Sun, 3 May 2020 07:28:50 +0200
Viktar Patotski  wrote:

> Hi all,
> 
> I'd also like to clean my system and have it Python 2.7 free. Are
> there any guidelines to check which packages are still using pyton2_7
> in my system?
> 
> Thanks,
> Viktar
> 

There are both equery and enalyze commands in gentoolkit that can give
you reports about what pkgs are installed.

equery hasuse
enalyze analyze [use|pkguse]

for help on them:
equery -h
equery hasuse -h
enalyze -h
enalyze a -h



Re: [gentoo-dev] Last standing Python 2.7 dependency

2020-05-02 Thread Viktar Patotski
Hi all,

I'd also like to clean my system and have it Python 2.7 free. Are there any
guidelines to check which packages are still using pyton2_7 in my system?

Thanks,
Viktar

On Fri, May 1, 2020 at 7:50 PM Michał Górny  wrote:

> On Fri, 2020-05-01 at 14:45 -0300, José de Paula Rodrigues wrote:
> > Hi all,
> >
> > I've cleared my system from Python 2.7 almost entirely, with the sole
> > exception being dev-lang/python-exec, which relies on a hack to absorb
> all
> > possible Python versions in python-utils-r1.eclass. Shouldn't python2_7
> be
> > removed from _PYTHON_ALL_IMPLS there?
> >
>
> python-exec does not depend on the Python interpreter, so you can
> depclean it.
>
> --
> Best regards,
> Michał Górny
>
>


Re: [gentoo-dev] Last standing Python 2.7 dependency

2020-05-01 Thread Michał Górny
On Fri, 2020-05-01 at 14:45 -0300, José de Paula Rodrigues wrote:
> Hi all,
> 
> I've cleared my system from Python 2.7 almost entirely, with the sole
> exception being dev-lang/python-exec, which relies on a hack to absorb all
> possible Python versions in python-utils-r1.eclass. Shouldn't python2_7 be
> removed from _PYTHON_ALL_IMPLS there?
> 

python-exec does not depend on the Python interpreter, so you can
depclean it.

-- 
Best regards,
Michał Górny



signature.asc
Description: This is a digitally signed message part


[gentoo-dev] Last standing Python 2.7 dependency

2020-05-01 Thread José de Paula Rodrigues
Hi all,

I've cleared my system from Python 2.7 almost entirely, with the sole
exception being dev-lang/python-exec, which relies on a hack to absorb all
possible Python versions in python-utils-r1.eclass. Shouldn't python2_7 be
removed from _PYTHON_ALL_IMPLS there?

-- 
... et cognoscetis veritatem et veritas liberabit vos.