diff --git a/srcpkgs/python-lockfile/template b/srcpkgs/python-lockfile/template
index 3462158349..98a1a1a76e 100644
--- a/srcpkgs/python-lockfile/template
+++ b/srcpkgs/python-lockfile/template
@@ -1,12 +1,12 @@
 # Template file for 'python-lockfile'
 pkgname=python-lockfile
-version=0.9.1
-revision=3
+version=0.10.2
+revision=1
 noarch=yes
 wrksrc="lockfile-${version}"
 build_style=python-module
 python_versions="2.7 3.4"
-hostmakedepends="python-devel python3.4-devel"
+hostmakedepends="python-setuptools python3.4-setuptools python-pbr python3.4-pbr"
 makedepends="${hostmakedepends}"
 depends="python"
 pycompile_module="lockfile"
@@ -14,11 +14,11 @@ short_desc="Platform-independent file locking module (Python2)"
 maintainer="Juan RP <xtraeme@gmail.com>"
 homepage="https://github.com/smontanaro/pylockfile/"
 license="MIT"
-distfiles="https://pypi.python.org/packages/source/l/lockfile/lockfile-${version}.tar.gz"
-checksum=23da589c91f59cb7c644d5ce5df539d448341bd479917d6dde973f82e2719147
+distfiles="${PYPI_SITE}/l/lockfile/lockfile-${version}.tar.gz"
+checksum=9e42252f17d1dd89ee31745e0c4fbe58862c25147eb0ef5295c9cd9bcb4ea2c1
 
 post_install() {
-	vinstall LICENSE 644 usr/share/licenses/${pkgname}
+	vlicense LICENSE
 }
 
 python3.4-lockfile_package() {
@@ -29,6 +29,6 @@ python3.4-lockfile_package() {
 	short_desc="${short_desc/Python2/Python3.4}"
 	pkg_install() {
 		vmove usr/lib/python3.4
-		vinstall ${wrksrc}/LICENSE 644 usr/share/licenses/${pkgname}
+		vlicense ${wrksrc}/LICENSE
 	}
 }