opt/python3-six/Pkgfile

19 lines
480 B
Plaintext
Raw Normal View History

2017-02-04 07:51:17 +01: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 11:06:15 +01:00
# Depends on: python3-setuptools
2017-02-04 07:51:17 +01:00
name=python3-six
2021-05-10 17:07:26 +02:00
version=1.16.0
2019-11-10 10:02:13 +01:00
release=1
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
2017-02-04 07:51:17 +01:00
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
2017-02-04 07:51:17 +01:00
/usr/bin/python3 setup.py install \
--prefix=/usr --root=$PKG --optimize=1
2017-02-04 07:51:17 +01:00
}