Bug 236714 - repoman traceback if dirname doesn't match the pkgname
Bug#: 236714 Product:  Portage Development Version: 2.2 Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: dev-portage@gentoo.org Reported By: darkside@gentoo.org
Component: Repoman
URL: 
Summary: repoman traceback if dirname doesn't match the pkgname
Keywords:  InSVN
Status Whiteboard: 
Opened: 2008-09-04 15:53 0000
Description:   Opened: 2008-09-04 15:53 0000
Reporting this in case you want to fix it, tbh I am not sure if it is worth
fixing but you may want a nicer message than a traceback.

Using _rc8:
%% repoman manifest

Invalid ebuild name:
/usr/portage/local/net-misc/gtk2-ssh-askpass/ssh-askpass-fullscreen-0.4.ebuild
>>> Creating Manifest for /usr/portage/local/net-misc/gtk2-ssh-askpass
Traceback (most recent call last):
  File "/usr/bin/repoman", line 779, in <module>
    if not portage.digestgen([], repoman_settings, myportdb=portdb):
  File "/usr/lib64/portage/pym/portage/__init__.py", line 4169, in digestgen
    "assume-digests" in mysettings.features))
  File "/usr/lib64/portage/pym/portage/manifest.py", line 309, in create
    "match directory name: '%s'" % cpv)
portage.exception.PortagePackageException: Package name does not match
directory name: 'net-misc/ssh-askpass-fullscreen-0.4'

------- Comment #1 From Zac Medico 2008-11-15 05:10:32 0000 -------
This is fixed in svn r11926.

------- Comment #2 From Zac Medico 2008-11-22 05:52:38 0000 -------
This is fixed in 2.2_rc15.