blob: 89fb4db90b64097ebb51e1e1bd6146c0cf19ecd4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Description: Backported, durable, and portable selectors designed to replace the standard library selectors module
# URL: http://pypi.org/project/selectors2/
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: python
name=python-selectors2
version=2.0.2
_distdir=${name#*-}-${version}
release=1
source=(https://files.pythonhosted.org/packages/86/72/27ccb21c1ff9fa87e1ba45e38045722b4eff345ba61760224793560638f4/${_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"
}
|