Bug 219278 - devel/py-extras: Fix Python 3.x packaging
Summary: devel/py-extras: Fix Python 3.x packaging
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: Kubilay Kocak
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2017-05-14 16:14 UTC by Johannes Jost Meixner
Modified: 2017-08-20 07:41 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (cs)
koobs: merge-quarterly+


Attachments
py-extras should work with python 3.x (1.09 KB, patch)
2017-05-14 16:14 UTC, Johannes Jost Meixner
koobs: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Jost Meixner freebsd_committer freebsd_triage 2017-05-14 16:14:11 UTC
Created attachment 182595 [details]
py-extras should work with python 3.x

Python 3.x changes the location of the compiled python objects - pyc and pyo - and hence the pkg-plist supplied with devel/py-extras is incorrect and makes `make package` (and make install, for that matter) error out.

Replace pkg-plist with autoplist to circumvent this issue. Also, for good measure, bump PORTREVISION (though this is probably unnecessary).
Comment 1 Johannes Jost Meixner freebsd_committer freebsd_triage 2017-07-28 04:19:48 UTC
Throw back into bugs pool (maintainer timeout)
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-08-20 03:13:00 UTC
A commit references this bug:

Author: koobs
Date: Sun Aug 20 03:12:20 UTC 2017
New revision: 448354
URL: https://svnweb.freebsd.org/changeset/ports/448354

Log:
  devel/py-extras: Fix Python 3.x packaging

  Python 3.x changes the location of the compiled python objects - pyc and pyo.
  The pkg-plist supplied with devel/py-extras doe not account for this, so
  packaging with Python 3 fails.

  This change replaces pkg-plist with autoplist to correct the issue [1]

  While I'm here:

  - Add TEST_DEPENDS and test target
  - Mark architecture independence
  - Add LICENSE_FILE

  PR:		219278
  Submitted by:	Johannes Jost Meixner [1]
  Approved by:	portmgr (blanket)
  MFH:		2017Q3

Changes:
  head/devel/py-extras/Makefile
  head/devel/py-extras/pkg-plist
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-08-20 03:17:05 UTC
A commit references this bug:

Author: koobs
Date: Sun Aug 20 03:16:18 UTC 2017
New revision: 448355
URL: https://svnweb.freebsd.org/changeset/ports/448355

Log:
  MFH: r448354

  devel/py-extras: Fix Python 3.x packaging

  Python 3.x changes the location of the compiled python objects - pyc and pyo.
  The pkg-plist supplied with devel/py-extras doe not account for this, so
  packaging with Python 3 fails.

  This change replaces pkg-plist with autoplist to correct the issue [1]

  While I'm here:

  - Add TEST_DEPENDS and test target
  - Mark architecture independence
  - Add LICENSE_FILE

  PR:		219278
  Submitted by:	Johannes Jost Meixner [1]
  Approved by:	portmgr (blanket)

  Approved by:	ports-secteam (blanket)

Changes:
_U  branches/2017Q3/
  branches/2017Q3/devel/py-extras/Makefile
  branches/2017Q3/devel/py-extras/pkg-plist
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2017-08-20 07:41:12 UTC
Comment on attachment 182595 [details]
py-extras should work with python 3.x

Correctly mark approval...

Approved by: portmgr (blanket)
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2017-08-20 07:41:32 UTC
Committed and merged, with changes. Thank you for your contribution Johannes