summaryrefslogtreecommitdiff
path: root/manualPorts/python-rfc6555/Pkgfile
blob: 3ede557bfd29ae2761cf96539fc13f69f36050fa (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.1.0
_distdir=${name#*-}-${version}
release=1
source=(https://files.pythonhosted.org/packages/f6/4b/24f953c3682c134e4d0f83c7be5ede44c6c653f7d2c0b06ebb3b117f005a/${_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"
}