diff options
author | Andy Weidenbaum | 2015-06-09 11:41:58 -0700 |
---|---|---|
committer | Andy Weidenbaum | 2015-06-09 11:41:58 -0700 |
commit | 4bb7090e87276304ddc30215cf4f533aa4904902 (patch) | |
tree | dce8d12de3093a5b9689390e8b44ca7acd6f89fd | |
download | aur-python2-commandr.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5fe647efdcb0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python2-commandr + pkgdesc = Simple tool for making Python functions accessible from the command line + pkgver = 1.3.2 + pkgrel = 1 + url = https://github.com/tellapart/commandr + arch = any + license = Apache + makedepends = python2-setuptools + depends = python2 + options = !emptydirs + source = https://pypi.python.org/packages/source/c/commandr/commandr-1.3.2.tar.gz + md5sums = 418bc979bd68fcd39f0287a4d2b95ee9 + sha256sums = 2bf0117512a9b2c0866bd26a66234658c960459775bbb7d8e3ff3190dd862f06 + +pkgname = python2-commandr + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ccabc6c8fda2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Andy Weidenbaum <archbaum@gmail.com> + +pkgname=python2-commandr +pkgver=1.3.2 +pkgrel=1 +pkgdesc="Simple tool for making Python functions accessible from the command line" +arch=('any') +depends=('python2') +makedepends=('python2-setuptools') +url="https://github.com/tellapart/commandr" +license=('Apache') +options=(!emptydirs) +source=(https://pypi.python.org/packages/source/c/${pkgname#python2-}/${pkgname#python2-}-$pkgver.tar.gz) +md5sums=('418bc979bd68fcd39f0287a4d2b95ee9') +sha256sums=('2bf0117512a9b2c0866bd26a66234658c960459775bbb7d8e3ff3190dd862f06') + +package() { + cd $srcdir/${pkgname#python2-}-$pkgver + + msg 'Installing...' + python2 setup.py install --root="$pkgdir" --optimize=1 +} |