diff options
author | Erich Eckner <git@eckner.net> | 2019-09-08 20:28:50 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-09-08 20:35:05 +0200 |
commit | 23e795098fefa430f269ac3ae6902987ffa0feaf (patch) | |
tree | 4aeb883c6935683d149ab0bb91032d9ba8ea0787 /manualPorts/python-rfc6555/Pkgfile | |
parent | 7fb1e07499e99a3494f7b6a50bd8693cd12f2d2a (diff) | |
download | crux-ports-23e795098fefa430f269ac3ae6902987ffa0feaf.tar.xz |
python-rfc6555 neu
Diffstat (limited to 'manualPorts/python-rfc6555/Pkgfile')
-rw-r--r-- | manualPorts/python-rfc6555/Pkgfile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/manualPorts/python-rfc6555/Pkgfile b/manualPorts/python-rfc6555/Pkgfile new file mode 100644 index 0000000..1837310 --- /dev/null +++ b/manualPorts/python-rfc6555/Pkgfile @@ -0,0 +1,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" +} |