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

We also have a status page: https://freshports.wordpress.com/

Port details
py-bitmath Represent and manipulate file sizes with different prefix notations
1.2.3 math 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: wg@FreeBSD.org search for ports maintained by this maintainer
Port Added: 14 Jul 2015 19:55:05
Also Listed In: python
License: MIT
bitmath simplifies many facets of interacting with file sizes in various units.
Functionality includes:

- Converting between SI and NIST prefix units (kB to GiB)
- Converting between units of the same type (SI to SI, or NIST to NIST)
- Automatic human-readable prefix selection (like in hurry.filesize)
- Basic arithmetic operations (subtracting 42KiB from 50GiB)
- Rich comparison operations (1024 Bytes == 1KiB)
- bitwise operations (<<, >>, &, |, ^)
- argparse integration
- progressbar integration
- String parsing
- Sorting

WWW: https://github.com/tbielawa/bitmath
SVNWeb : Homepage : PortsMon
There is no configure plist information for this port

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

PKGNAME: py27-bitmath

distinfo:

SHA256 (bitmath-1.2.3-4.tar.gz) = 09fd3697dd0f0bbfd7de1c8821f739d6f4cf0cb854b3314779bcbd3ec9c90ed8
SIZE (bitmath-1.2.3-4.tar.gz) = 50745


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

Build dependencies:
  1. py27-setuptools>0 : devel/py-setuptools@py27
  2. python2.7 : lang/python27
  3. python2 : lang/python2
Runtime dependencies:
  1. py27-progressbar231>0 : misc/py-progressbar231@py27
  2. py27-setuptools>0 : devel/py-setuptools@py27
  3. python2.7 : lang/python27
  4. python2 : lang/python2
There are no ports dependent upon this port

Configuration Options
     No options to configure

USES:
python:2

Master Sites:
  1. https://files.pythonhosted.org/packages/source/b/bitmath/
  2. https://pypi.python.org/packages/source/b/bitmath/
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: 4

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
30 Nov 2017 15:50:34
Original commit files touched by this commit  1.2.3
Revision:455210  Sanity Test Failure
mat search for other commits by this committer
Convert Python ports to FLAVORS.

  Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
23 May 2016 18:36:52
Original commit files touched by this commit  1.2.3
Revision:415738
amdmi3 search for other commits by this committer
Convert tab after WWW: in pkg-descrs to single space as per PHB

Approved by:	portmgr blanket
01 Apr 2016 14:16:20
Original commit files touched by this commit  1.2.3
Revision:412348
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
14 Jul 2015 19:53:39
Original commit files touched by this commit  1.2.3
Revision:392067
wg search for other commits by this committer
math/py-bitmath: Represent and manipulate file sizes with different prefix
notations

bitmath simplifies many facets of interacting with file sizes in various units.
Functionality includes:

- Converting between SI and NIST prefix units (kB to GiB)
- Converting between units of the same type (SI to SI, or NIST to NIST)
- Automatic human-readable prefix selection (like in hurry.filesize)
- Basic arithmetic operations (subtracting 42KiB from 50GiB)
- Rich comparison operations (1024 Bytes == 1KiB)
- bitwise operations (<<, >>, &, |, ^)
- argparse integration
- progressbar integration
- String parsing
- Sorting

WWW:	https://github.com/tbielawa/bitmath

Number of commits found: 4

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
libXcursorDec 17
libXfont2Dec 17
libXfont2Dec 17
globalDec 16
jenkinsDec 15
jenkins-ltsDec 15
gitlabDec 14
nodeDec 14
node4Dec 14
node6Dec 14
node8Dec 14
torDec 14
asterisk13Dec 13
asterisk13*Dec 13
asterisk13*Dec 13

18 vulnerabilities affecting 90 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2017-12-17 18:50:28


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 32142
Broken 124
Deprecated 48
Ignore 360
Forbidden 0
Restricted 173
No CDROM 77
Vulnerable 41
Expired 10
Set to expire 40
Interactive 0
new 24 hours 4
new 48 hours13
new 7 days35
new fortnight110
new month42953

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