Bug 211703 - www/py-praw: Update to 3.5.0
Summary: www/py-praw: Update to 3.5.0
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: easy, patch
Depends on:
Blocks: 213149
  Show dependency treegraph
 
Reported: 2016-08-09 19:07 UTC by Tilman Keskinoz
Modified: 2016-10-20 01:39 UTC (History)
2 users (show)

See Also:
koobs: maintainer-feedback+


Attachments
Update to version 3.5.0 (793 bytes, patch)
2016-08-09 19:07 UTC, Tilman Keskinoz
no flags Details | Diff
py-praw-3.5.0.patch (1.34 KB, patch)
2016-10-01 23:59 UTC, Danilo G. Baio
koobs: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tilman Keskinoz freebsd_committer freebsd_triage 2016-08-09 19:07:17 UTC
Created attachment 173471 [details]
Update to version 3.5.0

Update is required by www/rtv
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2016-08-10 09:50:40 UTC
Thanks Tilman.

The change is approved (to commit) if you're satisfied it passes QA (make test, poudriere, portlint). Please re-assign to yourself at any time
Comment 2 Danilo G. Baio freebsd_committer freebsd_triage 2016-10-01 23:59:15 UTC
Created attachment 175350 [details]
py-praw-3.5.0.patch


- Update to 3.5.0
- Configure PORTSCOUT: 
  New releases >=4.0.X are PRAW4, a complete rewrite of PRAW.
- Set architecture neutral
- Move WWW (pkg-descr) to .io domain

Changelog:

3.5.0 (2016-05-10)
------------------
* **[BUGFIX]** Prevent built-in method `dir` from causing 
  RedditContentObjects to perform web requests in Python 2.
* **[FEATURE]** Added support for thread locking. See
  :meth:`~praw.objects.Submission.lock` and
  :meth:`~praw.objects.Submission.unlock`.
* **[FEATURE]** Added support for comment stickying. Try
  :meth:`~praw.objects.Comment.distinguish` with new parameter `sticky`.
* **[FEATURE]** Methods :meth:`~praw.__init__.ReportMixin.hide` and
  :meth:`~praw.__init__.UnauthenticatedReddit.get_info` now support long
  lists of fullnames. They will divide the list up into small, requestable
  chunks automatically.


portlint: OK (looks fine.)
testport: python 2.7 and 3.4
	poudriere: i386,  9.3   (OK)
	poudriere: amd64, 9.3   (OK)
	poudriere: i386,  10.3  (OK)
	poudriere: amd64, 10.3  (OK)
	poudriere: i386,  12    (OK)
	poudriere: amd64, 12    (OK)

====> Running Q/A tests (stage-qa)
Warning: Bad symlink '/usr/local/bin/praw-multiprocess' 
pointing to an absolute pathname '/usr/local/bin/praw-multiprocess-2.7'

This warning is related with USE_PYTHON= concurrent
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2016-10-20 01:03:01 UTC
@Danilo I'm happy to leave praw at 3.x for now, but given praw 4.x has been released to the same underlying PyPI package (and not a new praw4 package or similar), I believe it's more prudent to continue this port through to the 4.x release.
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2016-10-20 01:27:57 UTC
It would also be nice to isolate why some tests still fail and report/fix them upstream
Comment 5 commit-hook freebsd_committer freebsd_triage 2016-10-20 01:37:52 UTC
A commit references this bug:

Author: koobs
Date: Thu Oct 20 01:37:31 UTC 2016
New revision: 424300
URL: https://svnweb.freebsd.org/changeset/ports/424300

Log:
  www/py-praw: Update to 3.5.0

  - Update PORTVERSION and distinfo checksum (3.5.0)
  - Set architecture neutral
  - Update pkg-descr WWW URL to .io domain (and use https://)

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

Changes:
  head/www/py-praw/Makefile
  head/www/py-praw/distinfo
  head/www/py-praw/pkg-descr
Comment 6 Kubilay Kocak freebsd_committer freebsd_triage 2016-10-20 01:39:23 UTC
Committed with minor (portscout removal, https WWW url) changes, thank you Danilo!