void-packages/srcpkgs/python-lockfile/template
2015-11-30 23:26:32 +01:00

35 lines
924 B
Bash

# Template file for 'python-lockfile'
pkgname=python-lockfile
version=0.12.2
revision=1
noarch=yes
wrksrc="lockfile-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools python-pbr python3.4-pbr"
makedepends="python-pbr python3.4-pbr"
depends="python"
pycompile_module="lockfile"
short_desc="Platform-independent file locking module (Python2)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://pypi.python.org/pypi/lockfile"
license="MIT"
distfiles="${PYPI_SITE}/l/lockfile/lockfile-${version}.tar.gz"
checksum=6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799
post_install() {
vlicense LICENSE
}
python3.4-lockfile_package() {
noarch=yes
pycompile_version="3.4"
pycompile_module="lockfile"
depends="python3.4"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
vlicense LICENSE
}
}