Bug 211279 - [NEW PORT] archivers/py-lhafile: LHA(.lzh) file extract interface
Summary: [NEW PORT] archivers/py-lhafile: LHA(.lzh) file extract interface
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL: http://fengestad.no/python-lhafile/
Keywords: feature, needs-qa, patch
Depends on:
Blocks:
 
Reported: 2016-07-21 21:17 UTC by Carsten Larsen
Modified: 2016-09-06 17:53 UTC (History)
2 users (show)

See Also:


Attachments
New port (1.70 KB, application/x-shar)
2016-07-21 21:17 UTC, Carsten Larsen
no flags Details
Modified port (1.68 KB, application/x-shar)
2016-07-22 18:38 UTC, Carsten Larsen
cs: maintainer-approval+
Details

Note You need to log in before you can comment on or make changes to this bug.
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 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