diff options
author | Butui Hu | 2019-11-18 17:10:22 +0800 |
---|---|---|
committer | Butui Hu | 2019-11-18 17:10:22 +0800 |
commit | b554abfbb2631bfa91cd9f216effcce56fe033ca (patch) | |
tree | 1dc7d29b5959af60456b1ae11b6c2dd6cf46c263 | |
download | aur-b554abfbb2631bfa91cd9f216effcce56fe033ca.tar.gz |
add python-fastprogress
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ca88f905b22b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python-fastprogress + pkgdesc = Simple and flexible progress bar for Jupyter Notebook and console + pkgver = 0.1.21 + pkgrel = 1 + url = https://github.com/dstathis/fastprocess + arch = any + license = Apache + makedepends = python-setuptools + source = https://github.com/fastai/fastprogress/archive/0.1.21.tar.gz + sha512sums = 3679629dfe0f64ba3b51ff28b184883e915651f862b06c0494a0956f4fe42110e7e5702d5ea74d99a1a24c0082e90b598ef340c8f960ecde4fb06cb501939bae + +pkgname = python-fastprogress + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3ebb1ffc2579 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Butui Hu <hot123tea123@gmail.com> + +pkgname=python-fastprogress +_pkgname=fastprogress +pkgver=0.1.21 +pkgrel=1 +pkgdesc='Simple and flexible progress bar for Jupyter Notebook and console' +arch=('any') +url='https://github.com/dstathis/fastprocess' +license=('Apache') +makedepends=( + 'python-setuptools' +) +source=("https://github.com/fastai/fastprogress/archive/${pkgver}.tar.gz") +sha512sums=('3679629dfe0f64ba3b51ff28b184883e915651f862b06c0494a0956f4fe42110e7e5702d5ea74d99a1a24c0082e90b598ef340c8f960ecde4fb06cb501939bae') + +build() { + cd "${_pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${_pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} +# vim:set ts=2 sw=2 et: |