summaryrefslogtreecommitdiff
path: root/manualPorts/python-rfc6555/Pkgfile
blob: 1837310e1147d73ed68e5550c88b34710c5c08ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Description: Python implementation of the Happy Eyeballs Algorithm
# URL:         http://pypi.org/project/rfc6555/
# Maintainer:  Erich Eckner, crux at eckner dot net
# Depends on: python python-selectors2

name=python-rfc6555
version=0.0.0
_distdir=${name#*-}-${version}
release=1
source=(https://files.pythonhosted.org/packages/58/a8/1dfba2db1f744657065562386069e547eefea9432d3f520d4af5b5fabd28/${_distdir}.tar.gz)

build() {
    cd ${_distdir}
    python setup.py build
    python setup.py install --root=${PKG} --optimize=1
    rm -rf --one-file-system "${PKG}/usr/lib/python2.7/site-packages/${_distdir}-py2.7.egg-info"
}