32 lines
873 B
Bash
32 lines
873 B
Bash
# Template file for 'python-atomicwrites'
|
|
pkgname=python-atomicwrites
|
|
version=1.0.0
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="atomicwrites-${version}"
|
|
build_style="python-module"
|
|
python_versions="2.7 3.4"
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
depends="python"
|
|
pycompile_module="atomicwrites"
|
|
short_desc="Simple Python2 API for atomic file writes"
|
|
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
|
license="MIT"
|
|
homepage="https://pypi.python.org/pypi/atomicwrites/"
|
|
distfiles="${PYPI_SITE}/a/atomicwrites/atomicwrites-${version}.tar.gz"
|
|
checksum=1b977e9a6cbf8ae36a4e259e6da28d98fda6ab81cbf9634258eee0700e512e05
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3.4-atomicwrites_package() {
|
|
noarch=yes
|
|
pycompile_version="3.4"
|
|
pycompile_module="atomicwrites"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
vlicense LICENSE
|
|
}
|
|
}
|