Package Details: python2-commando 0.3.4-1

Git Clone URL: https://aur.archlinux.org/python2-commando.git (read-only)
Package Base: python2-commando
Description: A declarative interface for argparse
Upstream URL: http://github.com/lakshmivyas/commando
Licenses: MIT
Submitter: axil42
Maintainer: axil42
Last Packager: axil42
Votes: 10
Popularity: 0.000000
First Submitted: 2011-06-18 14:03
Last Updated: 2015-06-09 23:14

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

ChrisMorgan commented on 2018-07-11 02:39

Actually, stock 0.3.4 is simply not installable because it uses distribute configured with HTTP URLs of its own.

This can be fixed with one more sed in prepare:

sed -i 's|http://|https://|' distribute_setup.py

Alternatively, upgrade from 0.3.4 to 1.0.0; the changes listed in the changelog are just code formatting, CI, Python 3 support and moving from distribute to setuptools.

ChrisMorgan commented on 2018-07-11 02:32

PyPI is now rejecting attempts to download with curl via HTTP instead of HTTPS with code 403. The URL in the sources therefore needs “http” changed to “https”.

axil42 commented on 2013-09-15 14:01

Updated, sorry for taking so long. I hadn't noticed Leryan's comment.

Leryan commented on 2013-08-15 18:53

0.3.4 out.

# Maintainer: Axilleas P <markelos archlinux gr>

pkgname=python2-commando
pkgver=0.3.4
pkgrel=1
pkgdesc="A declarative interface for argparse"
arch=('any')
url='http://github.com/lakshmivyas/commando'
license=('MIT')
makedepends=('python2' 'python2-distribute')
source=("http://pypi.python.org/packages/source/c/commando/commando-$pkgver.tar.gz")
md5sums=('33c6ec2e7de6d24584fb08cc61029fc9')


build() {
cd "${srcdir}"/commando-"$pkgver"

sed -i 's|#!python|#!/usr/bin/env python2|' distribute_setup.py

python2 setup.py install --root="${pkgdir}" -O1
}