Bug 205783 - [NEW PORT] misc/py-tqdm: A fast, extensible progress bar for Python
Summary: [NEW PORT] misc/py-tqdm: A fast, extensible progress bar for Python
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Martin Wilke
URL:
Keywords: easy, feature, needs-patch, patch
Depends on:
Blocks:
 
Reported: 2016-01-01 16:01 UTC by Neel Chauhan
Modified: 2016-01-10 06:16 UTC (History)
2 users (show)

See Also:


Attachments
shar file for misc/tqdm (1.26 KB, text/plain)
2016-01-01 16:01 UTC, Neel Chauhan
no flags Details
Poudriere build log for misc/tqdm on FreeBSD 10.2 amd64 (11.29 KB, text/plain)
2016-01-01 16:02 UTC, Neel Chauhan
no flags Details
Poudriere build log for misc/tqdm on FreeBSD 9.3 amd64 (11.43 KB, text/plain)
2016-01-01 16:02 UTC, Neel Chauhan
no flags Details
shar file for misc/py-tqdm (1.30 KB, text/plain)
2016-01-01 17:03 UTC, Neel Chauhan
no flags Details
Updated shar file for misc/py-tqdm (1.30 KB, text/plain)
2016-01-01 17:05 UTC, Neel Chauhan
no flags Details
Updated shar file for misc/py-tqdm with working distfiles (1.32 KB, text/plain)
2016-01-02 07:28 UTC, Neel Chauhan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neel Chauhan freebsd_committer freebsd_triage 2016-01-01 16:01:49 UTC
Created attachment 164931 [details]
shar file for misc/tqdm

A fast, extensible progress bar for Python.

WWW: https://www.github.com/tqdm/tqdm
Comment 1 Neel Chauhan freebsd_committer freebsd_triage 2016-01-01 16:02:11 UTC
Created attachment 164932 [details]
Poudriere build log for misc/tqdm on FreeBSD 10.2 amd64
Comment 2 Neel Chauhan freebsd_committer freebsd_triage 2016-01-01 16:02:37 UTC
Created attachment 164933 [details]
Poudriere build log for misc/tqdm on FreeBSD 9.3 amd64
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2016-01-01 16:16:16 UTC
@Neel, this needs a py- prefix (dir and PYTHON_PKGNAMEPREFIX), and the leading "A " removed from COMMENT :)

https://pypi.python.org/pypi/tqdm
Comment 4 Neel Chauhan freebsd_committer freebsd_triage 2016-01-01 17:03:03 UTC
Created attachment 164935 [details]
shar file for misc/py-tqdm
Comment 5 Neel Chauhan freebsd_committer freebsd_triage 2016-01-01 17:04:18 UTC
Comment on attachment 164935 [details]
shar file for misc/py-tqdm

># This is a shell archive.  Save it in a file, remove anything before
># this line, and then unpack it by entering "sh file".  Note, it may
># create directories; files and directories will be owned by you and
># have default permissions.
>#
># This archive contains:
>#
>#	py-tqdm
>#	py-tqdm/pkg-descr
>#	py-tqdm/Makefile
>#	py-tqdm/distinfo
>#
>echo c - py-tqdm
>mkdir -p py-tqdm > /dev/null 2>&1
>echo x - py-tqdm/pkg-descr
>sed 's/^X//' >py-tqdm/pkg-descr << 'cf530fdbf6b00895579236e233a6b002'
>XA fast, extensible progress bar for Python.
>X
>XWWW: https://www.github.com/tqdm/tqdm
>cf530fdbf6b00895579236e233a6b002
>echo x - py-tqdm/Makefile
>sed 's/^X//' >py-tqdm/Makefile << '54f84a3afbe1e5ae2d2d0b6b6ff3e384'
>X# $FreeBSD$
>X
>XPORTNAME=	py-tqdm
>XPORTVERSION=	3.6.0
>XDISTVERSIONPREFIX=	v
>XCATEGORIES=	misc
>X
>XMAINTAINER=	neel@neelc.org
>XCOMMENT=	Fast, extensible progress bar for Python
>X
>XLICENSE=	MIT
>X
>XUSE_GITHUB=	yes
>XGH_ACCOUNT=	tqdm
>X
>XUSES=		python
>XUSE_PYTHON=	autoplist distutils
>XNO_ARCH=	yes
>X
>X.include <bsd.port.mk>
>54f84a3afbe1e5ae2d2d0b6b6ff3e384
>echo x - py-tqdm/distinfo
>sed 's/^X//' >py-tqdm/distinfo << '56ed6b659af8858d27d551809dd3a904'
>XSHA256 (tqdm-tqdm-v3.6.0_GH0.tar.gz) = e3b96acc1576b54bab7a28cf540a6df13cc32ef67a29e752ed6ddde396b71bd6
>XSIZE (tqdm-tqdm-v3.6.0_GH0.tar.gz) = 457878
>56ed6b659af8858d27d551809dd3a904
>exit
>
Comment 6 Neel Chauhan freebsd_committer freebsd_triage 2016-01-01 17:05:33 UTC
Created attachment 164936 [details]
Updated shar file for misc/py-tqdm

Disregard my last two posts. Made the changes.
-Neel
Comment 7 Kubilay Kocak freebsd_committer freebsd_triage 2016-01-01 17:09:25 UTC
Thank you!
Comment 8 Martin Wilke freebsd_committer freebsd_triage 2016-01-02 05:00:41 UTC
Hi,

It fails for me to fetch, can you please check on that :). 
Thanks in advance.

make makesum
===>  License MIT accepted by the user
===>   py-tqdm-3.6.0 depends on file: /usr/local/sbin/pkg - found
=> tqdm-py-tqdm-v3.6.0_GH0.tar.gz doesn't seem to exist in /usr/home/distfiles/.
=> Attempting to fetch https://codeload.github.com/tqdm/py-tqdm/tar.gz/v3.6.0?dummy=/tqdm-py-tqdm-v3.6.0_GH0.tar.gz
fetch: https://codeload.github.com/tqdm/py-tqdm/tar.gz/v3.6.0?dummy=/tqdm-py-tqdm-v3.6.0_GH0.tar.gz: Not Found
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/tqdm-py-tqdm-v3.6.0_GH0.tar.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/tqdm-py-tqdm-v3.6.0_GH0.tar.gz: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/home/distfiles/ and try again.
*** Error code 1
Comment 9 Kubilay Kocak freebsd_committer freebsd_triage 2016-01-02 05:59:17 UTC
@Martin / @Neel

PORTNAME needs to be tqdm, not py-tqdm, with PKGNAMEPREFIX set to ${PYTHON_PKGNAMEPREFIX}
Comment 10 Neel Chauhan freebsd_committer freebsd_triage 2016-01-02 07:28:34 UTC
Created attachment 164945 [details]
Updated shar file for misc/py-tqdm with working distfiles
Comment 11 commit-hook freebsd_committer freebsd_triage 2016-01-10 06:16:42 UTC
A commit references this bug:

Author: miwi
Date: Sun Jan 10 06:16:32 UTC 2016
New revision: 405669
URL: https://svnweb.freebsd.org/changeset/ports/405669

Log:
  Simple Python Progress Meter

  WWW: https://www.github.com/tqdm/tqdm

  PR:		205783
  Submitted by:	neel@neelc.org

Changes:
  head/misc/Makefile
  head/misc/py-tqdm/
  head/misc/py-tqdm/Makefile
  head/misc/py-tqdm/distinfo
  head/misc/py-tqdm/pkg-descr