diff options
Diffstat (limited to 'python3-constantly/Pkgfile')
-rw-r--r-- | python3-constantly/Pkgfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/python3-constantly/Pkgfile b/python3-constantly/Pkgfile new file mode 100644 index 000000000..7e987157e --- /dev/null +++ b/python3-constantly/Pkgfile @@ -0,0 +1,15 @@ +# Description: Symbolic constants in Python +# URL: https://pypi.python.org/pypi/constantly +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: python3-setuptools + +name=python3-constantly +version=15.1.0 +release=1 +source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz) + +build() { + cd ${name#*-}-$version + /usr/bin/python3 setup.py build + /usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 +} |