Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428304 - net-wireless/ubertooth uses Description from subversion.eclass
Summary: net-wireless/ubertooth uses Description from subversion.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-27 13:11 UTC by Manuel Rüger (RETIRED)
Modified: 2012-07-29 03:45 UTC (History)
1 user (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 Manuel Rüger (RETIRED) gentoo-dev 2012-07-27 13:11:38 UTC
eix ubertooth results in:

* net-wireless/ubertooth
     Available versions:  ~0.0_p534 **9999 {{+dfu +specan ubertooth0-firmware +ubertooth1-firmware}}
     Homepage:            http://ubertooth.sourceforge.net/
     Description:         Based on the subversion eclass


DESCRIPTION field comes from subversion eclass, cause it overwrites the original description. Please set DESCRIPTION in ebuild after checking for the live-ebuild.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-07-28 23:19:14 UTC
Maybe eix gets it wrong - both ebuilds in that directory have DESCRIPTION set properly, and both seem to have had it since their initial commit.

$ ebuildvar DESCRIPTION
ubertooth-0.0_p534.ebuild : EAPI=4
ubertooth-0.0_p534.ebuild : DESCRIPTION="
ubertooth-0.0_p534.ebuild :     An open source wireless development platform suitable for Bluetooth experimentation
ubertooth-0.0_p534.ebuild : "
    ubertooth-9999.ebuild : EAPI=4
    ubertooth-9999.ebuild : INHERIT subversion eutils multilib toolchain-funcs user
    ubertooth-9999.ebuild : DESCRIPTION="
    ubertooth-9999.ebuild :     An open source wireless development platform suitable for Bluetooth experimentation
    ubertooth-9999.ebuild : "
Comment 2 Manuel Rüger (RETIRED) gentoo-dev 2012-07-28 23:40:09 UTC
normally you inherit eclasses before setting description. 

This is how it is done in the ebuild:

DESCRIPTION="An open source wireless development platform suitable for Bluetooth experimentation"

[...]

if [[ ${PV} == "9999" ]] ; then
	ESVN_REPO_URI="https://ubertooth.svn.sourceforge.net/svnroot/ubertooth/trunk/"
	SRC_URI=""
	inherit subversion
[...]


and here "inherit subversion" overwrites the original description
Comment 3 Manuel Rüger (RETIRED) gentoo-dev 2012-07-28 23:42:28 UTC
Imho no eix problem:


emerge -S ubertooth 

*  net-wireless/ubertooth [ Masked ]
      Latest version available: 9999
      Latest version installed: [ Not Installed ]
      Size of files: 0 kB
      Homepage:      http://ubertooth.sourceforge.net/
      Description:   Based on the subversion eclass
      License:       GPL-2
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2012-07-29 01:28:06 UTC
Having subversion.eclass reset the description is completely useless and imho the bug is not mine.  I have made my ebuilds uglier to support this, but please don't mistake that for me thinking this is "correct".


+  29 Jul 2012; Rick Farina <zerochaos@gentoo.org> ubertooth-0.0_p534.ebuild,
+  ubertooth-9999.ebuild:
+  resolve DESCRIPTION issue wrt bug #428304
Comment 5 Akinori Hattori gentoo-dev 2012-07-29 03:37:54 UTC
OK. DESCRIPTION variable was removed from subversion.eclass.
Comment 6 Rick Farina (Zero_Chaos) gentoo-dev 2012-07-29 03:45:45 UTC
(In reply to comment #5)
> OK. DESCRIPTION variable was removed from subversion.eclass.

You sir, are awesome. Thank you.