Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134705 - Invalid Syntax in media-plugins/mythweather-0.18.1.ebuild
Summary: Invalid Syntax in media-plugins/mythweather-0.18.1.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-28 16:51 UTC by Alec Warner (RETIRED)
Modified: 2006-05-28 23:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Warner (RETIRED) archtester gentoo-dev Security 2006-05-28 16:51:15 UTC
media-plugins/mythweather-0.18.1: attr(depends)
  error: atom '~media-tv/mythtv-0.18.1*' is malformed: error range operators on a range are nonsencial, drop the globbing or use =cat/pkg* or !=cat/pkg*, not ~

As noted above, either glob or use =, but not ~ or </>
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2006-05-28 22:43:17 UTC
Your entire report was non-sensical.. Explain what half of this means...

All the MythTV 0.18.1 plugins are gone from the tree... but soon there will be new stuff in the tree.

where XXXX < YYYY and AAAA < BBBB

media-tv/mythtv-0.20
media-tv/mythtv-0.20-r1
media-tv/mythtv-0.20_pXXXX
media-tv/mythtv-0.20.1_preYYYY

media-plugins/mythweather-0.20
media-plugins/mythweather-0.20_pAAAA
media-plugins/mythweather-0.20.1_preBBBB

Gimme a DEPEND that will properly have ALL the mythweathers work with ALL the mythtv's. I've asked #-portage for this several times in the past. I've even asked Brian recently and all I get is a shrug... I'd love to have a correct DEPEND...
Comment 2 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-05-28 23:25:34 UTC
(In reply to comment #1)
> Your entire report was non-sensical.. Explain what half of this means...
> 
What it means is that ~ATOM* doesn't work.  Portage can't glob and expand ~ at the same time.

> All the MythTV 0.18.1 plugins are gone from the tree... but soon there will be
> new stuff in the tree.
> 
> where XXXX < YYYY and AAAA < BBBB
> 
> media-tv/mythtv-0.20
> media-tv/mythtv-0.20-r1
> media-tv/mythtv-0.20_pXXXX
> media-tv/mythtv-0.20.1_preYYYY
> 
> media-plugins/mythweather-0.20
> media-plugins/mythweather-0.20_pAAAA
> media-plugins/mythweather-0.20.1_preBBBB
> 
> Gimme a DEPEND that will properly have ALL the mythweathers work with ALL the
> mythtv's. I've asked #-portage for this several times in the past. I've even
> asked Brian recently and all I get is a shrug... I'd love to have a correct
> DEPEND...
> 

I asked in -dev about this, as I was unsure as to the proper solution

=media-tv/mythtv-${PV}* should match what you are looking for.

the * will glob onto revisions as well as major versions, thus negating the need for ~ at all.  Looking at the manpage for ebuild I see this is a bit ambigious, so I may go straighten them a bit.
Comment 3 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-05-28 23:28:29 UTC
Also, thanks for fixing.