Bug 234898

Summary: misc/py-tqdm: Update to 4.29.1
Product: Ports & Packages Reporter: Neel Chauhan <neel>
Component: Individual Port(s)Assignee: Sunpoet Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Many People CC: neel
Priority: --- Flags: neel: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch (Revision 1) neel: maintainer-approval+

Description Neel Chauhan 2019-01-12 15:47:22 UTC
Created attachment 201064 [details]
Patch (Revision 1)

Builds on FreeBSD 11.2 amd64.
Comment 1 Sunpoet Po-Chuan Hsieh freebsd_committer 2019-01-12 16:22:38 UTC
CHEESESHOP is the preferred MASTER_SITES for python ports.
Since the upstream provides the tarball at [1], it would be better to update MASTER_SITES as well.

Here's the proposed patch:

Index: Makefile
===================================================================
--- Makefile    (revision 490062)
+++ Makefile    (working copy)
@@ -1,9 +1,9 @@
 # $FreeBSD$

 PORTNAME=      tqdm
-DISTVERSIONPREFIX=     v
-DISTVERSION=   4.29.0
+DISTVERSION=   4.29.1
 CATEGORIES=    misc
+MASTER_SITES=  CHEESESHOP
 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

 MAINTAINER=    neel@neelc.org
@@ -14,8 +14,8 @@
 LICENSE_FILE_MIT=      ${WRKSRC}/LICENCE

 USES=          python
-USE_GITHUB=    yes
 USE_PYTHON=    distutils autoplist concurrent
+
 NO_ARCH=       yes

 .include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo    (revision 490062)
+++ distinfo    (working copy)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1546881296
-SHA256 (tqdm-tqdm-v4.29.0_GH0.tar.gz) = b1749dc5d78d3db841885104949c95d7705b97c4347a75bdb6ee82633da4b89a
-SIZE (tqdm-tqdm-v4.29.0_GH0.tar.gz) = 79720
+TIMESTAMP = 1547309536
+SHA256 (tqdm-4.29.1.tar.gz) = b856be5cb6cfaee3b2733655c7c5bbc7751291bb5d1a4f54f020af4727570b3e
+SIZE (tqdm-4.29.1.tar.gz) = 103495

[1] https://pypi.org/project/tqdm/#files
Comment 2 Neel Chauhan 2019-01-12 16:28:32 UTC
I'm fine with your proposed patch. Go ahead with it.
Comment 3 commit-hook freebsd_committer 2019-01-12 16:36:21 UTC
A commit references this bug:

Author: sunpoet
Date: Sat Jan 12 16:36:17 UTC 2019
New revision: 490063
URL: https://svnweb.freebsd.org/changeset/ports/490063

Log:
  Update to 4.29.1

  - Change MASTER_SITES from GitHub to CHEESESHOP

  Changes:	https://github.com/tqdm/tqdm/releases
  PR:		234898
  Submitted by:	Neel Chauhan <neel@neelc.org> (maintainer)

Changes:
  head/misc/py-tqdm/Makefile
  head/misc/py-tqdm/distinfo
Comment 4 Sunpoet Po-Chuan Hsieh freebsd_committer 2019-01-12 16:36:50 UTC
Committed. Thanks!