2017-02-04 17:51:17 +11:00
|
|
|
# Description: Python 2 and 3 compatibility utilities.
|
|
|
|
# URL: https://pypi.python.org/pypi/six/
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2020-02-05 21:06:15 +11:00
|
|
|
# Depends on: python3-setuptools
|
2017-02-04 17:51:17 +11:00
|
|
|
|
|
|
|
name=python3-six
|
2021-05-11 01:07:26 +10:00
|
|
|
version=1.16.0
|
2019-11-10 20:02:13 +11:00
|
|
|
release=1
|
2018-07-02 07:36:54 +10:00
|
|
|
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
|
2017-02-04 17:51:17 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${name#*-}-$version
|
|
|
|
|
2018-07-02 07:36:54 +10:00
|
|
|
/usr/bin/python3 setup.py build
|
2017-02-04 17:51:17 +11:00
|
|
|
|
2018-07-02 07:36:54 +10:00
|
|
|
/usr/bin/python3 setup.py install \
|
|
|
|
--prefix=/usr --root=$PKG --optimize=1
|
2017-02-04 17:51:17 +11:00
|
|
|
}
|