source: trunk/dports/python/py-bitarray/Portfile

Last change on this file was 148976, checked in by raimue@…, 18 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7set _name           bitarray
8set _n              [string index ${_name} 0]
9
10name                py-${_name}
11version             0.8.1
12categories-append   math
13platforms           darwin
14
15maintainers         petr openmaintainer
16
17license             PSF
18
19description         A efficient implementation of arrays of booleans
20
21long_description    \
22    This module provides an object type which efficiently represents an array \
23    of booleans. Bitarrays are sequence types and behave very much like usual \
24    lists. Eight bits are represented by one byte in a contiguous block of \
25    memory. The user can select between two representations: little-endian \
26    and big-endian. Most of the functionality is implemented in C. \
27    Methods for accessing the machine representation are provided.
28
29homepage            https://github.com/ilanschnell/${_name}
30
31distname            ${_name}-${version}
32master_sites        pypi:${_n}/${_name}/
33
34checksums           md5     3825184f54f4d93508a28031b4c65d3b \
35                    rmd160  58c2a2665c2759f23bf1ab096de8c34bf7fcfcbb \
36                    sha256  7da501356e48a83c61f479393681c1bc4b94e5a34ace7e08cb29e7dd9290ab18
37
38python.versions     27 34 35
39
40livecheck.type      none
41
42if {${name} ne ${subport}} {
43    depends_build         port:py${python.version}-setuptools
44} else {
45    livecheck.type      regex
46    livecheck.url   https://pypi.python.org/pypi/${_name}/json
47    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
48}
Note: See TracBrowser for help on using the repository browser.