diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2017-11-05 18:34:56 +1100 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2017-11-05 18:34:56 +1100 |
commit | 61cc82a4a1973b09612666be60a7cd7af59e64e6 (patch) | |
tree | 5418883790f2eb73aafba28a142515988ef8ff2a /python-hyperlink/Pkgfile | |
parent | 56a9435107e9d93b671d288cdac63336b33adc21 (diff) | |
download | contrib-61cc82a4a1973b09612666be60a7cd7af59e64e6.tar.gz contrib-61cc82a4a1973b09612666be60a7cd7af59e64e6.tar.xz |
python-hyperlink: initial import
Diffstat (limited to 'python-hyperlink/Pkgfile')
-rw-r--r-- | python-hyperlink/Pkgfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/python-hyperlink/Pkgfile b/python-hyperlink/Pkgfile new file mode 100644 index 000000000..b87160988 --- /dev/null +++ b/python-hyperlink/Pkgfile @@ -0,0 +1,15 @@ +# 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 +version=17.3.1 +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 +} |