FreshPorts -- The Place For Ports notbugIf you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

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
Maintainer: dvl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 04 Sep 2015 17:18:28
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 : PortsMon
    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.

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

PKGNAME: py27-pytimeparse

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
There are no ports dependent upon this port

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, SuperNews, 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
mariadb100-serverJan 19
mariadb101-serverJan 19
mariadb102-serverJan 19
mariadb55-serverJan 19
mysql55-serverJan 19
mysql56-serverJan 19
mysql57-serverJan 19
percona55-serverJan 19
percona56-serverJan 19
percona57-serverJan 19
phpbb3Jan 19
unboundJan 19
wordpressJan 19
wordpressJan 19
wordpressJan 19

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

* - modified, not new

All vulnerabilities

Last updated:
2018-01-19 16:44:07


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 32662
Broken 129
Deprecated 97
Ignore 369
Forbidden 0
Restricted 172
No CDROM 77
Vulnerable 46
Expired 8
Set to expire 88
Interactive 0
new 24 hours 4
new 48 hours15
new 7 days734
new fortnight1442
new month2037

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