27 lines
735 B
Bash
27 lines
735 B
Bash
|
# Template file for 'python-argh'
|
||
|
pkgname=python-argh
|
||
|
version=0.26.2
|
||
|
revision=1
|
||
|
noarch=yes
|
||
|
wrksrc="argh-${version}"
|
||
|
build_style=python-module
|
||
|
pycompile_module="argh"
|
||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||
|
depends="python"
|
||
|
short_desc="An unobtrusive argparse wrapper with natural syntax (Python2)"
|
||
|
maintainer="Maurizio Porrato <maurizio.porrato@gmail.com>"
|
||
|
homepage="http://github.com/neithere/argh/"
|
||
|
license="LGPL-3"
|
||
|
distfiles="${PYPI_SITE}/a/argh/argh-${version}.tar.gz"
|
||
|
checksum=e9535b8c84dc9571a48999094fda7f33e63c3f1b74f3e5f3ac0105a58405bb65
|
||
|
|
||
|
python3-argh_package() {
|
||
|
noarch=yes
|
||
|
pycompile_module="argh"
|
||
|
depends="python3"
|
||
|
short_desc="${short_desc/Python2/Python3}"
|
||
|
pkg_install() {
|
||
|
vmove usr/lib/python3*
|
||
|
}
|
||
|
}
|