Bug 155433 - [PATCH] print/system-config-printer: Leaves .pyo files upon deinstall
Summary: [PATCH] print/system-config-printer: Leaves .pyo files upon deinstall
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 13:40 UTC by Jason E. Hale
Modified: 2011-03-14 21:40 UTC (History)
1 user (show)

See Also:


Attachments
2011-03-10-system-config-printer.diff (2.50 KB, patch)
2011-03-10 13:40 UTC, Jason E. Hale
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason E. Hale 2011-03-10 13:40:10 UTC
print/system-config-printer leaves Python ".pyo" files upon deinstall.  They
are not installed when the port is built, but they get generated when the 
module is used.

I have patched the port to install the .pyo files when the port is built so
that they can be included in the pkg-plist.

Also, remove .egg-info file from the pkg-plist and deal with it in the Makefile.

While here, remove MD5.

How-To-Repeat: Use attached diff.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-03-10 13:40:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jeremy Messenger freebsd_committer freebsd_triage 2011-03-14 21:34:13 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-03-14 21:34:20 UTC
mezz        2011-03-14 21:34:06 UTC

  FreeBSD ports repository

  Modified files:
    print/system-config-printer Makefile distinfo pkg-plist 
  Log:
  - Generate the *.pyo files and add in the plist, so that the *.pyo files won't
    be leftover after the runtime or somehow got generated.
  - Remove the .egg-info from plist and use correct way, INSTALLS_EGGINFO.
  - Remove MD5.
  - Bump the PORTREVISION.
  
  PR:             ports/155433
  Submitted by:   Jason E. Hale <bsdkaffee@gmail.com>
  
  Revision  Changes    Path
  1.22      +7 -1      ports/print/system-config-printer/Makefile
  1.12      +0 -1      ports/print/system-config-printer/distinfo
  1.14      +4 -1      ports/print/system-config-printer/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"