diff options
author | Kelsey Maes | 2018-01-23 22:06:31 -0800 |
---|---|---|
committer | Kelsey Maes | 2018-01-23 22:06:31 -0800 |
commit | 0a4418fa1ea66a9228d157adb56ef4a84ddb8a53 (patch) | |
tree | 9325018bd8f4a3bba530952378e1e8432516f503 | |
download | aur-0a4418fa1ea66a9228d157adb56ef4a84ddb8a53.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e4b7f9143ab5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python-knack + pkgdesc = A Python command line interface framework + pkgver = 0.3.1 + pkgrel = 1 + url = https://github.com/Microsoft/knack + arch = any + license = MIT + makedepends = python-setuptools + source = https://github.com/Microsoft/knack/archive/0.3.1.tar.gz + md5sums = 5b207dfc864cf2830273ffeb3ae9469e + +pkgname = python-knack + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d50ccb902ce8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Kelsey Maes <kelseymaes at outlook dot com> + +_name=knack +pkgname=python-$_name +pkgver=0.3.1 +pkgrel=1 +pkgdesc="A Python command line interface framework" +arch=('any') +url="https://github.com/Microsoft/knack" +license=('MIT') +makedepends=('python-setuptools') +source=("https://github.com/Microsoft/knack/archive/${pkgver}.tar.gz") +md5sums=('5b207dfc864cf2830273ffeb3ae9469e') + +build() { + cd "$_name-$pkgver" + + python setup.py build; +} + +package() { + cd "$_name-$pkgver" + + python setup.py install --root="$pkgdir" --optimize=1 + +# rm "$pkgdir"/usr/lib/python3.?/site-packages/azure/__init__.py +# rm "$pkgdir"/usr/lib/python3.?/site-packages/azure/__pycache__/__init__.* +} |