mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
Merge pull request #3278 from radare/python-docopt
Add python-docopt package
This commit is contained in:
commit
e0c8f8e2f9
2 changed files with 33 additions and 0 deletions
32
srcpkgs/python-docopt/template
Normal file
32
srcpkgs/python-docopt/template
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Template file for 'python-docopt'
|
||||||
|
pkgname=python-docopt
|
||||||
|
version=0.6.2
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="docopt-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
python_versions="2.7 3.4"
|
||||||
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
|
depends="python"
|
||||||
|
pycompile_module="docopt"
|
||||||
|
short_desc="Pythonic argument parser, that will make you smile"
|
||||||
|
maintainer="Sergi Alvarez <pancake@nopcode.org>"
|
||||||
|
homepage="http://docopt.org/"
|
||||||
|
license="MIT"
|
||||||
|
distfiles="${PYPI_SITE}/d/docopt/docopt-${version}.tar.gz"
|
||||||
|
checksum=49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE-MIT
|
||||||
|
}
|
||||||
|
|
||||||
|
python3.4-docopt_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3.4"
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="docopt"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
vlicense LICENSE-MIT
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-docopt
Symbolic link
1
srcpkgs/python3.4-docopt
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-docopt
|
Loading…
Add table
Reference in a new issue