Bug 217475 - textproc/py-sphinx: Create py3- variant
Summary: textproc/py-sphinx: Create py3- variant
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: Kris Moore
URL:
Keywords:
Depends on: 217467 217469 217470 217471 217472 217473
Blocks: 217483
  Show dependency treegraph
 
Reported: 2017-03-01 22:51 UTC by Danilo G. Baio
Modified: 2017-06-08 14:12 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (kmoore)


Attachments
py-sphinx-py3.patch (2.63 KB, patch)
2017-03-01 22:51 UTC, Danilo G. Baio
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Danilo G. Baio freebsd_committer freebsd_triage 2017-03-01 22:51:02 UTC
Created attachment 180414 [details]
py-sphinx-py3.patch

- Create python3 version of textproc/py-sphinx

This new port is required to fulfill the Python 3+ dependencies to the new port gitsome.

I didn't include an entry in textproc/Makefile for it not get conflicted with the other patches.

[Q/A]

portlint (textproc/py-sphinx):
WARN: Makefile: [11]: possible direct use of command "python" found. use ${PYTHON_CMD} instead.
WARN: /usr/home/dbaio/FreeBSD/ports/textproc/py-sphinx/distinfo: [1]: TIMESTAMP is over 30 days old
0 fatal errors and 2 warnings found.

testport (textproc/py-sphinx):
   poudriere i386|amd64 10.3 p17     (OK)
   poudriere i386|amd64 11   p8      (OK)
   poudriere i386|amd64 12   r314365 (OK)

testport (textproc/py3-sphinx):
   poudriere i386|amd64 10.3 p17     (Failed. See bug 217447)
   poudriere i386|amd64 11   p8      (Failed. See bug 217447)
   poudriere i386|amd64 12   r314365 (Failed. See bug 217447)

This error is not preventing py3-sphinx of being built on a bulk
of poudriere, that's why I did not set bug 217447 as a dependency.
Comment 1 Ben Woods freebsd_committer freebsd_triage 2017-06-08 14:12:04 UTC
Committed - thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-06-08 14:12:46 UTC
A commit references this bug:

Author: woodsb02
Date: Thu Jun  8 14:11:44 UTC 2017
New revision: 442935
URL: https://svnweb.freebsd.org/changeset/ports/442935

Log:
  [NEW] textproc/py3-sphinx: Create Python 3.x version of this port

  Also make the following changes for the master textproc/py-sphinx port:
   - Remove post-build introduced when port was updated to version 1.2 in
     r336515, but is no longer required after version 1.2.1 [1].
   - Include upstream patch which fixes the bundling of grammar files [2]

  [1] https://github.com/sphinx-doc/sphinx/blob/1.2.1/CHANGES#L51-L53
  [2] https://github.com/sphinx-doc/sphinx/commit/b03b7e543f5e135d046d2fe407def219336c12b2

  PR:		217475
  PR:		217447
  PR:		219833
  Submitted by:	dbaio
  Approved by:	kmoore (maintainer timeout)

Changes:
  head/textproc/Makefile
  head/textproc/py-sphinx/Makefile
  head/textproc/py-sphinx/files/
  head/textproc/py-sphinx/files/patch-b03b7e543f5e135d046d2fe407def219336c12b2
  head/textproc/py3-sphinx/
  head/textproc/py3-sphinx/Makefile