notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
py-pytimeparse Small Python module to parse various kinds of time expressions
1.1.5 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
1.1.5Version of this port present on the latest quarterly branch.
Maintainer: dvl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2015-09-04 17:18:28
Last Update: 2016-10-28 17:00:45
SVN Revision: 424861
Also Listed In: python
License: MIT
The single function pytimeparse.timeparse.timeparse, defined in the library,
(also available as pytimeparse.parse) parses time expressions like the following:

32m
2h32m
3d2h32m
1w3d2h32m

...

It returns the time as a number of seconds (an integer value if possible, otherwise a floating-point number):

>>> from pytimeparse import parse
>>> parse('1.2 minutes')
72

WWW: https://github.com/wroberts/pytimeparse
SVNWeb : Homepage
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (3 items)
  1. /usr/local/share/licenses/py27-pytimeparse-1.1.5/catalog.mk
  2. /usr/local/share/licenses/py27-pytimeparse-1.1.5/LICENSE
  3. /usr/local/share/licenses/py27-pytimeparse-1.1.5/MIT
  4. Collapse this list.
Dependency lines:
  • py27-pytimeparse>0:devel/py-pytimeparse

To install the port: cd /usr/ports/devel/py-pytimeparse/ && make install clean
To add the package: pkg install py27-pytimeparse

PKGNAME: py27-pytimeparse

There is no flavor information for this port.

distinfo:

SHA256 (pytimeparse-1.1.5.tar.gz) = 9addbd29ae638e610a78a3cb50371f2091938de89c1ab61fa9cde7556a18b207
SIZE (pytimeparse-1.1.5.tar.gz) = 9245


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. py27-setuptools>0 : devel/py27-setuptools
  2. python2.7 : lang/python27
Runtime dependencies:
  1. py27-setuptools>0 : devel/py27-setuptools
  2. python2.7 : lang/python27

This port is required by:

for Run
Configuration Options
     No options to configure

USES:
python

Master Sites:
  1. https://files.pythonhosted.org/packages/source/p/pytimeparse/
  2. https://pypi.python.org/packages/source/p/pytimeparse/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-11-30
    Affects: */py*
    Author: mat@FreeBSD.org
    Reason: 
      Ports using Python via USES=python are now flavored.  All the py3-* ports
      have been removed and folded into their py-* master ports.
    
      People using Poudriere 3.2+ and binary packages do not have to do anything.
    
      For other people, to build the Python 3.6 version of, for example,
      databases/py-gdbm, you need to run:
    
        # make FLAVOR=py36 install
    
    

Number of commits found: 2

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
28 Oct 2016 16:00:45
Original commit files touched by this commit  1.1.5
Revision:424861
danfe search for other commits by this committer
- Remove trailing dot in COMMENT and/or reword it accordingly
- Prefer standard option descriptions, and trim one long line
04 Sep 2015 17:18:21
Original commit files touched by this commit  1.1.5
Revision:396120
dvl search for other commits by this committer
Add devel/pytimespare, a small Python module for small Python module to parse
various kinds of time expressions.

Approved by: wg (mentor)

Number of commits found: 2

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
chromiumJun 15
neovimJun 13
phpmyadminJun 13
vimJun 13
vim-consoleJun 13
vim-tinyJun 13
mybbJun 12
linux-flashplayerJun 11
drupal7Jun 08
eximJun 06
py-django111Jun 06
py-django21Jun 06
py-django22Jun 06
ImageMagick7*Jun 04
ImageMagick7-nox11*Jun 04

11 vulnerabilities affecting 77 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-06-15 15:07:33


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 36688
Broken 83
Deprecated 124
Ignore 304
Forbidden 3
Restricted 163
No CDROM 74
Vulnerable 33
Expired 19
Set to expire 95
Interactive 0
new 24 hours 8
new 48 hours14
new 7 days44
new fortnight58
new month202

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.