35 lines
924 B
Bash
35 lines
924 B
Bash
# Template file for 'python-lockfile'
|
|
pkgname=python-lockfile
|
|
version=0.11.0
|
|
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=eed7e0c829135aaaf2a9df83652bc6e2cc50175d933741c25aac0394674e7fd3
|
|
|
|
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
|
|
}
|
|
}
|