Bug 217468 - textproc/py-pygments: Create py3- variant
Summary: textproc/py-pygments: 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: Nicola Vitale
URL:
Keywords:
Depends on:
Blocks: 217469
  Show dependency treegraph
 
Reported: 2017-03-01 22:34 UTC by Danilo G. Baio
Modified: 2017-04-16 13:54 UTC (History)
1 user (show)

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


Attachments
py-pygments-py3.patch (1.05 KB, patch)
2017-03-01 22:34 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:34:49 UTC
Created attachment 180407 [details]
py-pygments-py3.patch

- Create python3 version of textproc/py-pygments

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-pygments): OK (looks fine.)

testport (textproc/py-pygments and textproc/py3-pygments):
   poudriere i386|amd64 10.3 p17     (OK)
   poudriere i386|amd64 11   p8      (OK)
   poudriere i386|amd64 12   r314365 (OK)
Comment 1 Olivier Duchateau freebsd_committer freebsd_triage 2017-03-03 09:18:38 UTC
Danilo, are you tested your patch with the latest release 2.2.0?
Comment 2 Danilo G. Baio freebsd_committer freebsd_triage 2017-03-03 11:22:02 UTC
(In reply to Olivier Duchateau from comment #1)

I did not, but looking at gitsome requirements[1] it is said that works.

In any case I will test it to make sure.

[1] - https://github.com/donnemartin/gitsome/blob/master/setup.py#L109
Comment 3 Danilo G. Baio freebsd_committer freebsd_triage 2017-03-04 02:53:34 UTC
I've tested gitsome with pygments 2.2.0 and it worked fine.
Comment 4 Danilo G. Baio freebsd_committer freebsd_triage 2017-04-14 22:57:09 UTC
Hi Nicola.

Could you take a look on this, please ?

Regards.
Comment 5 commit-hook freebsd_committer freebsd_triage 2017-04-16 13:46:12 UTC
A commit references this bug:

Author: nivit
Date: Sun Apr 16 13:45:28 UTC 2017
New revision: 438661
URL: https://svnweb.freebsd.org/changeset/ports/438661

Log:
  Add slave port of devel/py-pygments to support
  Python 3 version

  PR:	217468
  Submitted by:	Danilo G. Baio <dbaio@bsd.com.br>

Changes:
  head/textproc/Makefile
  head/textproc/py3-pygments/
  head/textproc/py3-pygments/Makefile
Comment 6 Nicola Vitale freebsd_committer freebsd_triage 2017-04-16 13:54:45 UTC
Committed, thank you.