contrib/python-hyperlink/Pkgfile

16 lines
479 B
Plaintext
Raw Normal View History

2017-11-05 08:34:56 +01:00
# Description: A featureful, correct URL for Python.
# URL: https://pypi.python.org/pypi/hyperlink
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python-setuptools
name=python-hyperlink
2019-05-23 14:56:27 +02:00
version=19.0.0
2017-11-05 08:34:56 +01:00
release=1
source=(https://files.pythonhosted.org/packages/source/${name:7:1}/${name#*-}/${name#*-}-$version.tar.gz)
build() {
cd ${name#*-}-$version
/usr/bin/python setup.py build
/usr/bin/python setup.py install --prefix=/usr --root=$PKG --optimize=1
}