Bug 211279

Summary: [NEW PORT] archivers/py-lhafile: LHA(.lzh) file extract interface
Product: Ports & Packages Reporter: Carsten Larsen <cs>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me CC: koobs, python
Priority: --- Keywords: feature, needs-qa, patch
Version: Latest   
Hardware: Any   
OS: Any   
URL: http://fengestad.no/python-lhafile/
Attachments:
Description Flags
New port
none
Modified port cs: maintainer-approval+

Description Carsten Larsen 2016-07-21 21:17:01 UTC
Created attachment 172809 [details]
New port

The interface is like zipfile extension included in
regular python distribution.

WWW: http://fengestad.no/python-lhafile/


portlint:  looks fine.
Poudriere: ok
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2016-07-22 03:55:16 UTC
Given this package is not listed in PyPI, it should be called by its upstream name (py-python-lhafile). The interesting thing though is the use of DISTNAME=pylhafile-${PORTVERSION}. Is this the internal module name used by the package?
Comment 2 Carsten Larsen 2016-07-22 18:38:26 UTC
Created attachment 172847 [details]
Modified port

(In reply to Kubilay Kocak from comment #1)
As far as I can see the internal module name is just lhafile. Code example at the port homesite should be valid (I didn't try it yet).

New port source with:
* Changed portname to py-python-lhafile
* Changed mastersite to official instead of github
* Miscellaneous optimisations. Makefile is now only 22 lines.
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-09-06 17:53:58 UTC
A commit references this bug:

Author: amdmi3
Date: Tue Sep  6 17:53:31 UTC 2016
New revision: 421451
URL: https://svnweb.freebsd.org/changeset/ports/421451

Log:
  - Add archives/py-python-lhafile

  The interface is like zipfile extension included in regular
  python distribution.

  WWW: http://fengestad.no/python-lhafile/

  PR:		211279
  Submitted by:	cs@innolan.dk

Changes:
  head/archivers/Makefile
  head/archivers/py-python-lhafile/
  head/archivers/py-python-lhafile/Makefile
  head/archivers/py-python-lhafile/distinfo
  head/archivers/py-python-lhafile/pkg-descr