Bug 186866 - [patch] print/py-reportlab2 Update from 2.5 to 2.7
Summary: [patch] print/py-reportlab2 Update from 2.5 to 2.7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-18 14:00 UTC by Serhii (Sergey) Kozlov
Modified: 2014-06-16 16:07 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (3.52 KB, patch)
2014-02-18 14:00 UTC, Serhii (Sergey) Kozlov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Serhii (Sergey) Kozlov freebsd_committer freebsd_triage 2014-02-18 14:00:00 UTC
Updated port py-reportlab2 to 2.7

There is newer version of reportlab (3.0), but there is known migrating issues.
I'm working on making the py-reportlab3 port.

Changes:
- Add '2' as PKGNAMESUFFIX which makes many auto-generated variables usable without correction
- Change deprecated LICENSE
- Usage of Adobe CMaps is deprecated long ago (https://bitbucket.org/rptlab/reportlab/commits/9877f90e0ad9f04f61b454cee4c2e88a07b70e6b), remove it
- Freetype fonts are brought in by py-imaging, the FREETYPE option has no effect, remove it
- This version only supports python version from 2.5 to 2.7, define it in the port
- Use PYDISTUTILS_AUTOPLIST
- Stagify
- Change patch+reinplace+reinplace chain to one simple reinplace
- Whitespace allignment in BROKEN
- Doc generation script needs PYTHONPATH set because it uses reportlab, which is not yet installed
- Change from tab to space after 'WWW:' in pkg-descr

Please remove the 'files/patch-setup.py' file and the 'files' directory itself.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-18 14:00:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-18 14:00:09 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-18 14:00:09 UTC
Maintainer of print/py-reportlab2,

Please note that PR ports/186866 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/186866

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 4 buganini 2014-02-18 15:00:29 UTC
Would you like to maintain this port? Recently I am not able to test this.

Thanks.
Comment 5 Serhii (Sergey) Kozlov freebsd_committer freebsd_triage 2014-02-18 20:07:05 UTC
Sure, I would certainly like to, thanks.

About the patch: pkg-plist file have to be deleted too, due to use of AUTOPLIST

On Tue, Feb 18, 2014 at 5:00 PM, Buganini <buganini@gmail.com> wrote:
> Would you like to maintain this port? Recently I am not able to test this.
>
> Thanks.
Comment 6 buganini 2014-02-18 20:42:27 UTC
Then I hereby drop my maintainership, may the port be with you.

Thank you.

2014-02-19 4:07 GMT+08:00 Kozlov Sergey <kozlov.sergey.404@gmail.com>:
> Sure, I would certainly like to, thanks.
>
> About the patch: pkg-plist file have to be deleted too, due to use of AUTOPLIST
>
> On Tue, Feb 18, 2014 at 5:00 PM, Buganini <buganini@gmail.com> wrote:
>> Would you like to maintain this port? Recently I am not able to test this.
>>
>> Thanks.
Comment 7 commit-hook freebsd_committer freebsd_triage 2014-06-16 16:07:14 UTC
A commit references this bug:

Author: wg
Date: Mon Jun 16 16:06:27 UTC 2014
New revision: 358020
URL: http://svnweb.freebsd.org/changeset/ports/358020

Log:
  print/py-reportlab2: update to 2.7

  - Use PKGNAMESUFFIX to simplify changes
  - Change deprecated LICENSE
  - Adobe CMaps is deprecated long ago
    https://bitbucket.org/rptlab/reportlab/commits/9877f90e0ad9f04f61b454cee4c2e88a07b70e6b
  - Freetype fonts are brought in by py-imaging, the FREETYPE option has no effect
  - Limit it to python 2.x
  - Use PYDISTUTILS_AUTOPLIST
  - Stagify
  - Change patch+reinplace+reinplace chain to one simple reinplace
  - Change from tab to space after 'WWW:' in pkg-descr
  - Pass maintainership to submitter

  PR:             186866
  Submitted by:   kozlov.sergey.404 gmail com
  Approved by:    maintainer

Changes:
  head/print/py-reportlab2/Makefile
  head/print/py-reportlab2/distinfo
  head/print/py-reportlab2/files/
  head/print/py-reportlab2/pkg-descr