diff --git a/srcpkgs/python-lockfile/template b/srcpkgs/python-lockfile/template index b25b0febd8a..b8ec24b4c3d 100644 --- a/srcpkgs/python-lockfile/template +++ b/srcpkgs/python-lockfile/template @@ -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 + } +} diff --git a/srcpkgs/python3.4-lockfile b/srcpkgs/python3.4-lockfile new file mode 120000 index 00000000000..3a54cd60526 --- /dev/null +++ b/srcpkgs/python3.4-lockfile @@ -0,0 +1 @@ +python-lockfile \ No newline at end of file