1
0
forked from ports/contrib

16 lines
483 B
Plaintext
Raw Normal View History

2017-11-05 18:35:55 +11: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: python3-setuptools
name=python3-hyperlink
2021-01-27 22:52:07 +00:00
version=21.0.0
2017-11-05 18:35:55 +11:00
release=1
2017-11-05 19:32:37 +11:00
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
2017-11-05 18:35:55 +11:00
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
}