Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
howto mask more atoms on one line
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
DeIM
Guru
Guru


Joined: 11 Apr 2006
Posts: 453

PostPosted: Mon Nov 23, 2015 3:04 pm    Post subject: howto mask more atoms on one line Reply with quote

Hi, I'd like to mask more atoms on one line - is it possible?
something like:
Code:
>=dev-texlive/texlive-*-2015
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Mon Nov 23, 2015 5:09 pm    Post subject: Re: howto mask more atoms on one line Reply with quote

DeIM wrote:
Hi, I'd like to mask more atoms on one line - is it possible? something like:
Code:
>=dev-texlive/texlive-*-2015

DeIM ... as I remember you can't '>' a wildcard ... so you'd probably need something the the following:

/etc/portage/package.mask:
=app-text/texlive*-*2015*
=dev-texlive/texlive*-*2015*

HTH & best ... khay
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9631
Location: beyond the rim

PostPosted: Tue Nov 24, 2015 1:31 pm    Post subject: Re: howto mask more atoms on one line Reply with quote

khayyam wrote:
DeIM wrote:
Hi, I'd like to mask more atoms on one line - is it possible? something like:
Code:
>=dev-texlive/texlive-*-2015

DeIM ... as I remember you can't '>' a wildcard ...


Correct. Relational operators like >= or <= need a fixed baseline to operate on. A wildcard by definition is not a fixed baseline.
Back to top
View user's profile Send private message
DeIM
Guru
Guru


Joined: 11 Apr 2006
Posts: 453

PostPosted: Thu Apr 07, 2016 7:47 am    Post subject: Reply with quote

All these gives me error while emerge:
Code:
--- Invalid atom in /etc/portage/package.accept_keywords: =dev-texlive/texlive-*-2015*
--- Invalid atom in /etc/portage/package.accept_keywords: =dev-text/texlive*-2015*
--- Invalid atom in /etc/portage/package.accept_keywords: =app-text/texlive*-2015*
--- Invalid atom in /etc/portage/package.accept_keywords: =app-text/texlive-*-2015*

Code:
--- Invalid atom in /etc/portage/package.accept_keywords: =dev-texlive/texlive*-2015*
--- Invalid atom in /etc/portage/package.accept_keywords: =dev-texlive/texlive-*-2015*
--- Invalid atom in /etc/portage/package.accept_keywords: =app-text/texlive*-2015*
--- Invalid atom in /etc/portage/package.accept_keywords: =app-text/texlive-*-2015*

Code:
--- Invalid atom in /etc/portage/package.accept_keywords: =app-text/texlive*-2015
--- Invalid atom in /etc/portage/package.accept_keywords: =dev-texlive/texlive-*-2015
--- Invalid atom in /etc/portage/package.accept_keywords: =app-text/texlive-*-2015
--- Invalid atom in /etc/portage/package.accept_keywords: =dev-texlive/texlive*-2015

Code:
--- Invalid atom in /etc/portage/package.accept_keywords: =app-text/texlive*-*2015
--- Invalid atom in /etc/portage/package.accept_keywords: =app-text/texlive-*-*2015
--- Invalid atom in /etc/portage/package.accept_keywords: =dev-texlive/texlive*-*2015
--- Invalid atom in /etc/portage/package.accept_keywords: =dev-texlive/texlive-*-*2015
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Thu Apr 07, 2016 9:20 am    Post subject: Reply with quote

DeIM wrote:
All these gives me error while emerge:

DeIM ... again, the syntax would be:

Code:
=app-text/texlive*-*2015*
=dev-texlive/texlive*-*2015*

best ... khay
Back to top
View user's profile Send private message
DeIM
Guru
Guru


Joined: 11 Apr 2006
Posts: 453

PostPosted: Thu Apr 07, 2016 9:26 am    Post subject: Reply with quote

Ah thanks, my bad :oops:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum