void-packages/srcpkgs/python-lockfile/template

35 lines
929 B
Plaintext
Raw Normal View History

2013-10-02 18:07:31 +02:00
# Template file for 'python-lockfile'
pkgname=python-lockfile
2014-10-05 12:59:00 +02:00
version=0.10.2
revision=1
noarch=yes
2013-10-02 18:07:31 +02:00
wrksrc="lockfile-${version}"
build_style=python-module
2014-06-19 07:52:40 +02:00
python_versions="2.7 3.4"
2014-10-05 12:59:00 +02:00
hostmakedepends="python-setuptools python3.4-setuptools python-pbr python3.4-pbr"
2014-06-19 07:52:40 +02:00
makedepends="${hostmakedepends}"
depends="python"
pycompile_module="lockfile"
short_desc="Platform-independent file locking module (Python2)"
2013-10-02 18:07:31 +02:00
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://github.com/smontanaro/pylockfile/"
2013-10-02 18:07:31 +02:00
license="MIT"
2014-10-05 12:59:00 +02:00
distfiles="${PYPI_SITE}/l/lockfile/lockfile-${version}.tar.gz"
checksum=9e42252f17d1dd89ee31745e0c4fbe58862c25147eb0ef5295c9cd9bcb4ea2c1
2014-06-19 07:52:40 +02:00
post_install() {
2014-10-05 12:59:00 +02:00
vlicense LICENSE
}
2014-06-19 07:52:40 +02:00
python3.4-lockfile_package() {
noarch=yes
2014-06-19 07:52:40 +02:00
pycompile_version="3.4"
pycompile_module="lockfile"
depends="python3.4"
short_desc="${short_desc/Python2/Python3.4}"
2014-06-19 07:52:40 +02:00
pkg_install() {
vmove usr/lib/python3.4
2014-10-05 12:59:00 +02:00
vlicense ${wrksrc}/LICENSE
2014-06-19 07:52:40 +02:00
}
}