python-lockfile: added a 3.4 subpkg.

This commit is contained in:
Juan RP 2014-06-19 07:52:40 +02:00
parent 3c603c7053
commit 4be61d8a13
2 changed files with 16 additions and 3 deletions

View File

@ -2,10 +2,12 @@
pkgname=python-lockfile
version=0.9.1
wrksrc="lockfile-${version}"
revision=1
revision=2
build_style=python-module
makedepends="python"
depends="${makedepends}"
python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel"
makedepends="${hostmakedepends}"
depends="python"
noarch="yes"
pycompile_module="lockfile"
short_desc="Platform-independent file locking module for python"
@ -14,3 +16,13 @@ homepage="http://code.google.com/p/pylockfile/"
license="MIT"
distfiles="https://pypi.python.org/packages/source/l/lockfile/lockfile-${version}.tar.gz"
checksum=23da589c91f59cb7c644d5ce5df539d448341bd479917d6dde973f82e2719147
python3.4-lockfile_package() {
noarch="yes"
pycompile_version="3.4"
pycompile_module="lockfile"
depends="python3.4"
pkg_install() {
vmove usr/lib/python3.4
}
}

1
srcpkgs/python3.4-lockfile Symbolic link
View File

@ -0,0 +1 @@
python-lockfile